2022-12-20 19:16:35 +01: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_JUPITER_NANO
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "CPU Frequency"
|
|
|
|
default JUPITERNANO_498MHZ
|
|
|
|
|
|
|
|
config JUPITERNANO_384MHZ
|
|
|
|
bool "384 MHz"
|
|
|
|
|
|
|
|
config JUPITERNANO_396MHZ
|
|
|
|
bool "396 MHz"
|
|
|
|
|
|
|
|
config JUPITERNANO_498MHZ
|
|
|
|
bool "498 MHz"
|
|
|
|
|
|
|
|
config JUPITERNANO_528MHZ
|
|
|
|
bool "528 MHz"
|
|
|
|
|
|
|
|
endchoice # CPU Frequency
|
|
|
|
|
|
|
|
config JUPITERNANO_USBHOST_STACKSIZE
|
|
|
|
int "USB host waiter stack size"
|
|
|
|
default 1536 if USBHOST_HUB
|
|
|
|
default 2048 if !USBHOST_HUB
|
|
|
|
depends on USBHOST
|
|
|
|
|
|
|
|
config JUPITERNANO_USBHOST_PRIO
|
|
|
|
int "USB host waiter task priority"
|
|
|
|
default 100
|
|
|
|
depends on USBHOST
|
|
|
|
|
|
|
|
config SAMA5_SDMMC
|
|
|
|
bool "enable SDMMC controller"
|
2023-07-15 19:04:21 +02:00
|
|
|
default SAMA5_HAVE_SDMMC
|
2022-12-20 19:16:35 +01:00
|
|
|
select SDIO_DMA
|
|
|
|
select SCHED_WORKQUEUE
|
|
|
|
select SCHED_HPWORK
|
2023-05-10 11:19:11 +02:00
|
|
|
select MMCSD
|
|
|
|
select MMCSD_SDIO
|
2022-12-20 19:16:35 +01:00
|
|
|
select SDIO_BLOCKSETUP
|
|
|
|
select ARCH_HAVE_SDIO
|
|
|
|
select SAMA5_SDMMC_DMA
|
|
|
|
---help---
|
2023-05-10 11:19:11 +02:00
|
|
|
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC
|
|
|
|
SAMA5_SDMMC0 SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE
|
|
|
|
SCHED_HPWORK SDIO_BLOCKSETUP
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5_SDMMC0
|
2023-05-10 11:19:11 +02:00
|
|
|
bool "Enable SDMMC0 (built-in eMMC)"
|
2023-07-15 19:04:21 +02:00
|
|
|
default !SAMA5_SDMMC
|
2023-05-10 11:19:11 +02:00
|
|
|
depends on SAMA5_SDMMC
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5_SDMMC0_SIZE
|
2023-05-10 11:19:11 +02:00
|
|
|
int "SDMMC0 size in bytes"
|
|
|
|
default 4294967296
|
|
|
|
depends on SAMA5_SDMMC0
|
|
|
|
---help---
|
|
|
|
Size of eMMC flash in bytes. Default: 4GB
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5D27_SDMMC0_MOUNT
|
2023-05-10 11:19:11 +02:00
|
|
|
bool "Mount SDMMC0 at startup"
|
|
|
|
default n
|
|
|
|
depends on SAMA5_SDMMC0
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5D27_SDMMC0_MOUNT_BLKDEV
|
2023-05-10 11:19:11 +02:00
|
|
|
string "SDMMC0 block device name"
|
|
|
|
default "mmc0"
|
|
|
|
depends on SAMA5_SDMMC0
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5D27_SDMMC0_MOUNT_MOUNTPOINT
|
2023-05-10 11:19:11 +02:00
|
|
|
string "SDMMC0 mountpoint"
|
|
|
|
default "/mnt/sdmmc0"
|
|
|
|
depends on SAMA5_SDMMC0
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5D27_SDMMC0_MOUNT_FSTYPE
|
2023-05-10 11:19:11 +02:00
|
|
|
string "SDMMC0 file system type"
|
|
|
|
default "vfat"
|
|
|
|
depends on SAMA5_SDMMC0
|
2022-12-20 19:16:35 +01:00
|
|
|
|
2023-02-01 13:10:13 +01:00
|
|
|
config SAMA5_SDMMC1_WIDTH_D1_D8
|
2023-05-10 11:19:11 +02:00
|
|
|
bool "SDMMC0 data bus width 8 bits"
|
|
|
|
default y
|
|
|
|
depends on SAMA5_SDMMC0
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5_SDMMC1
|
2023-05-10 11:19:11 +02:00
|
|
|
bool "Enable SDMMC1"
|
2023-07-15 19:04:21 +02:00
|
|
|
default SAMA5_SDMMC
|
2023-05-10 11:19:11 +02:00
|
|
|
select SAMA5_SDMMC1_WIDTH_D1_D4
|
|
|
|
depends on SAMA5_SDMMC
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5_SDMMC1_SIZE
|
|
|
|
int "SDMMC1 size in bytes"
|
2023-05-10 11:19:11 +02:00
|
|
|
default 1073741824
|
|
|
|
depends on SAMA5_SDMMC1
|
2022-12-20 19:16:35 +01:00
|
|
|
---help---
|
|
|
|
Size of SD Card in bytes. Default: 16GB
|
|
|
|
|
|
|
|
config SAMA5D27_SDMMC1_MOUNT
|
2023-05-10 11:19:11 +02:00
|
|
|
bool "Mount SDMMC1 at startup"
|
|
|
|
default n
|
|
|
|
depends on SAMA5_SDMMC1
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5D27_SDMMC1_MOUNT_BLKDEV
|
2023-05-10 11:19:11 +02:00
|
|
|
string "SDMMC1 block device name"
|
|
|
|
default "mmc1"
|
|
|
|
depends on SAMA5_SDMMC1
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5D27_SDMMC1_MOUNT_MOUNTPOINT
|
2023-05-10 11:19:11 +02:00
|
|
|
string "SDMMC1 mountpoint"
|
|
|
|
default "/mnt/sdmmc1"
|
|
|
|
depends on SAMA5_SDMMC1
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5D27_SDMMC1_MOUNT_FSTYPE
|
2023-05-10 11:19:11 +02:00
|
|
|
string "SDMMC1 file system type"
|
|
|
|
default "vfat"
|
|
|
|
depends on SAMA5_SDMMC1
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config MMCSD_HAVE_CARDDETECT
|
2023-05-10 11:19:11 +02:00
|
|
|
bool "SDMMC1 card detect"
|
|
|
|
default y
|
|
|
|
depends on SAMA5_SDMMC1
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5_SDMMC1_WIDTH_D1_D4
|
2023-05-10 11:19:11 +02:00
|
|
|
bool "SDMMC1 data bus width 4 bits"
|
|
|
|
default y
|
|
|
|
depends on SAMA5_SDMMC1
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
config SAMA5_SYSTEMRESET
|
2023-05-10 11:19:11 +02:00
|
|
|
bool "Enable system reset - this will enable the nsh reboot command"
|
|
|
|
select BOARDCTL_RESET
|
2022-12-20 19:16:35 +01:00
|
|
|
|
|
|
|
endif # ARCH_BOARD_JUPITER_NANO
|