2022-06-30 04:28:04 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
if ARCH_BOARD_ADAFRUIT_KB2040
|
|
|
|
|
|
|
|
config RP2040_FLASH_BOOT
|
|
|
|
bool "flash boot"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
If y, the built binary can be used for flash boot.
|
|
|
|
If not, the binary is for SRAM boot.
|
|
|
|
|
|
|
|
config RP2040_FLASH_CHIP
|
2022-07-22 03:04:05 +02:00
|
|
|
string "Second stage boot loader"
|
2022-06-30 04:28:04 +02:00
|
|
|
default "w25q080"
|
|
|
|
---help---
|
2022-07-22 03:04:05 +02:00
|
|
|
This is the name of the Pico-SDK second stage boot loader
|
|
|
|
to use for this board. This board using a Q64 flash chip
|
|
|
|
which is compatible with the w25q080 boot loader.
|
2022-06-30 04:28:04 +02:00
|
|
|
Basically this option should not be changed.
|
|
|
|
|
|
|
|
config RP2040_UF2_BINARY
|
|
|
|
bool "uf2 binary format"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Create nuttx.uf2 binary format used on RP2040 based arch.
|
|
|
|
|
|
|
|
config RP2040_LCD_SPI_CH
|
|
|
|
int "RP2040 LCD SPI channel number"
|
|
|
|
default 0
|
|
|
|
range 0 1
|
|
|
|
depends on LCD
|
|
|
|
---help---
|
|
|
|
Select SPI channel number to use LCD display.
|
|
|
|
|
|
|
|
config RP2040_ENC28J60_SPI_CH
|
|
|
|
int "ENC28J60 SPI channel number"
|
|
|
|
default 1
|
|
|
|
range 0 1
|
|
|
|
depends on ENC28J60
|
|
|
|
---help---
|
|
|
|
Select SPI channel number to use ENC28J60 ethernet.
|
|
|
|
|
|
|
|
config RP2040_ENC28J60_INTR_GPIO
|
|
|
|
int "ENC28J60 interrupt GPIO pin assign"
|
|
|
|
default -1
|
|
|
|
range -1 29
|
|
|
|
depends on ENC28J60
|
|
|
|
|
|
|
|
config RP2040_ENC28J60_RESET_GPIO
|
|
|
|
int "ENC28J60 reset GPIO pin assign (optional)"
|
|
|
|
default -1
|
|
|
|
range -1 29
|
|
|
|
depends on ENC28J60
|
|
|
|
|
|
|
|
endif
|