Commit Graph

28947 Commits

Author SHA1 Message Date
Anthony Merlino
e7863aed73 configs/clicker2-stm32: Adds logic to create an 802.15.4 MAC and register a character driver 2017-03-29 14:09:27 -04:00
Gregory Nutt
68f2709078 Review from last PR 2017-03-29 11:03:10 -06:00
Gregory Nutt
3a4e8a5946 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-29 10:57:04 -06:00
Anthony Merlino
8befaa16ac Merged in merlin17/nuttx/ieee802154 (pull request #305)
wireless/ieee802154: Adds MAC character driver structure. Nonfunctional

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-29 16:55:50 +00:00
Anthony Merlino
8df78cc74b wireless/ieee802154: Adds MAC character driver structure. Nonfunctional 2017-03-29 12:51:01 -04:00
Anthony Merlino
4836534894 Merged in merlin17/nuttx/ieee802154 (pull request #304)
wireless/ieee802154: Removes ieee802154.h and makes other minor changes

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-29 16:48:16 +00:00
Anthony Merlino
8f67ec30a7 wireless/ieee802154: Removes ieee802154.h and makes other minor changes 2017-03-29 12:39:52 -04:00
Gregory Nutt
5fb222180c 6loWPAN: IEEE802.15.4 MAC driver will need a special form of the network device structure to manage fragmentation of the large packet into frames. 2017-03-29 10:17:34 -06:00
Gregory Nutt
eb344d7260 Fix an assertion noted by Jussi Kivilinna.
This was a consequence of the recent robust mutex changes.  If robust mutexes are selected, then each mutex that a thread takes is retained in a list in threads TCB.  If the thread exits and that list is not empty, then we know that the thread exitted while holding mutexes.  And, in that case, each will be marked as inconsistent and the any waiter for the thread is awakened.

For the case of pthread_mutex_trywait(), the mutex was not being added to the list!  while not usually a fatal error, this was caught by an assertion when pthread_mutex_unlock() was called:  It tried to remove the mutex from the TCB list and it was not there when, of course, it shoule be.

The fix was to add pthread_mutex_trytake() which does sem_trywait() and if successful, does correctly add the mutext to the TCB list.  This should eliminated the assertion.
2017-03-29 07:50:40 -06:00
Sebastien Lorquet
28e74ec058 Nucleo L476RG: More naming fixes. 2017-03-29 07:16:27 -06:00
Juha Niskanen
5577f58458 STM32 RNG: Fix semaphore initial value and disable priority inheritance 2017-03-29 07:12:19 -06:00
Juha Niskanen
9f3b24a4a1 STM32 F7: add stm32 RNG support. This is copied from stm32l4. Tested on STM32F746ZG board. 2017-03-29 07:08:10 -06:00
Gregory Nutt
ae5b5ae431 Add Rime address macros 2017-03-28 17:26:53 -06:00
Gregory Nutt
c3c8f8ed31 6loWPAN: Simplify some logic in send() if there is only an IEEE802.15.4 MAC 2017-03-28 16:14:58 -06:00
Anthony Merlino
e10e04728f Merged in merlin17/nuttx/ieee802154 (pull request #303)
wireless/ieee802154: Removes unnecessary define

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-28 21:40:33 +00:00
Anthony Merlino
3809f2cc97 wireless/ieee802154: Removes unnecessary define 2017-03-28 17:20:24 -04:00
Gregory Nutt
4472ed246a Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-28 15:12:19 -06:00
Anthony Merlino
abe7753e32 Merged in merlin17/nuttx (pull request #302)
configs/clicker2-stm32: Fixes minor SPI configuration issues

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-28 21:10:10 +00:00
Anthony Merlino
f6eea87c1e Merged in merlin17/nuttx/ieee (pull request #301)
wireless/ieee802154: Removes wireless path prefix from VPATH, DEPPATH

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-28 21:09:31 +00:00
Anthony Merlino
abab1e68a8 configs/clicker2-stm32: Fixes minor SPI configuration issues 2017-03-28 17:06:34 -04:00
Gregory Nutt
0fec3f9541 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-28 15:02:54 -06:00
Anthony Merlino
e360492f0c wireless/ieee802154: Removes wireless path prefix from VPATH, DEPPATH 2017-03-28 16:58:18 -04:00
Gregory Nutt
95f7d4dca7 There should not be paths on C file names in wireless/ieee802154/Make.defs 2017-03-28 14:33:45 -06:00
Gregory Nutt
4c6e4b2344 Remove some garbage from wireless/Makefile 2017-03-28 14:30:46 -06:00
Gregory Nutt
64933246c3 6loWPAN: Tie 6loWPAN send into common socket send logic. 2017-03-28 14:08:54 -06:00
Gregory Nutt
75a8ad636c 6loWPAN: Framework to support commpress/uncompress operations. 2017-03-28 12:23:19 -06:00
Gregory Nutt
25496936cc 6loWPAN: Add dummy files to handle 6loWPAN formmatted input and output packets. 2017-03-28 11:35:46 -06:00
Gregory Nutt
d9e32ee337 6loWPAN: More configurtion settings. 2017-03-28 11:16:28 -06:00
Gregory Nutt
f32fe172d4 6loWPAN: Add HC06 initialization 2017-03-28 10:47:25 -06:00
Gregory Nutt
898b769910 6loWPAN: Add framework for initialization; move globals into a separate file. 2017-03-28 09:32:52 -06:00
Jussi Kivilinna
1879f5127b Fix PTHREAD_MUTEX_INITIALIZER which was not updated with last mutex changes. 2017-03-28 09:07:32 -06:00
Gregory Nutt
913daa908a 6loWPAN: Add some more configuration settings that will be needed. 2017-03-28 09:00:25 -06:00
Sebastien Lorquet
db8b38f848 STM32 L4: More SPI clean-up. Lower case replacements. 2017-03-28 08:58:43 -06:00
Sebastien Lorquet
45a0af8c03 STM32 L4: More SPI clean-up. Lower case replacements. 2017-03-28 08:52:49 -06:00
Sebastien Lorquet
9221e15811 STM32 L4: Fix some bad naming in the SPI driver. 2017-03-28 07:28:55 -06:00
Gregory Nutt
0064dc52e5 realloc(): When realloc() has to fall back to calling malloc(), size including overhead was being provided to malloc(), causing a slightly larger allocation than needed. Noted by initialkjc@yahoo.com 2017-03-28 07:23:46 -06:00
Martin Lederhilger
91f96b6ecb drivers/analog: Add driver for the LTC1767L ADC. 2017-03-28 06:34:37 -06:00
Gregory Nutt
b0204909b2 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-27 18:16:19 -06:00
Gregory Nutt
65e95b95f2 Add a little more 6loWPAN logic 2017-03-27 18:15:20 -06:00
Gregory Nutt
dab2fb2eb3 Add a comment 2017-03-27 16:19:46 -06:00
Gregory Nutt
a522fc4f34 6loWPAN: Rename net/6lowpan to net/sixlowpan; Add Contike sixlowpan.h to include/nuttx/net 2017-03-27 14:53:52 -06:00
Gregory Nutt
6c4dac459a lcd/: PCF8574 backpack logic needs to include poll.h CONFIG_DISABLE_POLL is not set. 2017-03-27 12:28:34 -06:00
Gregory Nutt
941360bf12 Correct some spacing 2017-03-27 10:49:41 -06:00
Gregory Nutt
3fbf59e2bc MRF24J40: Take advantage of new OS features for interrupt parameter passing. 2017-03-27 10:48:58 -06:00
Gregory Nutt
b315f0d851 AT86RF23x: Clean-up, standardize lower half interface. Take advantage of new OS features for interrupt parameter passing. 2017-03-27 10:28:03 -06:00
Alan Carvalho de Assis
dbc074edab Include wcstold in C++ cwchar header file 2017-03-27 09:49:44 -06:00
Matias vo1d
5c56d8a411 Fix strange invisible characters in this declaration. 2017-03-27 09:47:02 -06:00
Gregory Nutt
77e4953fe3 Eliminate a 'make menuconfig' warning 2017-03-27 09:42:36 -06:00
Gregory Nutt
7dea99ff9d Parts of last syscall commit that were omitted. 2017-03-27 09:38:27 -06:00
Gregory Nutt
4800d3f545 Add syscall support for pthread_mutex_consistent() 2017-03-27 09:36:03 -06:00