diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-11-01 07:50:35 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-11-01 07:50:35 -0600 |
commit | 9741311259ee5434987dc8c9918f29e355d22c4f (patch) | |
tree | dfee89d28f7e4e17937f0d047ec69f8be4d44998 /nuttx/configs/mikroe-stm32f4/Kconfig | |
parent | 8d05d097e7089f3a4ce15e29cf3b7701580665b2 (diff) | |
download | px4-nuttx-9741311259ee5434987dc8c9918f29e355d22c4f.tar.gz px4-nuttx-9741311259ee5434987dc8c9918f29e355d22c4f.tar.bz2 px4-nuttx-9741311259ee5434987dc8c9918f29e355d22c4f.zip |
The Mikroe STM32 F4 board now uses /dev/config for configuration data storage. From Ken Pettit
Diffstat (limited to 'nuttx/configs/mikroe-stm32f4/Kconfig')
-rw-r--r-- | nuttx/configs/mikroe-stm32f4/Kconfig | 46 |
1 files changed, 31 insertions, 15 deletions
diff --git a/nuttx/configs/mikroe-stm32f4/Kconfig b/nuttx/configs/mikroe-stm32f4/Kconfig index 0790f123a..1b936cc4f 100644 --- a/nuttx/configs/mikroe-stm32f4/Kconfig +++ b/nuttx/configs/mikroe-stm32f4/Kconfig @@ -8,55 +8,71 @@ if ARCH_BOARD_MIKROE_STM32F4 config MIKROE_FLASH bool "MTD driver for onboard 1M FLASH" default n - select MTD - select MTD_M25P - select MTD_SMART - select FS_SMARTFS - select STM32_SPI3 - select MTD_BYTE_WRITE + select MTD + select MTD_M25P + select MTD_SMART + select FS_SMARTFS + select STM32_SPI3 + select MTD_BYTE_WRITE ---help--- Configures an MTD device for use with the onboard flash config MIKROE_FLASH_MINOR int "Minor number for the FLASH /dev/smart entry" default 0 - depends on MIKROE_FLASH + depends on MIKROE_FLASH ---help--- Sets the minor number for the FLASH MTD /dev entry config MIKROE_FLASH_PART bool "Enable partition support on FLASH" default n - depends on MIKROE_FLASH + depends on MIKROE_FLASH ---help--- Enables creation of partitions on the FLASH +config MIKROE_FLASH_CONFIG_PART + bool "Create application config data partition on FLASH" + default y + depends on MIKROE_FLASH_PART + depends on PLATFORM_CONFIGDATA + ---help--- + Enables creation of a /dev/config partition on the FLASH + +config MIKROE_FLASH_CONFIG_PART_NUMBER + int "Index number of config partition (in list below)" + default 0 + depends on MIKROE_FLASH_CONFIG_PART + ---help--- + Specifies the index number of the config data partition + from the partition list. + config MIKROE_FLASH_PART_LIST string "Flash partition size list" - default "256,768" - depends on MIKROE_FLASH_PART + default "8,248,768" + depends on MIKROE_FLASH_PART ---help--- - Comma separated list of partition sizes in KB + Comma separated list of partition sizes in KB. config MIKROE_RAMMTD bool "MTD driver for SMARTFS RAM disk" default n - select MTD - select RAMMTD + select MTD + select RAMMTD ---help--- Configures an MTD based RAM device for use with SMARTFS. config MIKROE_RAMMTD_MINOR int "Minor number for RAM /dev/smart entry" default 1 - depends on MIKROE_RAMMTD + depends on MIKROE_RAMMTD ---help--- Sets the minor number for the RAM MTD /dev entry config MIKROE_RAMMTD_SIZE int "Size in KB of the RAM device to create" default 32 - depends on MIKROE_RAMMTD + depends on MIKROE_RAMMTD ---help--- Sets the size of static RAM allocation for the SMART RAM device |