Commit Graph

30554 Commits

Author SHA1 Message Date
Juha Niskanen
0113b0db95 drivers: handle I2C_TRANSFER return value consistently. Some I2C peripherals transfers return zero on success, others number of completed transfers. Make drivers robust against this. 2017-08-04 07:31:36 -06:00
Gregory Nutt
4cc13f8d94 Simulator: x86 stack needs to be aligned to 16-byte boundaries. 2017-08-04 07:03:39 -06:00
Gregory Nutt
36e7a18181 spirit: Modify reg needs to toggle CS to get the correct status. Remove some delbug left in last commit. make sprit_unlock an inline function. 2017-08-03 15:15:15 -06:00
Gregory Nutt
d2b5078e01 Spirit: Mostly cosmetic fixes to names and comments. Tx timeout should run on the HP work queue. 2017-08-03 11:47:38 -06:00
Gregory Nutt
76c9ef4844 Spirit: Fix a few RX-related issues. 2017-08-03 11:08:33 -06:00
Jussi Kivilinna
81b5118727 mm_mallinfo: do heap end debug assert check with heap semaphore held 2017-08-03 10:01:26 -06:00
Jussi Kivilinna
027a446158 poll: fix poll for regular files and block devices. Open Group documentation tells that poll (and select) support regular files and that 'Regular files shall always poll TRUE for reading and writing'. 2017-08-03 09:58:20 -06:00
Gregory Nutt
b3e788e11b Spirit: Fix typos in conditional compilation. Add debug output. Remove extra clear of pending interrupts, could cause missing interrupts. Add spirit_reg_modify() which is not currently used. 2017-08-03 09:55:30 -06:00
Gregory Nutt
8a785c4b66 Spirit Network Device: Fix a deadlock. Also several other design improvements to eliminate corner cases. 2017-08-03 08:37:05 -06:00
Gregory Nutt
d5e7ebed02 configs/stm32f746g-disco: Remove inclusion of STm32-specifiy header files from board.h 2017-08-02 17:34:29 -06:00
Ivan Ucherdzhiev
e0fd3a2d11 Fix for stm32f746g-disco board for button support with interrupt. This change is tested with buttons app example and it is working with interrupts (signals). I tried the test with polling but at this point it doesn't work. 2017-08-02 17:28:55 -06:00
Gregory Nutt
1029f06321 b-l475e-iot01a: crude update to +CONFIG_BOARD_LOOPSPERMSEC. Not precise. 2017-08-02 17:11:24 -06:00
Gregory Nutt
fecc12df38 Update a README 2017-08-02 14:34:24 -06:00
Gregory Nutt
0579825b69 Fix some errors in IOCTL decoding macros 2017-08-02 14:28:17 -06:00
Gregory Nutt
1ae9748170 Networking: Add support for some packet radio IOCTL commands; Spirit: Fix a few bugs from testing. 2017-08-02 11:53:03 -06:00
Gregory Nutt
42b3ee4cfc Fix a few errors that crept in with my review changes. 2017-08-02 09:19:29 -06:00
Gregory Nutt
0960b50f3f Changes from review of 6f94e4e9e7 2017-08-02 08:36:17 -06:00
Gregory Nutt
5f2d4b8f84 Changes from review of commit e851a24329 2017-08-02 08:26:08 -06:00
Gregory Nutt
a6fa3b311d b-l475e-iot91a: Add apps/examples/nettest and eamples/udp to Spirit1 configuration. Add telnet support. fix driver statistics configuration. 2017-08-02 07:01:42 -06:00
Masayuki Ishikawa
0a05f3a492 Merged in masayuki2009/nuttx.nuttx/lc823450 (pull request #450)
lc823450 support

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-08-02 12:48:09 +00:00
Masayuki Ishikawa
6f94e4e9e7 configs/lc823450-xgevk: LC823450-XGEVK board support
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-08-02 21:10:15 +09:00
Masayuki Ishikawa
e851a24329 arch/arm/src/lc823450: Initial support for ON Semiconductor LC823450
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-08-02 21:09:43 +09:00
Gregory Nutt
fee6653cb4 network procfs: Fix so that PktRadio address are shown correctly 2017-08-01 17:21:13 -06:00
Gregory Nutt
1275c3e249 Spirit: Network driver needs to setup IP address based on configured node address. If no node address is provided, then it will use a default. Also upate a README. 2017-08-01 16:33:34 -06:00
Gregory Nutt
735095d040 Spiri: Fixe some typos. One is critical since it is conditional compilation. 2017-08-01 15:18:40 -06:00
Gregory Nutt
09bb6ff16b Spirit: Add more debug output. Make sure device is in READY state after reset and before changing to STANDBY. 2017-08-01 13:48:59 -06:00
Gregory Nutt
ceca6c69a8 Spirit: Add a function to wait for a state change with a timeout. 2017-08-01 10:31:12 -06:00
Gregory Nutt
bd027b9019 serial.c: Use common TX drain logic when closing a driver as with the TCDRAIN IOCTL. 2017-08-01 10:14:24 -06:00
Titus von Boxberg
b7b3876e8f Merged in elbeinformatik/nuttx/NX-PR (pull request #449)
NX PR

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-08-01 15:02:14 +00:00
Gregory Nutt
2cb5ec542b Spirit: Fix a bad debug assertion. 2017-08-01 09:01:46 -06:00
Titus von Boxberg
55e9c8990c stm32_rcc: code style 2017-08-01 16:25:19 +02:00
Titus von Boxberg
a4e97d5daf Added functions for DSI clock source selection 2017-08-01 16:24:48 +02:00
Gregory Nutt
4f0238339e serial.c: Finish implementation of TCDRAIN. Based partly on logic from Sebastien Lorquet. 2017-08-01 07:39:08 -06:00
Gregory Nutt
2c504003f3 stm32f746g-disco: Make the initialization logic identical to the standard way that is done for all other board. 2017-08-01 07:02:29 -06:00
Ivan Ucherdzhiev
a9e4e02c81 Fixes for compilation of stm32f746g-disco 2017-08-01 06:50:53 -06:00
Sebastien Lorquet
e22912db37 drivers/serial/serial.c: Add support for TCFLUSH 2017-08-01 06:30:52 -06:00
Gregory Nutt
05ea22e9ab STM32F7: Fix for coding standard violations that came in with cd3ca1140e -- missed a file last time 2017-07-31 18:36:38 -06:00
Gregory Nutt
5f4fdb42be STM32F7: Fix for coding standard violations that came in with cd3ca1140e 2017-07-31 18:35:37 -06:00
Gregory Nutt
959f2042a4 IoT Board/Spirit: Fix a few issues that interfered with testing. Move console to the VCOM port (USART) for all configurations. Rename the spirit-mac configuration to spirit-6lowpan. Add lots of debug output the spirit network driver. 2017-07-31 18:26:17 -06:00
Titus von Boxberg
cd3ca1140e Merged in elbeinformatik/nuttx/NX-PR (pull request #448)
Bug fixes for STM32F769

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-08-01 00:22:37 +00:00
Titus von Boxberg
604a6dc0fa improved help text 2017-08-01 01:23:28 +02:00
Titus von Boxberg
bdee01f492 added function for reset 2017-08-01 01:23:28 +02:00
Titus von Boxberg
0947b31fbb STM32_RCC_DCKCFGR2 has nothing to do with PLLI2S; PLLI2S is not dependent on LTDC, instead on SAICLK1/2 generated from PLLI2S 2017-08-01 01:23:28 +02:00
Titus von Boxberg
9d56dbb403 comment corrected 2017-08-01 01:23:28 +02:00
Titus von Boxberg
63bce1fc34 no board specific dithering values used; corrected comment; corrected dithering init 2017-08-01 01:23:28 +02:00
Titus von Boxberg
ec95720d13 corrected LIPOS/LIPCR calculation 2017-08-01 01:23:28 +02:00
Titus von Boxberg
28a53d8e25 change only polarity bits in LTDC_GCR 2017-08-01 01:23:28 +02:00
Titus von Boxberg
5de2468521 comments corrected 2017-08-01 01:23:28 +02:00
Titus von Boxberg
69aca28e87 commented 2017-08-01 01:23:28 +02:00
Titus von Boxberg
ec43001d91 HEAP2 depends on CONFIG_ARCH_HAVE_HEAP2, not on particular FMC RAM type 2017-08-01 01:23:28 +02:00