a1c991d921
Move boards to boards folder * boards: rename configs folder to boards This is the proposed layout after the change: boards: - folder containing board folders <board>: - name of each board drivers: - extra drivers specific for platform include: - header files for the boars scripts: - extra scripts specific for platform src: - board specific code tools: - extra tools specific for platform <config>: - board specific configuration(s) Note: <xxx> names are dependent on platform This is a logical change to aim to the arch layout but this is a huge change it should be done in several steps to lower the risk. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Kconfig: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Makefile: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Makefile.*: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Make.defs: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .sh: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .mk: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .c & .h: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .bat: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
if ARCH_BOARD_TM4C123G_LAUNCHPAD
|
|
|
|
config TM4C123G_LAUNCHPAD_AT24_BLOCKMOUNT
|
|
bool "AT24 Serial EEPROM auto-mount"
|
|
default n
|
|
depends on NSH_ARCHINIT && TIVA_I2C0 && MTD_AT24XX
|
|
---help---
|
|
Automatically initialize the AT24 SPI EEPROM driver when NSH starts.
|
|
|
|
The Serial EEPROM was mounted on an external adaptor board and
|
|
connected to the LaunchPad thusly:
|
|
|
|
- VCC -- VCC
|
|
- GND -- GND
|
|
- PB2 -- SCL
|
|
- PB3 -- SDA
|
|
|
|
choice
|
|
prompt "AT24 serial EPPROM configuration"
|
|
default TM4C123G_LAUNCHPAD_AT24_FTL
|
|
depends on TM4C123G_LAUNCHPAD_AT24_BLOCKMOUNT
|
|
|
|
config TM4C123G_LAUNCHPAD_AT24_FTL
|
|
bool "Create AT24 block driver"
|
|
---help---
|
|
Create the MTD driver for the AT24 and "wrap" the AT24 as a standard
|
|
block driver that could then, for example, be mounted using FAT or
|
|
any other file system. Any file system may be used, but there will
|
|
be no wear-leveling.
|
|
|
|
config TM4C123G_LAUNCHPAD_AT24_NXFFS
|
|
bool "Create AT24 NXFFS file system"
|
|
depends on FS_NXFFS
|
|
---help---
|
|
Create the MTD driver for the AT24 and mount the AT24 device as
|
|
a wear-leveling, NuttX FLASH file system (NXFFS). The downside of
|
|
NXFFS is that it can be very slow.
|
|
|
|
endchoice # AT24 serial EPPROM configuration
|
|
|
|
endif
|