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-info to list these values.

If using custom hardware, select none and 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.

References

Used by

Environment Variables

  • ENABLE_BOOTSEL

  • PICO_BOOT_STAGE2_CHOOSE_W25Q080

  • PICO_DEFAULT_I2C

  • PICO_DEFAULT_I2C_SCL_PIN

  • PICO_DEFAULT_I2C_SDA_PIN

  • PICO_DEFAULT_LED_PIN

  • PICO_DEFAULT_SPI

  • PICO_DEFAULT_SPI_CSN_PIN

  • PICO_DEFAULT_SPI_RX_PIN

  • PICO_DEFAULT_SPI_SCK_PIN

  • PICO_DEFAULT_SPI_TX_PIN

  • PICO_DEFAULT_UART

  • PICO_DEFAULT_UART_RX_PIN

  • PICO_DEFAULT_UART_TX_PIN

  • PICO_FLASH_SIZE_BYTES

  • PICO_FLASH_SPI_CLKDIV

  • PICO_RP2040_B0_SUPPORTED

  • PICO_SMPS_MODE_PIN

  • RASPBERRYPI_PICO

SoC support

  • rp2040

Submodule: pico-sdk