menu "Hardware Drivers Config" config SOC_NRF52833 bool select RT_USING_COMPONENTS_INIT select RT_USING_USER_MAIN default y config SOC_NORDIC bool default y choice prompt "Select BSP board " default BSP_BOARD_PCA_10100 config BSP_BOARD_PCA_10100 bool "NRF52833 pca10100" endchoice menu "On-chip Peripheral Drivers" config BSP_USING_UART bool "Enable UART" default y select RT_USING_SERIAL config BSP_USING_UART0 bool "Enable UART0" default y depends on BSP_USING_UART config BSP_UART0_RX_PIN depends on BSP_USING_UART0 int "uart0 rx pin number" default 8 if BSP_BOARD_PCA_10100 config BSP_UART0_TX_PIN depends on BSP_USING_UART0 int "uart0 tx pin number" default 6 if BSP_BOARD_PCA_10100 menu "On-chip flash config" config MCU_FLASH_START_ADDRESS hex "MCU FLASH START ADDRESS" default 0x00000000 config MCU_FLASH_SIZE_KB int "MCU FLASH SIZE, MAX size 1024 KB" default 1024 config MCU_SRAM_START_ADDRESS hex "MCU RAM START ADDRESS" default 0x20000000 config MCU_SRAM_SIZE_KB int "MCU RAM SIZE" default 256 config MCU_FLASH_PAGE_SIZE hex "MCU FLASH PAGE SIZE, please not change,nrfx default is 0x1000" default 0x1000 endmenu endmenu if SOC_NORDIC config NRFX_CLOCK_ENABLED int default 1 config NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY int default 7 config NRFX_CLOCK_CONFIG_LF_SRC int default 1 endif if BSP_USING_UART config NRFX_USING_UART bool default y config NRFX_UART_ENABLED int default 1 config NRFX_UART0_ENABLED int default 1 depends on BSP_USING_UART0 endif choice prompt "BLE STACK" default BLE_STACK_USING_NULL help Select the ble stack config BLE_STACK_USING_NULL bool "not use the ble stack" config BSP_USING_SOFTDEVICE select PKG_USING_NRF5X_SDK bool "Nordic softdevice(perpheral)" config BSP_USING_NIMBLE select PKG_USING_NIMBLE select PKG_NIMBLE_BSP_NRF52840 bool "use nimble stack(iot)" endchoice endmenu