Gregory Nutt
93bcd3e03e
TM4C129X: Add custom system control header file (incomplete)
2014-12-19 12:12:52 -06:00
Gregory Nutt
67e6b760e8
Add some OpenOCD scripts for some TI Tiva boards
2014-12-18 16:54:48 -06:00
Gregory Nutt
6cc9716d55
Tiva: Fix configuration logic for IRQ interrupts. The various parts support varying numbers of GPIO blocks and with varying capabilities to support interrupts on the pins of different GPIO blocks
2014-12-18 15:33:52 -06:00
Gregory Nutt
a5fcd71af0
Tiva: Change negative logic CONFIG_TIVA_DISABLE_GPIOx_IRQS to positive logic CONFIG_TIVA_GPIOx_IRQS
2014-12-18 15:19:16 -06:00
Gregory Nutt
e3487f4298
Fix a couple of spelling errors in comments
2014-12-18 13:56:15 -06:00
Gregory Nutt
a1a2e53c3e
Freedom KL25Z: Update the CC3000 support to use the current CC300 interfaces. From Alan Carvalho de Assis
2014-12-18 13:52:01 -06:00
Gregory Nutt
0c698a7121
DK-TM4C129X: Add support for buttons
2014-12-18 11:51:30 -06:00
Gregory Nutt
c79bc06988
DK-TM4C129X: Add LED support
2014-12-18 10:20:34 -06:00
Gregory Nutt
55a3c57399
DK-TM4C129X: Fixes to get clean build. Logic is still not complete, however
2014-12-18 08:24:24 -06:00
Gregory Nutt
93a21d2872
Freedom-KL25Z: Add pin configuration for add-on ADXL345 board. From Alan Carvalho de Assis
2014-12-18 07:27:49 -06:00
Gregory Nutt
d286c0f32f
A previous change increased the task name size allocation by one to hold a NUL terminator. This changes reduces the configured name size by one so that no additional memory is used
2014-12-17 12:30:26 -06:00
Gregory Nutt
2554b5c89a
DK-TM4C129X: Switch to Windows/Cygwin + CodeSourcery
2014-12-17 07:00:22 -06:00
Gregory Nutt
09b16e3819
Remove packaging indications for TM4C129 configuration variables
2014-12-16 16:22:52 -06:00
Gregory Nutt
18c61b6e64
Add TM4C129XNCZAD and TM4C1294NCPDT to the Tiva configuration system
2014-12-16 16:02:21 -06:00
Gregory Nutt
ca757af8fb
Add basic board support for the DK-TM4C129X Connected Development Kit. The initial commit is simply the TM4C123G Launchpad with naming changes
2014-12-16 15:29:14 -06:00
Gregory Nutt
30990b43ef
Remove EXPERIMENTAL dependency from the Traveler game. It is basically functional now.
2014-12-16 15:27:36 -06:00
Gregory Nutt
b080940701
Update README files
2014-12-16 14:58:25 -06:00
Gregory Nutt
79b736d43a
Fix some typos ADXL (adxl) vs ADX1 (adx1)
2014-12-16 13:50:58 -06:00
Gregory Nutt
cb207d5298
A few bugs/typos introduced with my last change
2014-12-16 12:33:41 -06:00
Gregory Nutt
d818ab5e35
Update the ADXL345 interface following the current interface scheme
2014-12-16 11:45:28 -06:00
Gregory Nutt
ae18f9dacd
Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg()
2014-12-16 09:54:32 -06:00
Gregory Nutt
10863af628
Add ADXL345 accelerometer driver. From Alan Carvalho de Assis
2014-12-16 08:16:53 -06:00
Gregory Nutt
e513ed9df8
Forgot to add file before last commit
2014-12-16 07:48:58 -06:00
Gregory Nutt
fd40ea4328
Freedom-KL25Z: Add board specific code to interface with ADXL345 driver. From Alan Carvalho de Assis
2014-12-16 07:48:22 -06:00
Gregory Nutt
4aa9320da9
Update README files
2014-12-15 19:01:40 -06:00
Gregory Nutt
df30780f37
Various fixes to traveler joystick input logic and to simulated joystick device
2014-12-14 12:23:19 -06:00
Gregory Nutt
6e1084116b
SIM: Add an X11 mouse-based simulation of an analog joystick device
2014-12-14 10:19:07 -06:00
Gregory Nutt
253a4464ad
Traveler: Add support for analog joystick
2014-12-14 08:55:18 -06:00
Gregory Nutt
ef25e53f0b
TM4C123G LaunchPad: Update STATUS in README file
2014-12-13 07:46:05 -06:00
Gregory Nutt
b818691a3a
Tiva I2C: Fix how I2C transactions are started and some I2C error reporting
2014-12-11 12:31:42 -06:00
Gregory Nutt
47c4ce5761
TM4C123G LaunchPad: Add initialization logic for an external AT24 EEPROM. This is intended only to suppport testing of the Tiva I2C driver
2014-12-10 15:56:49 -06:00
Gregory Nutt
a026df3f95
Refresh configuration
2014-12-09 12:18:39 -06:00
Gregory Nutt
928bc5ca84
Update the Tiva I2C register definitions for the TM4C123 and TM4C129
2014-12-09 08:42:12 -06:00
Gregory Nutt
c6cc9b1030
Update README
2014-12-09 06:21:30 -06:00
Gregory Nutt
f31c72d7af
Traveler: Add logic to limit the frame rate. This is kind of a silly feature -- why would you ever want to limit the frame rate? Well, you need to that on the simulated platform to make bandwidth for other things to run like the simulated timer
2014-12-08 13:45:17 -06:00
Gregory Nutt
1e3472b487
Travel: Fix more initialization errors, mostly related to file path problems
2014-12-08 12:39:02 -06:00
Gregory Nutt
b26923b746
Extend the simulator to provide special initialization for the Traveler game
2014-12-08 10:54:58 -06:00
Gregory Nutt
847c8ba16f
Traveler: Add build configuration for the simulated target
2014-12-08 09:33:56 -06:00
Gregory Nutt
6bb03ca02d
Refresh configuration
2014-12-08 08:29:08 -06:00
Gregory Nutt
8bd5556b47
Fix compilation errors if CONFIG_DISABLE_MOUNTPOINT is selected
2014-12-08 07:14:31 -06:00
Gregory Nutt
6ea9af3736
Nucleo-f4x1re: Add pull-ups to joystick button GPIOs
2014-12-04 13:20:47 -06:00
Gregory Nutt
3cc6bee189
Nucleo-f4x1re: Fix some joystick pin definitions
2014-12-04 12:04:21 -06:00
Gregory Nutt
6d7002cf62
Nucleo-f402re: Add an option to use only a minimal set of joystick buttons. This eliminates some GPIO conflicts
2014-12-04 10:58:13 -06:00
Gregory Nutt
b844e92ffa
Nucleo-f4x1re: Add comments about pin conflicts; Fix GPIO configuration
2014-12-04 10:15:36 -06:00
Gregory Nutt
c0c455a7c9
Nucleo-F4x1RE: Fix some joystick shield logic
2014-12-04 09:37:46 -06:00
Gregory Nutt
7180175793
Nucleo-F4x1RE: Add support for an analog joystick shield. There are still some ADC issues to be worked through as of the initial commit
2014-12-03 16:41:09 -06:00
Gregory Nutt
1c4a4b9029
Update README
2014-12-03 15:31:33 -06:00
Gregory Nutt
69fcd1c048
SAMA5D3 Xplained: A few fixes for the AJoystick driver (still not working)
2014-12-03 14:33:00 -06:00
Gregory Nutt
1f2447502f
SAMA5D3 Xplained: Add support for the Itead Joystick shield
2014-12-03 12:24:23 -06:00
Gregory Nutt
1117041564
Refresh configuration
2014-12-03 09:37:37 -06:00
Gregory Nutt
76906110b0
Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee
2014-12-01 06:41:30 -06:00
Gregory Nutt
9bd9b5ad78
Update README
2014-11-28 18:17:49 -06:00
Gregory Nutt
7c29a1ebb2
STM3210E-EVAL: Add missing initialization for the joystick driver
2014-11-28 15:41:37 -06:00
Gregory Nutt
421c81b315
STM3210E-EVAL: Add a DJoystick driver
2014-11-28 13:31:09 -06:00
Gregory Nutt
33cfa5d8ba
STM3210E-EVAL: Don't treat joystick as buttons if the DJOYSTICK driver is enabled
2014-11-28 12:05:08 -06:00
Gregory Nutt
c5cb99d04e
Refresh configuration
2014-11-28 11:48:48 -06:00
Gregory Nutt
b4a85739ef
STM3210E-EVAL: Rename files for compatibility with current standards
2014-11-28 11:35:47 -06:00
Gregory Nutt
1aafbbdc97
STM3240G-EVAL: Rename files for compatibility with current naming conventions
2014-11-28 11:06:43 -06:00
Gregory Nutt
a92b01e9fb
Refresh configuration
2014-11-28 11:05:39 -06:00
Gregory Nutt
57e57bba36
LPC4357 EVB: Ooops got sense of the LED GPIO backward
2014-11-27 12:38:04 -06:00
Gregory Nutt
5268a1e4bb
LPC4357-EVB: Fix LEDs; comment out old unimplemented button stuff
2014-11-27 10:28:32 -06:00
Gregory Nutt
17fe02eac3
Minor change to README file
2014-11-27 09:14:58 -06:00
Gregory Nutt
084fe072fc
Fix minor typos in C comments
2014-11-27 07:57:32 -06:00
Gregory Nutt
6e6435d438
Fix replicated typo in most of the newly added lpc4357-evb files
2014-11-26 18:34:00 -06:00
Gregory Nutt
6b7718dc2f
Add some discussio of the LPC4357 to documentation and README files
2014-11-26 16:44:25 -06:00
Gregory Nutt
878128e040
Misc changes while verifying the clean build of the LPC4357 port
2014-11-26 15:37:54 -06:00
Gregory Nutt
70981eb7d5
Initial support for the LPC4357-EVB provided by Toby Duckworth
2014-11-26 15:18:24 -06:00
Gregory Nutt
2ab604f74f
Fix more issues detected by cppcheck
2014-11-25 14:25:02 -06:00
Gregory Nutt
2994448d85
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:15:09 -06:00
Gregory Nutt
a78ad24213
If SAM4E-EK is selected, then configs/Kconfig must select ARCH_PHY_INTERRUPT
2014-11-25 08:08:58 -06:00
Gregory Nutt
6f1d62e4cc
Nucleo F4x1RE: Stangeness in initialization noted by Sébastien Lorquet
2014-11-24 12:33:24 -06:00
Gregory Nutt
0dae05bda4
Nucleo F4x1RE: Typos in previously untested code. message() does not exist, return value from void function, missing inclusion of errno.h. From Sébastien Lorquet
2014-11-24 11:29:22 -06:00
Gregory Nutt
8c05e06046
Fix BAS configuration from last change; refresh STM32 F4 NSH configuration
2014-11-24 09:12:56 -06:00
Gregory Nutt
6a3a2f466c
Update comments and README
2014-11-24 07:25:40 -06:00
Gregory Nutt
15c07e0d67
Network: Misc changes to UDP bind logic for the case of multiple networks
2014-11-21 17:00:08 -06:00
Gregory Nutt
7fa3362ab4
Update READMEs
2014-11-21 14:05:20 -06:00
Gregory Nutt
690d9fc268
apps/examples/bridge: Lots of fixes. I think it is working although I have still have host firewall issues in testing
2014-11-21 10:16:19 -06:00
Gregory Nutt
71d27ec3da
apps/examples/bridge: Add host-side test driver
2014-11-21 08:20:25 -06:00
Gregory Nutt
5d231b25f0
SAMA5D3 Xplained: Add an apps/examples/bridge configuration
2014-11-20 16:24:30 -06:00
Gregory Nutt
589f91f7d8
Update README
2014-11-20 14:18:30 -06:00
Gregory Nutt
86c0ef71f2
Refresh STM32F429i Disco USB NSH configuration
2014-11-20 07:55:30 -06:00
Gregory Nutt
cba8179c28
STM32 F4 OTGHS device controller driver from Brennan Ashton
2014-11-20 07:19:04 -06:00
Gregory Nutt
8b8dd03e92
Freedom K25Z: Fix missing file inclusion in board Makefile. From Alan Carvalho de Assis
2014-11-19 07:17:46 -06:00
Gregory Nutt
0306ba558a
Update README
2014-11-18 14:28:27 -06:00
Gregory Nutt
2d51315e66
SAM EMAC: Fix typo in the check for successfull allocation of a timer
2014-11-18 14:20:31 -06:00
Gregory Nutt
f3995c6b0e
SAMA5D4-EK bridge configuration: Correct configuration -- PHY interfaces are RMII not MII
2014-11-17 17:44:49 -06:00
Gregory Nutt
fd236ee641
Due to limitations in port unique-ness, have to use unique port numbers in apps/examples/bridge for now
2014-11-17 15:40:37 -06:00
Gregory Nutt
2275045b26
SAMA5D4-EK bridge configuration needs to set software MAC address
2014-11-17 13:16:13 -06:00
Gregory Nutt
a1598152d1
Update ChangeLog
2014-11-17 12:48:01 -06:00
Gregory Nutt
ee50831a5f
Change SAMA5D4-EK bridge configuration so that runs out of DRAM
2014-11-17 12:03:40 -06:00
Gregory Nutt
031c06002b
configs/sama5d4-ek/bridge: Add a simple test for the dual EMACs on the SAMA5D4
2014-11-17 10:56:02 -06:00
Gregory Nutt
57bcb28991
changes for clean build with Ethernet+SLIP
2014-11-16 11:27:53 -06:00
Gregory Nutt
29dc5916af
Change CONFIG_NET_RECEIVE_WONDOW to CONFIG_NET_ETH_TCP_RECVWNDO or CONFIG_NET_SLIP_TCP_RECVWNDO in all defconfig files
2014-11-16 10:49:33 -06:00
Gregory Nutt
72f0145f69
Refresh configuration
2014-11-16 09:36:08 -06:00
Gregory Nutt
d6680d8524
Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU in all configs/ README.txt files
2014-11-16 08:18:56 -06:00
Gregory Nutt
307d869429
Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU is all configuration files
2014-11-16 08:07:16 -06:00
Gregory Nutt
51adb90e9a
Network: Update SLIP configuration; Fix compile issues when building SLIP only
2014-11-15 14:36:49 -06:00
Gregory Nutt
240b688001
STM32F4Discovery netnsh configuration needs to set MAC address
2014-11-15 08:32:12 -06:00
Gregory Nutt
388ef8db1a
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
2014-11-15 08:22:51 -06:00
Gregory Nutt
ebdff66c8b
ARP: Add support for the case where there are multiple networks: One being Etherenet and the other not (say slip or perhaps someday PPP). In that case, we need to suppress ARP-related operations on the SLIP/PPP interface only
2014-11-14 18:25:33 -06:00
Gregory Nutt
66dbce8cf6
Cosmetic updates; updates to README
2014-11-14 09:54:00 -06:00
Gregory Nutt
13b58a3c2a
EFM32GG-STK3700: Increase LEUART0 baud to 9600; Calibrate delay loop
2014-11-14 06:33:54 -06:00
Gregory Nutt
321d829552
merge
2014-11-13 08:43:53 -06:00
Gregory Nutt
9129391ab1
Refresh configuration
2014-11-13 08:40:11 -06:00
Gregory Nutt
250e474951
Update configuration
2014-11-13 08:08:50 -06:00
Gregory Nutt
5286205790
Merge remote-tracking branch 'origin/master' into maxargs
2014-11-13 06:12:20 -06:00
Gregory Nutt
fcffafee30
Remove CONFIG_MAX_TASK_ARGS from all Kconfigs and defconfigs
2014-11-12 18:02:19 -06:00
Gregory Nutt
212e48a6dc
Update document and README
2014-11-12 14:47:04 -06:00
Gregory Nutt
9160054188
EFM32: Tweaks to get EFM32GG-STK3700 running NSH over LEUART0
2014-11-12 12:50:09 -06:00
Gregory Nutt
8464143d8b
Updates the px4fmu-v2_upstream config using menuconfig. From Lorenz Meier.
2014-11-12 07:38:16 -06:00
Gregory Nutt
333824c32b
Update README files
2014-11-11 09:36:33 -06:00
Gregory Nutt
2818e905c7
Refresh configuration
2014-11-10 13:43:43 -06:00
Gregory Nutt
3c6dd42e28
Remove stm32f100rc_generic board configuration
2014-11-10 07:48:48 -06:00
Gregory Nutt
781f537f3e
Merge remote-tracking branch 'origin/master' into bas24
2014-11-03 17:22:38 -06:00
Gregory Nutt
35006f48de
STM32GG Starter Kit: Misc bugfixes for clean compile of the NSH configuration
2014-11-03 17:20:03 -06:00
Gregory Nutt
e1fcd2b550
STM32GG Starter Kit: Add basic NSH configuration
2014-11-03 16:58:22 -06:00
Gregory Nutt
9a7743bae8
STM32GG Starter Kit: Add Makefile and boot logic
2014-11-03 16:26:55 -06:00
Gregory Nutt
7b9523e44d
STM32GG Starter Kit: Add Kconfig and linker script files
2014-11-03 16:22:29 -06:00
Gregory Nutt
4df8237637
EFM32GG: Add a few files for the starter kit
2014-11-03 16:13:12 -06:00
Gregory Nutt
b694658b17
Disable BINFS in the sim/bas config
2014-11-01 17:44:55 -06:00
Gregory Nutt
8bf7478e2c
Remove duplicate getopt() in BAS
2014-11-01 17:16:15 -06:00
Gregory Nutt
10d08cf4ab
New version of configs/bas: Runs BAS as an NSH builtin
2014-11-01 16:23:51 -06:00
Gregory Nutt
48a8815134
Back out configs/sim/bas
2014-11-01 15:52:08 -06:00
Gregory Nutt
8a7f49b98e
Add configs/sim/bas
2014-11-01 15:26:41 -06:00
Gregory Nutt
274002a8e1
Update document and README
2014-10-30 10:24:42 -06:00
Gregory Nutt
23a2c0a9d3
Fix all yahoo links. From Magnus Templing
2014-10-30 09:39:23 -06:00
Gregory Nutt
4384a26c88
Fix typo introduced into a Kconfig file in the last few days. Thanks to Sebastien Lorquet
2014-10-30 08:18:58 -06:00
Gregory Nutt
f9d1bad0b5
Remove some dangling whitespace
2014-10-30 06:57:43 -06:00
Gregory Nutt
b3c790597f
Documentation Update
2014-10-30 06:56:30 -06:00
Gregory Nutt
1cc5ac8bcb
SAM4E-EK: Fix an error in USART1 pin number
2014-10-29 17:29:21 -06:00
Gregory Nutt
5184952c7a
EFM32 Gecko Starter Kit: Calibrate delay loops, update README
2014-10-29 12:31:55 -06:00
Gregory Nutt
4d7a88264b
EFM32 Gecko Starter Kit: Switch to LEUART0 as the default console
2014-10-29 11:43:03 -06:00
Gregory Nutt
47a8e614e8
EFM32: Minor serial interrupt mask change; Add LEUART0 board support
2014-10-29 08:04:29 -06:00
Gregory Nutt
8a17a264ff
Fix a few more EFM32 integration bugs
2014-10-28 19:02:21 -06:00
Gregory Nutt
b9814fac99
EFM32: Need to configure UART GPIOs as outputs
2014-10-28 14:50:15 -06:00
Gregory Nutt
9e773f396e
EFM32: Fix GPIO configuration logic; Add missing board initializatin logic; Fix LED naming
2014-10-28 10:39:57 -06:00
Gregory Nutt
f2a2e6b645
EFM32G: Fix typo in memory map header file
2014-10-28 09:26:06 -06:00
Gregory Nutt
947c896c45
EFM32: Correct a typo in LFXO bit in clock configuration
2014-10-28 08:59:27 -06:00
Gregory Nutt
1c8bf0c395
EFM32: Update a configuration; Compile fix for when DEBUG is enabled
2014-10-28 07:24:04 -06:00
Gregory Nutt
cf5e0c1b39
Refresh a configuration
2014-10-28 00:11:40 -06:00
Gregory Nutt
c232e6ff29
Refresh configuration
2014-10-27 13:12:19 -06:00
Gregory Nutt
0f1ba777f0
Rename CONFIG_STM32_HAVE_USARTn to CONFIG_STM32_HAVE_UARTn for n-4,5,7,8
2014-10-27 11:29:43 -06:00
Gregory Nutt
4aeb728aca
SAM4E-EK: Add -fno-strict-aliasing
2014-10-25 15:23:14 -06:00
Gregory Nutt
de08cc54fd
EFM32: Correct handling of DMA descriptors; Add initialization of DMA CTRLBASE
2014-10-25 14:55:02 -06:00
Gregory Nutt
9573023529
SAM4E-EK: Add support for PHY insterrupt
2014-10-24 12:28:57 -06:00
Gregory Nutt
628ad4c975
Kconfig: Allow select of standard board properties for custom board
2014-10-24 09:57:32 -06:00
Gregory Nutt
b7a35c1e65
SAM4E: Fix options to select GPIO interrupts in Kconfig
2014-10-24 09:29:01 -06:00
Gregory Nutt
1841895042
Refresh SAM4E configurations
2014-10-23 10:16:00 -06:00
Gregory Nutt
c8b4ab7383
Add README for non-existent port to the EFM32GG-STK3700; fix typos in related README files
2014-10-22 14:32:25 -06:00
Gregory Nutt
7906fe0d4f
Add logic to manage BC_EN signal
2014-10-22 14:27:05 -06:00
Gregory Nutt
d930f2cdbc
EFM32: Add buton interrupt handling for the Olimex board
2014-10-21 13:51:30 -06:00
Gregory Nutt
37e08c3b49
The olimex-efm32g880f128-stk now defaults to use LEUART1 as the serial console. Also fixes lots of compile bugs from the original LEUART checkin
2014-10-21 11:38:51 -06:00
Gregory Nutt
d273686d42
EFM32: Add LFA and LFB clock support
2014-10-21 10:45:33 -06:00
Gregory Nutt
9537715ebb
stm32f429i-disco: add wrapper for spi5 evice
...
initializing
As long as the method up_spiinitialize recognized the initialized state of the
spi device by the spi enable flag of the cr1 register, it isn't safe to disable
the spi device outside of the nuttx spi interface structure. But this has to be
done as long as the nuttx spi interface doesn't support bidirectional data
transfer for multiple devices share one spi bus. This wrapper store the
initialized state of the spi device after the first initializing and should be
used by each driver who shares the spi5 bus.
Note! Understand this as temporary workaround.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:36:11 -06:00
Gregory Nutt
c6c5a221e9
stm32f429i-disco: add new platform config
...
This adds a new default platform configuration to support the lcd device
connected to the stm32f429i-disco board.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:33:25 -06:00
Gregory Nutt
7a217f1015
stm32f429i-disco: enable usage of ili93414ws
...
This enables build and configuration of the ili94314ws sub driver.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:24:24 -06:00
Gregory Nutt
17af388456
stm32f429i-disco: implements lcd initializing
...
This enables the initializing of the lcd device connected on the
stm32f429i-disco. The following methods are provided:
- up_lcdinitialize
- up_lcduninitialize
- up_lcdgetdev
The corresponding ili9341 lcd device in the nuttx driver section can be
configured by Kconfig. Interface 0 is used by default.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:21:48 -06:00
Gregory Nutt
b8b9834ae9
stm32f429i-disco: implements ili9341 interface
...
This add a new sub driver ili93414ws which implements the ili9341
interface. This allows to control the ili9341 lcd display of the
stm32f429i-disco board. This also modifies the board specific header to
make the entry point to the sub driver known.
Generally the display supports two different ways to drawing pixel data. This
can be done by RGB interface or MCU interface. Second one is supported by this
driver.
The configuration of the MCU interface is fixed by the hardware pinout.
In the case of the stm32f429i-disco board it is a 4-wire serial (spi)
interface. The display is connected on spi5 and acts as a slave device.
It supports half duplex bidirectional mode for transmitting and receiving data.
Nuttx spi interface only support full duplex so the interface can not be used
for the driver in conventional way. Therefore the driver has its own logic for
the communication with the spi5 device.
But if multiple devices share the same spi5 bus, e.g. if MEMS support enabled
the spi bus must be locked to avoid inconsistency. This is done by enable
CONFIG_STM32_SPI5 in the nuttx configuration. In this case the driver uses the
spi_dev_s instance for the spi5 port to interact with the nuttx spi interface,
e.g. using method SPI_LOCK to lock the bus for the current usage. So it is safe
to share the spi bus. Keep in mind this is a possible workaround.
I would be happy if nuttx spi interface supports different spi modes other
than full duplex only. Are there any plans?
Futhermore the driver supports a few configurable settings:
1. SPI Frequency.
This allows to configure the spi frequency for the communication with the
display. As a result of the spi devices of the stm32f429 only allow fixed
frequency by divider depending on PCLK1, it is not possible to configure each
spi clock we want. A divider of 4, what means ~10Mhz spi clock, gives me the
best results and should be near the upper limit.
2. SPI 16-bit mode.
This allows to setup the spi hardware to 16-bit mode for read or write
operations when receiving or transmitting pixel data from or to the gram of the
display. This is not documented in the ili9341 reference manual but this trick
works just fine because we use only one read or write operation for each pixel,
instead two. This gives a small performance boost.
The driver implements all functions described in the header (see
include/nuttx/lcd/ili9341.h).
Note! Using the backlight function has no effect, because the board
doesn't support controlling of the backlight in the current hardware
layout.
Todo: Add support for dma transfer for writing pixel data to the displays gram.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:17:56 -06:00
Gregory Nutt
bce6a9e077
stm32f429i-disco: Fix obsolete SPI5 dependency. From Marco Krahl
2014-10-20 15:10:50 -06:00
Gregory Nutt
b505c11e48
Update README files
2014-10-20 15:08:35 -06:00
Gregory Nutt
01984fe6e7
Add board support for the Olimex EFM32G8809128 STK
2014-10-20 12:00:37 -06:00
Gregory Nutt
4fb5e6d05d
EFM32 Gecko Starter Kit: Must initialize LEDs on boot
2014-10-20 11:52:31 -06:00
Gregory Nutt
1f60e40115
Merge branch 'efm32'
2014-10-20 08:15:53 -06:00
Gregory Nutt
5fa6188c55
Add some UART configuration logic (still incomplete)
2014-10-19 16:42:15 -06:00
Gregory Nutt
6839ac9c60
Basic clock configuration logic
2014-10-19 11:08:56 -06:00
Gregory Nutt
c82488f1a0
Add frame for EFM32 GPIO logic (empty functions)
2014-10-18 18:40:08 -06:00
Gregory Nutt
5ffef498c6
Need to enable the standard serial driver for NSH
2014-10-18 16:15:14 -06:00
Gregory Nutt
c15f07dba3
Use UART0 for the serial console
2014-10-18 12:47:45 -06:00
Gregory Nutt
c71e687089
Add board XTAL definitions
2014-10-18 12:07:34 -06:00
Gregory Nutt
aae510ac5b
Add EFM32 CMU header file
2014-10-18 09:26:56 -06:00
Gregory Nutt
452b1f3c3a
Add EFM32 Memory Maps
2014-10-17 16:43:52 -06:00
Gregory Nutt
848ca3e9cc
Add GPIO header file and EFM32 Gecko Starter Kit LED support
2014-10-17 14:17:44 -06:00
Gregory Nutt
598ebd29a2
More EFM32 files and logic
2014-10-17 12:02:32 -06:00
Gregory Nutt
fd8a610e4d
Add EFM32 interrupt vector defintions
2014-10-17 10:34:39 -06:00
Gregory Nutt
be389f411b
Add configuration support for the EFM32 Gecko Starter Kit
2014-10-17 09:25:52 -06:00
Gregory Nutt
aff4cce380
Add directory for EFM32 G8XX STK board
2014-10-17 08:43:06 -06:00
Gregory Nutt
dbaf8096b8
Typo
2014-10-17 08:37:59 -06:00
Gregory Nutt
81f013ddb8
Update README
2014-10-15 07:27:54 -06:00
Gregory Nutt
5dd5290883
Rename configs/nucleo-f401re to configs/nucleo-f4x1re
2014-10-15 07:05:08 -06:00
Gregory Nutt
e659533329
Extend the Nucleo-F401RE configuration to also support the Nucleo-F411RE. From Serg Podtynnyi
2014-10-14 17:32:13 -06:00
Gregory Nutt
74d8218618
Trivial update to README file
2014-10-13 12:05:49 -06:00
Gregory Nutt
276cb2b65b
Add SAM4E OpenOCD scripts
2014-10-13 09:48:46 -06:00
Gregory Nutt
872e9fce26
Cosmetic update to comments
2014-10-12 10:53:29 -06:00
Gregory Nutt
a8a4622fe1
Update STM3240G-EVAL nxwm and knxwm configurations
2014-10-12 09:41:08 -06:00
Gregory Nutt
c9d7472d68
Change naming of HP work queue configuration varaibles to be symmetric with LP work queue naming
2014-10-11 17:03:44 -06:00
Gregory Nutt
4c2a14348a
Refresh configuration
2014-10-11 16:26:46 -06:00
Gregory Nutt
b78fe7c270
Rename CONFIG_SCHED_USRWORK to CONFIG_LIB_USRWORK
2014-10-11 15:59:40 -06:00
Gregory Nutt
9292e3d9de
Decouple the user-space work queue from the kernel space work queues
2014-10-11 15:50:22 -06:00
Gregory Nutt
5671ebeab3
Enable TCP write buffering in one SAM4E-EK configuration
2014-10-11 13:03:07 -06:00
Gregory Nutt
111270389d
Update a README; Refresh a configuratino
2014-10-11 12:01:33 -06:00
Gregory Nutt
91f5ecc347
fs/aio/aio.h needs to disable itself is CONFIG_FS_AIO is not defined
2014-10-09 10:45:43 -06:00
Gregory Nutt
4efb064169
Remove non-standard, conditional syslog_enable(), instead only the required, standard setlogmask()
2014-10-09 06:09:03 -06:00
Gregory Nutt
176491ce75
Misc changes to get a clean build after all of the syslog changes. There are probably other things still broken
2014-10-08 16:23:48 -06:00
Gregory Nutt
27a7f8b018
Remaining files under nuttx/configs changed to use the corrected syslog interfaces
2014-10-08 15:32:00 -06:00
Gregory Nutt
c91669ea47
All USB Composite-related files under nuttx/configs changed to use the corrected syslog interfaces
2014-10-08 15:13:00 -06:00
Gregory Nutt
8c1e954b84
All USB MSC-related files under nuttx/configs changed to use the corrected syslog interfaces
2014-10-08 14:59:10 -06:00
Gregory Nutt
f40857c04f
All NSH-related files under nuttx/configs changed to use the corrected syslog interfaces
2014-10-08 14:28:55 -06:00
Gregory Nutt
868fa211bc
Remove non-functional vestiges of OTGHS in FS mode (including OTGFS2); try to convert the stm32f429i-disco configuration to use OTGHS instead of OTFHS in FS mode (OTGFS2). But I don't have the boards and can't test
2014-10-07 15:25:31 -06:00
Gregory Nutt
a86d459eb6
Refresh sim/ostest configuration
2014-10-05 13:28:05 -06:00
Gregory Nutt
7df821b7b9
Update README
2014-10-03 09:56:05 -06:00