Commit Graph

30719 Commits

Author SHA1 Message Date
Gregory Nutt
a29a168086 Spirit + 6LoWPAN: In STAR configuration, Spirit must use a configured well known hub address. 6LoWPAN cannot assume that the PAN coordinator is the STAR hub; it must ask the radio to provide it with the address of the star hub 2017-08-05 09:13:29 -06:00
Gregory Nutt
c2fbef2062 b-l475e-iot01a: Add configurations to support a star topology. 2017-08-05 07:53:55 -06:00
Gregory Nutt
c07daace32 B-L475E-IOT01A: Make spirit-6lowpan configuration match what is currently under test: Enable multicast, broadcast, but disable CRC support. Currently CRCs are not working right. 2017-08-04 15:26:04 -06:00
Gregory Nutt
5d96385c52 Spirit: Increase number of retries if there is no acknowledgement; Add interrupt handling for the case where the max number of retries expires. Fix some badly implemented queue management code. With these changes the basic UDP and TCP tests work. 2017-08-04 15:20:10 -06:00
Gregory Nutt
8027d1bf18 Spirit: Enable AutoACK, TX retries, and RX timeouts in the network driver. 2017-08-04 13:16:07 -06:00
Jeff
25e4fb2886 tools/mkdeps.c: Eliminate a warning. MAX_PATH may already be defined in included system files. 2017-08-04 12:25:38 -06:00
Gregory Nutt
44c59f7533 Update a README 2017-08-04 12:19:59 -06:00
Gregory Nutt
0d551cd0ac Spirit: Convert network driver to use STack packets vs. Basic packets. We need to use the STack packets in order to provide the source address. 2017-08-04 12:19:59 -06:00
Gregory Nutt
df51b69895 Spirit: Commit some trivial changes in preparation for a more substantial change. 2017-08-04 12:19:59 -06:00
Gregory Nutt
733d96cf81 Spirit: Correct setting of the length width field; Add multicast and broadcast addresses to radio properities. 2017-08-04 12:19:59 -06:00
Gregory Nutt
f6ebcc2220 Spirit network driver: Need to enable sending of TX address. Moved some non-optional settings out of board.h to driver. 2017-08-04 12:19:58 -06:00
Gregory Nutt
e8738e1f55 Minor update to some comments. 2017-08-04 09:00:58 -06:00
Gregory Nutt
bbc06dcd8e RAMTRON: Should be able to select chunked write mode via a configuration option, not by editing the file. 2017-08-04 08:49:07 -06:00
Boris Astardzhiev
79ee0a5209 RAMTRON: Add support for splitting block writes in chunks. Some Re-RAMs like MB85AS4MT has a write buffer size limitation. 2017-08-04 08:12:59 -06:00
Jussi Kivilinna
9fc5f44ef6 syslog: CONFIG_CLOCK_MONOTONIC 2017-08-04 08:02:52 -06:00
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