diff options
| author | Yuqiang Wang <[email protected]> | 2024-03-15 06:20:33 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-14 18:20:33 -0400 |
| commit | 62b0d4fd2efa0a0fe1665ff2c6213755ba1faefa (patch) | |
| tree | 2ecdbc0bdb5b19650795b41058fe2b7985579eea /bsp | |
| parent | 6aa1442f64c3bf3df750868ee7f67bb60ce234ae (diff) | |
[bsp][HMIBoard] config rtduino peripheral with HMI (#8610)
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/renesas/ra6m3-hmi-board/board/Kconfig | 20 | ||||
| -rw-r--r-- | bsp/renesas/ra6m3-hmi-board/board/rtduino/arduino_pinout/pins_arduino.h | 4 |
2 files changed, 14 insertions, 10 deletions
diff --git a/bsp/renesas/ra6m3-hmi-board/board/Kconfig b/bsp/renesas/ra6m3-hmi-board/board/Kconfig index b5873e9c68..085e0bf307 100644 --- a/bsp/renesas/ra6m3-hmi-board/board/Kconfig +++ b/bsp/renesas/ra6m3-hmi-board/board/Kconfig @@ -549,19 +549,19 @@ menu "Hardware Drivers Config" bool "Enable soft SPI1 BUS (software simulation)" default n if BSP_USING_SOFT_SPI1 - comment "Please select your spi analog pin, e.g. 'P512': 0x512" + comment "Please refer to the 'bsp_io.h' file to configure the pins" config BSP_S_SPI1_SCK_PIN hex "spi1 sck pin number (hex)" - range 0x0000 0x0E0F - default 0x204 + range 0x0000 0xFFFF + default 0x0204 config BSP_S_SPI1_MOSI_PIN hex "spi1 mosi pin number (hex)" - range 0x0000 0x0E0F - default 0x512 + range 0x0000 0xFFFF + default 0x050C config BSP_S_SPI1_MISO_PIN hex "spi1 miso pin number (hex)" - range 0x0000 0x0E0F - default 0x511 + range 0x0000 0xFFFF + default 0x050B endif endif @@ -577,14 +577,14 @@ menu "Hardware Drivers Config" bool "Enable I2C0 Bus (software simulation)" default n if BSP_USING_I2C0 - comment "Please select your i2c analog pin, e.g. 'P512': 0x512" + comment "Please refer to the 'bsp_io.h' file to configure the pins" config BSP_I2C0_SCL_PIN hex "i2c0 scl pin number (hex)" - range 0x0000 0x0E0F + range 0x0000 0xFFFF default 0x202 config BSP_I2C0_SDA_PIN hex "i2c0 sda pin number (hex)" - range 0x0000 0x0E0F + range 0x0000 0xFFFF default 0x203 endif endif diff --git a/bsp/renesas/ra6m3-hmi-board/board/rtduino/arduino_pinout/pins_arduino.h b/bsp/renesas/ra6m3-hmi-board/board/rtduino/arduino_pinout/pins_arduino.h index 2e5f56e733..72ec3eb9f1 100644 --- a/bsp/renesas/ra6m3-hmi-board/board/rtduino/arduino_pinout/pins_arduino.h +++ b/bsp/renesas/ra6m3-hmi-board/board/rtduino/arduino_pinout/pins_arduino.h @@ -45,4 +45,8 @@ /* Serial4(uart4) : P205-TX P206-RX */ #define RTDUINO_SERIAL2_DEVICE_NAME "uart4" +/* soft spi1: P204-SS P511-MISO P512-MOSI */ +#define SS D13 +#define RTDUINO_DEFAULT_SPI_BUS_NAME "sspi1" + #endif /* Pins_Arduino_h */ |
