diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-24 01:34:10 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-24 01:34:10 +0000 |
commit | c4bb5210280f599935b85afdf6d8457a5ac5eea4 (patch) | |
tree | 1bc7b3d10bec5f3f9feffb73a3012e8a31ff7946 /nuttx/configs/stm3240g-eval/README.txt | |
parent | 8839ea425361f00f162c23f42fdb0364f335226e (diff) | |
download | px4-nuttx-c4bb5210280f599935b85afdf6d8457a5ac5eea4.tar.gz px4-nuttx-c4bb5210280f599935b85afdf6d8457a5ac5eea4.tar.bz2 px4-nuttx-c4bb5210280f599935b85afdf6d8457a5ac5eea4.zip |
Finish code for basic STM3240 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4124 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/README.txt')
-rwxr-xr-x | nuttx/configs/stm3240g-eval/README.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nuttx/configs/stm3240g-eval/README.txt b/nuttx/configs/stm3240g-eval/README.txt index 3062c5fd9..2cf58633a 100755 --- a/nuttx/configs/stm3240g-eval/README.txt +++ b/nuttx/configs/stm3240g-eval/README.txt @@ -12,6 +12,7 @@ Contents - IDEs - NuttX buildroot Toolchain - STM3240G-EVAL-specific Configuration Options + - LEDs - Configurations Development Environment @@ -160,6 +161,31 @@ NuttX buildroot Toolchain detailed PLUS some special instructions that you will need to follow if you are building a Cortex-M3 toolchain for Cygwin under Windows. +LEDs +==== + +The STM3240G-EVAL board has four LEDs labeled. Usage of these LEDs is defined +in include/board.h and src/up_leds.c. They are encoded as follows: + + SYMBOL Meaning LED1* LED2 LED3 LED4 + ------------------- ----------------------- ------- ------- ------- ------ + LED_STARTED NuttX has been started ON OFF OFF OFF + LED_HEAPALLOCATE Heap has been allocated OFF ON OFF OFF + LED_IRQSENABLED Interrupts enabled ON ON OFF OFF + LED_STACKCREATED Idle stack created OFF OFF ON OFF + LED_INIRQ In an interrupt** ON N/C N/C OFF + LED_SIGNAL In a signal handler*** N/C ON N/C OFF + LED_ASSERTION An assertion failed ON ON N/C OFF + LED_PANIC The system has crashed N/C N/C N/C ON + LED_IDLE STM32 is is sleep mode (Optional, not used) + + * If LED1, LED2, LED3 are statically on, then NuttX probably failed to boot + and these LEDs will give you some indication of where the failure was + ** The normal state is LED3 ON and LED1 faintly glowing. This faint glow + is because of timer interupts that result in the LED being illuminated + on a small proportion of the time. +*** LED2 may also flicker normally if signals are processed. + STM3240G-EVAL-specific Configuration Options ============================================ @@ -221,6 +247,10 @@ STM3240G-EVAL-specific Configuration Options CONFIG_ARCH_IRQPRIO=y + CONFIG_ARCH_FPU - The STM3240xxx supports a floating point unit (FPU) + + CONFIG_ARCH_FPU=y + CONFIG_ARCH_LEDS - Use LEDs to show state. Unique to boards that have LEDs |