diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-25 18:41:10 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-25 18:41:10 +0000 |
commit | 80d1c7ab4590471dca46d4ae7ae5d3211ad2cf8d (patch) | |
tree | e1361e761b01704d1ad41b9f89c9501a42610b4a /nuttx/configs/mirtoo/README.txt | |
parent | f5ab5978905faf5b9bd81c2c2463a25cd75325ae (diff) | |
download | px4-nuttx-80d1c7ab4590471dca46d4ae7ae5d3211ad2cf8d.tar.gz px4-nuttx-80d1c7ab4590471dca46d4ae7ae5d3211ad2cf8d.tar.bz2 px4-nuttx-80d1c7ab4590471dca46d4ae7ae5d3211ad2cf8d.zip |
Add support for the TI PGA11x amplifier/multiplexer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4977 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/mirtoo/README.txt')
-rw-r--r-- | nuttx/configs/mirtoo/README.txt | 67 |
1 files changed, 46 insertions, 21 deletions
diff --git a/nuttx/configs/mirtoo/README.txt b/nuttx/configs/mirtoo/README.txt index 7ef2f5b3f..41d101228 100644 --- a/nuttx/configs/mirtoo/README.txt +++ b/nuttx/configs/mirtoo/README.txt @@ -776,6 +776,7 @@ selected as follow: Where <subdir> is one of the following: ostest: + ======= This configuration directory, performs a simple OS test using apps/examples/ostest. This configuration use UART1 which is available on FUNC 4 and 5 on connector X3: @@ -799,6 +800,7 @@ Where <subdir> is one of the following: the XC32 toolchain. nsh: + ==== This configuration directory holds configuration files tht can be used to support the NuttShell (NSH). This configuration use UART1 which is available on FUNC 4 and 5 on connector X3: @@ -806,6 +808,8 @@ Where <subdir> is one of the following: CONFIG_PIC32MX_UART1=y : UART1 for serial console CONFIG_UART1_SERIAL_CONSOLE=n + UART2 + ----- If you are not using MPLAB to debug, you may switch to UART2 by following the instructions above for the ostest configuration. @@ -819,7 +823,17 @@ Where <subdir> is one of the following: path to the toolchain in setenv.sh. See notes above with regard to the XC32 toolchain. + PGA117 Support: + -------------- + The Mirtoo's PGA117 amplifier/multipexer is not used by this configuration + but can be enabled by setting: + + CONFIG_INPUT=y : Enable support for INPUT devices + CONFIG_SPI_OWNBUS=y : If the PGA117 is the only device on the bus + CONFIG_INPUT_PGA11X=y : Enable support for the PGA117 + nxffs: + ====== This is a configuration very similar to the nsh configuration. This configure also provides the NuttShell (NSH). And this configuration use UART1 which is available on FUNC 4 and 5 on connector X3 (as described @@ -867,29 +881,40 @@ Where <subdir> is one of the following: CONFIG_NSH_DISABLE_TEST=y CONFIG_NSH_DISABLE_WGET=y - When the system boots, you should have the NXFFS file system mounted - at /mnt/sst25. + When the system boots, you should have the NXFFS file system mounted + at /mnt/sst25. + + NOTES: (1) It takes many seconds to boot the sytem using the NXFFS + file system because the entire FLASH must be verified on power up + (and longer the first time that NXFFS comes up and has to format the + entire FLASH). (2) FAT does not have these delays and this configuration + can be modified to use the (larger) FAT file system as described below. + But you will, or course, lose the wear-leveling feature if FAT is used. + + fat: + ---- + There is no FAT configuration, but the nxffx configuration can be used + to support the FAT FS if the following changes are made to the NuttX + configuration file: + + CONFIG_FS_NXFFS=n + CONFIG_FS_FAT=y + CONFIG_NSH_DISABLE_MKFATFS=n - NOTES: (1) It takes many seconds to boot the sytem using the NXFFS - file system because the entire FLASH must be verified on power up - (and longer the first time that NXFFS comes up and has to format the - entire FLASH). (2) FAT does not have these delays and this configuration - can be modified to use the (larger) FAT file system as described below. - But you will, or course, lose the wear-leveling feature if FAT is used. + In this configuration, the FAT file system will not be automatically + monounted. When NuttX boots to the NSH prompt, you will find the + SST5 block driver at /dev/mtdblock0. This can be formatted with a + FAT file system and mounted with these commands: - fat: - There is no FAT configuration, but the nxffx configuration can be used - to support the FAT FS if the following changes are made to the NuttX - configuration file: + nsh> mkfatfs /dev/mtdblock0 + nsh> mount -t vfat /dev/mtdblock0 /mnt/sst25 - CONFIG_FS_NXFFS=n - CONFIG_FS_FAT=y - CONFIG_NSH_DISABLE_MKFATFS=n + PGA117 Support: + --------------- + The Mirtoo's PGA117 amplifier/multipexer is not used by this configuration + but can be enabled by setting: - In this configuration, the FAT file system will not be automatically - monounted. When NuttX boots to the NSH prompt, you will find the - SST5 block driver at /dev/mtdblock0. This can be formatted with a - FAT file system and mounted with these commands: + CONFIG_INPUT=y : Enable support for INPUT devices + CONFIG_SPI_OWNBUS=n : The PGA117 is *not* the only device on the bus + CONFIG_INPUT_PGA11X=y : Enable support for the PGA117 - nsh> mkfatfs /dev/mtdblock0 - nsh> mount -t vfat /dev/mtdblock0 /mnt/sst25 |