|
@@ -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
|