adamfeuer commented on a change in pull request #1728: URL: https://github.com/apache/incubator-nuttx/pull/1728#discussion_r489576415
########## File path: boards/Kconfig ########## @@ -2268,7 +2277,8 @@ config ARCH_BOARD default "s32k146evb" if ARCH_BOARD_S32K146EVB default "s32k148evb" if ARCH_BOARD_S32K148EVB default "sabre-6quad" if ARCH_BOARD_SABRE_6QUAD - default "sama5d2-xult" if ARCH_BOARD_SAMA5D2_XULT + default "sama5d2-xult" if ARCH_BOARD_SAMA5D2_XULT + default "giant-board" if ARCH_BOARD_GIANT_BOARD Review comment: @patacongo Oops sorry, will fix. Have to change my editor settings for that! 🙂 ########## File path: boards/arm/sama5/giant-board/Kconfig ########## @@ -0,0 +1,127 @@ +# +# For a description of the syntax of this configuration file, +# see the file kconfig-language.txt in the NuttX tools repository. +# + +if ARCH_BOARD_GIANT_BOARD + +choice + prompt "CPU Frequency" + default SAMA5D27_GIANT_BOARD_492MHZ + +config SAMA5D27_GIANT_BOARD_492MHZ + bool "492 MHz" + +endchoice # CPU Frequency + +config SAMA5D27_GIANT_BOARD_USBHOST_STACKSIZE + int "USB host waiter stack size" + default 1536 if USBHOST_HUB + default 1024 if !USBHOST_HUB + depends on USBHOST + +config SAMA5D27_GIANT_BOARD_USBHOST_PRIO + int "USB host waiter task priority" + default 100 + depends on USBHOST + +config SAMA5_SDMMC + bool "enable SDMMC controller" + default y if SAMA5_HAVE_SDMMC + select SDIO_DMA + select SCHED_WORKQUEUE + select SCHED_HPWORK + select MMCSD + select MMCSD_SDIO + select SDIO_BLOCKSETUP + select ARCH_HAVE_SDIO + select SAMA5_SDMMC_DMA + ---help--- + Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0 + SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP + Review comment: @patacongo will fix ########## File path: boards/arm/sama5/giant-board/Kconfig ########## @@ -0,0 +1,127 @@ +# +# For a description of the syntax of this configuration file, +# see the file kconfig-language.txt in the NuttX tools repository. +# + +if ARCH_BOARD_GIANT_BOARD + +choice + prompt "CPU Frequency" + default SAMA5D27_GIANT_BOARD_492MHZ + +config SAMA5D27_GIANT_BOARD_492MHZ + bool "492 MHz" + +endchoice # CPU Frequency + +config SAMA5D27_GIANT_BOARD_USBHOST_STACKSIZE + int "USB host waiter stack size" + default 1536 if USBHOST_HUB + default 1024 if !USBHOST_HUB + depends on USBHOST + +config SAMA5D27_GIANT_BOARD_USBHOST_PRIO + int "USB host waiter task priority" + default 100 + depends on USBHOST + +config SAMA5_SDMMC + bool "enable SDMMC controller" + default y if SAMA5_HAVE_SDMMC + select SDIO_DMA + select SCHED_WORKQUEUE + select SCHED_HPWORK + select MMCSD + select MMCSD_SDIO + select SDIO_BLOCKSETUP + select ARCH_HAVE_SDIO + select SAMA5_SDMMC_DMA + ---help--- + Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0 + SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP + +config SAMA5_SDMMC0 + bool "Enable SDMMC0 (built-in eMMC)" + default n if SAMA5_SDMMC + depends on SAMA5_SDMMC + +config SAMA5_SDMMC0_SIZE + int "SDMMC0 size in bytes" + default 4294967296 + depends on SAMA5_SDMMC0 + ---help--- + Size of eMMC flash in bytes. Default: 4GB Review comment: @patacongo will fix ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org