Commit Graph

3019 Commits

Author SHA1 Message Date
Gregory Nutt
51b7668859 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-27 09:01:15 -06:00
Gregory Nutt
f2f798cb29 pthread mutexes: Finish logic to support configuration mutex robustness. 2017-03-27 08:50:45 -06:00
Gregory Nutt
666208cf23 pthread mutexes: Add option to support both unsafe and robust mutexes via pthread_mutexattr_get/setrobust(). 2017-03-26 18:37:24 -06:00
Gregory Nutt
8b3c554e45 pthreads: Add a configuration option to disable robust mutexes and revert to the traditional unsafe mutexes. 2017-03-26 17:37:28 -06:00
Gregory Nutt
a3304d206e Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-26 15:47:16 -06:00
Gregory Nutt
34c5e1c18f Minor cleanup from recent changes. 2017-03-26 14:04:07 -06:00
Gregory Nutt
6e623ce06f pthreads: Partial implementation of final part of robust mutexes: Keep list of all mutexes held by a thread in a list in the TCB. 2017-03-26 12:46:57 -06:00
Gregory Nutt
363403fb1f pthreads: Add more robustness characteristics: pthread_mutex_lock() and trylock() will now return EOWNERDEAD if the mutex is locked by a thread that no longer exists. Add pthread_mutex_consistent() to recover from this situation. 2017-03-26 10:35:23 -06:00
Gregory Nutt
bacc4e9b93 Update errno values. Add new values; remove obsolete values 2017-03-26 09:22:00 -06:00
raiden00pl
be8207d493 drivers/analog: Add basic COMP driver 2017-03-25 16:50:11 +01:00
Gregory Nutt
fca35f7e52 ieee80154: A few changes (some just guesses) to get a clean compilation. 2017-03-24 14:15:13 -06:00
Gregory Nutt
b3f259e488 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-24 10:18:00 -06:00
Gregory Nutt
3a07455493 Trivial changes from review of last PR 2017-03-24 10:16:18 -06:00
Jussi Kivilinna
d0c54039dc Add ffsl(), ffsll(), fls(), flsl(), flsll() and use GCC's __builtin_ctz/__builtin_clz for faster implementation of these 2017-03-24 09:41:31 -06:00
Anthony Merlino
10d7baca10 wireless/ieee802154: Adds IOCTL definitions for accessing PHY layer 2017-03-24 11:09:45 -04:00
Anthony Merlino
7a95cc62b4 wireless/ieee802154: Moves and renames MAC preprocessor definitions 2017-03-24 11:08:31 -04:00
Anthony Merlino
f5926bd330 wireless/ieee802154: Adds ieee802154_addr_mode_e enumeration 2017-03-24 11:06:18 -04:00
Anthony Merlino
2150619d37 fs/ioctl.h: Renames RAD802154 to PHY802154 2017-03-23 14:04:06 -04:00
Anthony Merlino
0658f26a18 wireless/ieee802154: Moves common types to ieee802154.h
Since the MAC layer or the PHY radio layer can be accessed independently, common types that are used in both layers should go in a common ieee802154.h file
2017-03-23 14:00:45 -04:00
Anthony Merlino
23b472f907 wireless/ieee802154: Removes unused ieee802154.h header 2017-03-23 10:30:01 -04:00
Gregory Nutt
56559c3330 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-23 07:54:46 -06:00
Gregory Nutt
9e4052e506 Clicker2-STM32: Add some mostly bogus MAC initializatinon logic. 2017-03-23 07:20:10 -06:00
Gregory Nutt
40a8ef3c00 Clicker2-STM32: Add logic to register the MRF24J40 radio character device. 2017-03-23 06:58:54 -06:00
Gregory Nutt
3fb0a00c35 Small changes from review of last PR. Plus spacing and typo fix. 2017-03-22 17:32:52 -06:00
Gregory Nutt
22651dcae2 Clicker2-STM32: Add framework for MRF24J40 support. Untested and still some missing logic. 2017-03-22 15:20:05 -06:00
Gregory Nutt
0be851d339 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-22 14:26:20 -06:00
Brian Webb
0a95536b85 Adds driver support for the XBox One controller. Currently only the latest version (XBox One X) controller works. The older XBox One controllers do not enumerate correctly. 2017-03-17 20:48:21 -07:00
Gregory Nutt
b03d46d36d Fix merge conflict 2017-03-16 07:06:35 -06:00
Anthony Merlino
c1dfbe5dcf Merged in merlin17/nuttx/ieee802154 (pull request #273)
fs/ioctl.h: Changes _MAC854 to _MAC802154 and creates _RADIO802154

Approved-by: Gregory Nutt
2017-03-16 00:53:13 +00:00
Gregory Nutt
938f7341f2 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-15 16:58:42 -06:00
Gregory Nutt
f9c22461c4 include/nuttx/fs/ioctl.h: Fix IOCTL numbering 2017-03-15 16:38:09 -06:00
Anthony Merlino
a492a05e34 fs/ioctl.h: Changes _MAC854 to _MAC802154 and creates _RADIO802154 2017-03-15 18:14:56 -04:00
Gregory Nutt
89a907a582 Bring closer to NuttX coding standard. 2017-03-15 16:11:36 -06:00
Gregory Nutt
fbd7e2ae34 Bring closer to NuttX coding standard. 2017-03-15 16:08:56 -06:00
Gregory Nutt
15b2046748 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-15 14:32:05 -06:00
Gregory Nutt
57a1360c84 Add option to enable wireless debug output. 2017-03-15 14:31:01 -06:00
Gregory Nutt
fbc6415ca7 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-15 13:11:13 -06:00
Gregory Nutt
4a93b0dc0c Update comments. 2017-03-14 08:44:56 -06:00
Gregory Nutt
5f5b20ab74 Cosmetic update to some spacing and comments. 2017-03-13 13:15:49 -06:00
Gregory Nutt
8514df95f0 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-13 10:37:03 -06:00
Gregory Nutt
888cff30dc Fix some errors in the previous commit 2017-03-13 10:14:38 -06:00
Gregory Nutt
b808084e57 Move wireless IOCTLs from include/nuttx/net/ioctl to include/nuttx/wireless/wireless.h. Add some linux compatible structures to use with the IOCTL commands. 2017-03-13 09:51:31 -06:00
Sebastien Lorquet
b5824d0993 Merge branch 'master' into ieee 2017-03-13 16:51:05 +01:00
Gregory Nutt
b9bb9ea853 Fix a typo in the last commit. 2017-03-12 12:59:59 -06:00
Gregory Nutt
430b52c977 Networking: Add registration support for integrated ieee80211 wireless drivers. Rename CONFIG_IEEE802154 to CONFIG_WIRELESS_IEEE8021514 following the convention of including the location of the configuration variable as a part of its name. 2017-03-12 12:50:41 -06:00
Simon Piriou
e10ce5ce51 Photon: add basic support for wlan chip 2017-03-12 16:57:59 +01:00
Leif Jakob
5534e0c493 multiple fixes in nrf24l01 driver
- signal POLLIN if there is already data in the FIFO
- send ETIMEDOUT to userspace after 2 seconds if TX IRQ was not received
- handle FIFO overflow
- handle invalid pipes/empty FIFO
- multiple cosmetics (missing static, duplicate define, missing \n)
2017-03-10 23:21:49 +01:00
David Sidrane
60d8606b19 Priority Inversion fixes:Initalization 2017-03-10 06:38:17 -10:00
Gregory Nutt
360539afac Priority inheritance: When CONFIG_SEM_PREALLOCHOLDERS==0, there is only a single, hard-allocated holder structure. This is problem because in sem_wait() the holder is released, but needs to remain in the holder container until sem_restorebaseprio() is called. The call to sem_restorebaseprio() must be one of the last things the sem_wait() does because it can cause the task to be suspended. If in sem_wait(), a new task gets the semaphore count then it will fail to allocate the holder and will not participate in priority inheritance. This fix is to add two hard-allocated holders in the sem_t structure: One of the old holder and one for the new holder. 2017-03-10 09:30:15 -06:00
Sebastien Lorquet
7e19f4014e Merge branch 'master' into ieee
Conflicts (fixed):
	drivers/wireless/ieee802154/mrf24j40.c
	include/nuttx/fs/ioctl.h
2017-03-09 14:28:52 +01:00