source: asp3_wo_tecs/trunk/target/blueninja_gcc/RTE.patch@ 302

Last change on this file since 302 was 302, checked in by ertl-honda, 7 years ago

TECSレスのASP3の開発のため以下のtrunkからコピー
http://dev.toppers.jp/svn/asp3/branches/WO_TECS-3.C.0

File size: 2.7 KB
  • RTE_Device.h

    old new  
    8787#define RTE_GPIO_9_ID 1
    8888#define RTE_GPIO_10_ID 1
    8989#define RTE_GPIO_11_ID 1
    90 #define RTE_GPIO_12_ID 1
    91 #define RTE_GPIO_13_ID 1
    92 #define RTE_GPIO_14_ID 1
    93 #define RTE_GPIO_15_ID 1
    94 #define RTE_GPIO_16_ID 0
    95 #define RTE_GPIO_17_ID 0
    96 #define RTE_GPIO_18_ID 0
    97 #define RTE_GPIO_19_ID 0
    98 #define RTE_GPIO_20_ID 0
    99 #define RTE_GPIO_21_ID 0
    100 #define RTE_GPIO_22_ID 0
    101 #define RTE_GPIO_23_ID 0
    102 #define RTE_GPIO_24_ID 1
    103 #define RTE_GPIO_25_ID 1
    104 #define RTE_GPIO_26_ID 1
    105 #define RTE_GPIO_27_ID 1
     90#define RTE_GPIO_12_ID 0
     91#define RTE_GPIO_13_ID 0
     92#define RTE_GPIO_14_ID 0
     93#define RTE_GPIO_15_ID 0
     94#define RTE_GPIO_16_ID 1
     95#define RTE_GPIO_17_ID 1
     96#define RTE_GPIO_18_ID 2
     97#define RTE_GPIO_19_ID 2
     98#define RTE_GPIO_20_ID 1
     99#define RTE_GPIO_21_ID 1
     100#define RTE_GPIO_22_ID 2
     101#define RTE_GPIO_23_ID 2
     102#define RTE_GPIO_24_ID 0
     103#define RTE_GPIO_25_ID 0
     104#define RTE_GPIO_26_ID 0
     105#define RTE_GPIO_27_ID 0
    106106#define RTE_GPIO_28_ID 1
    107107#define RTE_GPIO_29_ID 1
    108108#define RTE_GPIO_30_ID 1
     
    283283//   <o8> DMA Channel <0-7>
    284284//   <o9> Handshake Channel <0-7>
    285285//  </e>
    286 #define RTE_SPI3 0
     286#define RTE_SPI3 1
    287287#if RTE_SPI3
    288 #define RTE_SPIM3_CS_N_ID 1
    289 #define RTE_SPIM3_CLK_ID 1
    290 #define RTE_SPIM3_MOSI_ID 1
    291 #define RTE_SPIM3_MISO_ID 1
     288#define RTE_SPIM3_CS_N_ID 2
     289#define RTE_SPIM3_CLK_ID 2
     290#define RTE_SPIM3_MOSI_ID 2
     291#define RTE_SPIM3_MISO_ID 2
    292292#define RTE_SPIM3_DRIVE_CAPABILITY 0
    293293#define RTE_SPIM3_RESISTOR         0
    294294#define RTE_SPIM3_DMA_RX 0
     
    347347//   <o6> DMA Channel <0-7>
    348348//   <o7> Handshake Channel <0-7>
    349349//  </e>
    350 #define RTE_I2C1 0
     350#define RTE_I2C1 1
    351351#if RTE_I2C1
    352352#define RTE_I2C1_DATA_ID 1
    353353#define RTE_I2C1_CLK_ID 1
     
    377377//   <o6> DMA Channel <0-7>
    378378//   <o7> Handshake Channel <0-7>
    379379//  </e>
    380 #define RTE_I2C2 0
     380#define RTE_I2C2 1
    381381#if RTE_I2C2
    382 #define RTE_I2C2_DATA_ID 1
    383 #define RTE_I2C2_CLK_ID 1
     382#define RTE_I2C2_DATA_ID 2
     383#define RTE_I2C2_CLK_ID 2
    384384#define RTE_I2C2_DRIVE_CAPABILITY 0
    385385#define RTE_I2C2_RESISTOR 1
    386386#define RTE_I2C2_DMA_RX 0
     
    437437// <i> Configuration settings for Driver_UART1 in component ::Drivers:UART
    438438//  <o1> UA1_RXD pin <1=>MCU_UA1_RXD
    439439//  <o2> UA1_TXD pin <1=>MCU_UA1_TXD
    440 #define RTE_UART1 0
     440#define RTE_UART1 1
    441441#if RTE_UART1
    442442#define RTE_UA1_RXD_ID 1
    443443#define RTE_UA1_TXD_ID 1
     
    533533// </e>
    534534
    535535// <e> TMR (Timer)
    536 #define RTE_TMR 0
     536#define RTE_TMR 1
    537537// </e>
    538538
    539539// <e> ADVTMR (Advanced Timer)
Note: See TracBrowser for help on using the repository browser.