RP2040 Core Component
Contains startup code, crash handling and additional RP2040-specific support code.
Configuration variables
- PICO_BOARD
default: pico
Select development board in use. List available boards with
make list-boards.The SDK defines various useful bits of information in a board header file, such as the default LED pin, how much flash memory it has, etc. Use
make board-infoto list these values.If using custom hardware, select
noneand provide definitions as required.
- ENABLE_BOOTSEL
default: 1 for debug, 0 for release builds
This setting is provided to make it easy to re-program RP2040 boards during development. When enabled, Sming monitors the BOOTSEL button and restartS in boot mode if pressed.
- LINK_CYW43_FIRMWARE
default: 1
The Pico-W board requires a ~140K (compressed) firmware BLOB which by default is linked into the application image.
This can be wasteful when using OTA as the firmware must be contained in all application images.
Setting this value to ‘0’ will omit firmware from the image, and instead load it from a partition called ‘cyw43_fw’. This partition can be added to the standard map using the ‘cyw43_fw’
HWCONFIG_OPTsetting:make LINK_CYW43_FIRMWARE=0 HWCONFIG_OPT=cyw43_fw
This is not the default setting since the additional partition must be managed by the end application.
- PICO_DEBUG
default: 0
Set to 1 to enable additional debug output from compiled Pico SDK library. Shows things like WiFi firmware version.
References
Used by
RP2040 Drivers Component
Sming (Rp2040) Component
Rp2040 SPI Flash Support Component
Environment Variables
CYW43_FIRMWARECYW43_PIN_WL_HOST_WAKECYW43_PIN_WL_REG_ONCYW43_USES_VSYS_PINCYW43_WL_GPIO_COUNTCYW43_WL_GPIO_LED_PINCYW43_WL_GPIO_VBUS_PINPICO_BOOT_STAGE2_CHOOSE_W25Q080PICO_DEFAULT_I2CPICO_DEFAULT_I2C_SCL_PINPICO_DEFAULT_I2C_SDA_PINPICO_DEFAULT_SPIPICO_DEFAULT_SPI_CSN_PINPICO_DEFAULT_SPI_RX_PINPICO_DEFAULT_SPI_SCK_PINPICO_DEFAULT_SPI_TX_PINPICO_DEFAULT_UARTPICO_DEFAULT_UART_RX_PINPICO_DEFAULT_UART_TX_PINPICO_FLASH_SIZE_BYTESPICO_FLASH_SPI_CLKDIVPICO_RP2040_B0_SUPPORTEDPICO_RP2040_B1_SUPPORTEDPICO_VSYS_PINRASPBERRYPI_PICO_W
SoC support
rp2040