diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-09 17:37:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-09 17:37:27 +0000 |
commit | 332cf8e16d4b3ade203b6f886c152a25c1972591 (patch) | |
tree | fae73dac595abc75e70c233348db88f09a53d45c /nuttx/configs | |
parent | 42a56e78dda5561d301ec2e61a0bac17e7342525 (diff) | |
download | px4-nuttx-332cf8e16d4b3ade203b6f886c152a25c1972591.tar.gz px4-nuttx-332cf8e16d4b3ade203b6f886c152a25c1972591.tar.bz2 px4-nuttx-332cf8e16d4b3ade203b6f886c152a25c1972591.zip |
UG-2864AMBAG01 driver is basically functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5325 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/stm32f4discovery/README.txt | 16 | ||||
-rw-r--r-- | nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h | 2 | ||||
-rw-r--r-- | nuttx/configs/stm32f4discovery/src/up_ug2864ambag01.c | 2 |
3 files changed, 14 insertions, 6 deletions
diff --git a/nuttx/configs/stm32f4discovery/README.txt b/nuttx/configs/stm32f4discovery/README.txt index 900e93a97..216ce85cc 100644 --- a/nuttx/configs/stm32f4discovery/README.txt +++ b/nuttx/configs/stm32f4discovery/README.txt @@ -308,8 +308,8 @@ The STM32F4Discovery has no real on-board PWM devices, but the board can be configured to output a pulse train using TIM4 CH2 on PD3. This pin is available next to the audio jack. -UART -==== +UARTs +===== UART/USART PINS --------------- @@ -713,7 +713,9 @@ write only so the driver keeps a 128*64/8 = 1KB framebuffer to remember the display contents: Here is how I have the OLED connected. But you can change this with the -settings in include/board.h and src/stm324fdiscovery-internal.h: +settings in include/board.h and src/stm324fdiscovery-internal.h. Connector +pinout for the UG-2864AMBAG01 is specific to the theO.net display board +that I am using: --------------------------+---------------------------------------------- Connector CON10 J1: | STM32F4Discovery @@ -722,7 +724,7 @@ settings in include/board.h and src/stm324fdiscovery-internal.h: --------------+-----------+---------------------------------------------- 1 3v3 | 3,4 3v3 | P2 3V 3 /RESET | 8 /RESET | P2 PB6 (Arbitrary selection) - 5 /CS | 7 /CS | P3 PB7 (Arbitrary selection) + 5 /CS | 7 /CS | P2 PB7 (Arbitrary selection) 7 A0 | 9 A0 | P2 PB8 (Arbitrary selection) 9 LED+ (N/C) | ----- | ----- 2 5V Vcc | 1,2 Vcc | P2 5V @@ -1387,6 +1389,12 @@ Where <subdir> is one of the following: +CONFIG_EXAMPLES_NXLINES_BPP=1 +CONFIG_EXAMPLES_NXLINES_EXTERNINIT=y + There are some issues with with the presentation... some tuning of the + configuration could fix that. Lower resolution displays are also more + subject to the "fat, flat line bug" that I need to fix someday. See + http://www.nuttx.org/doku.php?id=wiki:graphics:nxgraphics for a description + of the fat, flat line bug. + pm: -- This is a configuration that is used to test STM32 power management, i.e., diff --git a/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h b/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h index 73a42d3fd..00f17b58e 100644 --- a/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h +++ b/nuttx/configs/stm32f4discovery/src/stm32f4discovery-internal.h @@ -122,7 +122,7 @@ * --------------+-----------+---------------------------------------------- * 1 3v3 | 3,4 3v3 | P2 3V * 3 /RESET | 8 /RESET | P2 PB6 (Arbitrary selection) - * 5 /CS | 7 /CS | P3 PB7 (Arbitrary selection) + * 5 /CS | 7 /CS | P2 PB7 (Arbitrary selection) * 7 A0 | 9 A0 | P2 PB8 (Arbitrary selection) * 9 LED+ (N/C) | ----- | ----- * 2 5V Vcc | 1,2 Vcc | P2 5V diff --git a/nuttx/configs/stm32f4discovery/src/up_ug2864ambag01.c b/nuttx/configs/stm32f4discovery/src/up_ug2864ambag01.c index eabb77129..2f2133116 100644 --- a/nuttx/configs/stm32f4discovery/src/up_ug2864ambag01.c +++ b/nuttx/configs/stm32f4discovery/src/up_ug2864ambag01.c @@ -75,7 +75,7 @@ * --------------+-----------+---------------------------------------------- * 1 3v3 | 3,4 3v3 | P2 3V * 3 /RESET | 8 /RESET | P2 PB6 (Arbitrary selection) - * 5 /CS | 7 /CS | P3 PB7 (Arbitrary selection)(2) + * 5 /CS | 7 /CS | P2 PB7 (Arbitrary selection)(2) * 7 A0 | 9 A0 | P2 PB8 (Arbitrary selection)(2) * 9 LED+ (N/C) | ----- | ----- * 2 5V Vcc | 1,2 Vcc | P2 5V |