Gregory Nutt
47793aa8f8
Update ieee802.15.4 network driver so that it compiles cleanly.
2017-05-07 08:47:48 -06:00
Anthony Merlino
a19a44ad3d
wireless/ieee802154: Completes Rx data flow through MAC layer to callback
2017-05-06 10:20:19 -04:00
Anthony Merlino
1490599b69
wireless/ieee802154: Reworks data_ind allocation to include IOB allocation/deallocation. Hides private data.
2017-05-06 10:20:19 -04:00
Anthony Merlino
88fb514b42
Merged in merlin17/nuttx/ieee802154 (pull request #351 )
...
wireless/ieee802154: Removes msdu_length from meta-data since it is intrinsically in the IOB
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-06 11:53:15 +00:00
Gregory Nutt
3fcdc28a59
ieee 802.15.4: Add a pool-based memory allocator for RX frame meta-data.
2017-05-05 12:50:34 -06:00
Gregory Nutt
0eb7ec046e
6loWPAN: Use information in struct ieee802154_data_ind_s when reassembling a packet
2017-05-05 11:36:16 -06:00
Anthony Merlino
b87fac776f
wireless/ieee802154: Removes msdu_length from meta-data since it is intrinsically in the IOB
2017-05-05 12:44:34 -04:00
Anthony Merlino
b98ba3b6fe
wireless/ieee802154: Fixes ieee802154_data_ind_s
2017-05-05 12:07:38 -04:00
Gregory Nutt
95bacb6a34
6loWPAN: Some fixed to get a clean compile after last big changes to the radio IOCTLs.
2017-05-05 10:00:18 -06:00
Anthony Merlino
dd40014279
wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and MAC closer with well-defined interface.
2017-05-05 11:15:38 -04:00
Anthony Merlino
abc15c8429
wireless/ieee802154: Finishes promiscuous mode IOCTL
2017-05-05 11:15:38 -04:00
Anthony Merlino
2c57c3f83b
wireless/ieee802154: Changes rxenable at radio layer
2017-05-05 11:15:38 -04:00
Gregory Nutt
14fc1b2d39
6loWPAN: Local MAC address is fixed by the configuration. The remote address be with short or extended.
2017-05-04 19:17:38 -06:00
Anthony Merlino
8435e93fe8
Merged in merlin17/nuttx/ieee802154 (pull request #344 )
...
wireless/ieee802154: Simplifies some primitive prototypes
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-04 19:29:48 +00:00
Gregory Nutt
d385f46130
6loWPAN: The last vestiges of MAC header generate stripped out.
2017-05-04 13:19:11 -06:00
Gregory Nutt
1cf891bbe1
Another baby step in removing MAC knowledge from 6loWPAN.
2017-05-04 11:33:22 -06:00
Gregory Nutt
6f6e61769a
6loWPAN: Remove final references to Rime from code.
2017-05-04 09:05:41 -06:00
Gregory Nutt
969c1ab614
6loWPAN: Replace some Rime address naming with more consistent short/exended address terminology
2017-05-04 08:20:59 -06:00
Gregory Nutt
6a45afdd75
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-04 07:11:19 -06:00
Jussi Kivilinna
afc46cb7ba
fixedmath: add square root and b32_t conversion operators
2017-05-04 06:50:08 -06:00
Simon Piriou
b5e1ea4bef
bcmf: fix frame not freed when dropped + cleanup
2017-05-03 23:19:28 +02:00
Anthony Merlino
ba32b65813
wireless/ieee802154: Simplifies some primitive prototypes
2017-05-03 13:26:15 -04:00
Gregory Nutt
2b8d60970b
Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154
2017-05-03 11:14:59 -06:00
Gregory Nutt
cf988309aa
6loWPAN: Fixes hang in loopback test.
2017-05-03 11:13:07 -06:00
Anthony Merlino
2c2cddd44b
wireless/ieee802154: Starts work on setting PIB attributes
2017-05-03 11:42:52 -04:00
Anthony Merlino
352d8260f2
Merged in merlin17/nuttx/ieee802154 (pull request #342 )
...
Ieee802154
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-03 15:41:50 +00:00
Gregory Nutt
858685e977
6loWPAN: Changes to use new MAC interfaces. Incomplete and needs some clean-up of dangling, unused definitions.
2017-05-03 09:40:42 -06:00
Anthony Merlino
653a0217f2
wireless/ieee802154: Finishes some IOCTL logic for MAC layer
2017-05-03 10:52:25 -04:00
Gregory Nutt
0afae22638
MAC: meta data must be const to assure that it is not modified.
2017-05-03 08:01:30 -06:00
Gregory Nutt
4ec14bb2e4
6loWPAN: Add basic call path to interface with the MAC layer through the MAC network driver. Logic has not yet been implemented. This is just a structural change in preparation for additional changes.
2017-05-02 16:03:26 -06:00
Gregory Nutt
2ece0c57dd
Remove dangling whitespace at the end of lines
2017-05-02 14:42:40 -06:00
Gregory Nutt
e94865a317
Merge remote-tracking branch 'origin/master' into photon
2017-05-02 08:49:19 -06:00
Simon Piriou
91b3efa706
Extend wireless.h with definitions needed by wext.
2017-05-02 08:41:13 -06:00
Anthony Merlino
f02d98d15e
wireless/ieee802154: Changes transmit data path to use IOBs and exposes function for getting size of MAC header
2017-05-02 09:58:54 -04:00
Mateusz Szafoni
1feaae7222
Merged in raiden00/nuttx (pull request #338 )
...
OPAMP support for STM32F33XX
2017-05-02 13:57:56 +00:00
Anthony Merlino
ea44684f0c
Merged in merlin17/nuttx/ieee802154 (pull request #339 )
...
Ieee802154
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-02 13:22:38 +00:00
Gregory Nutt
f7a28c09b0
Merge remote-tracking branch 'origin/master' into photon
2017-05-01 18:06:23 -06:00
Gregory Nutt
e87991bbdc
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-01 18:05:38 -06:00
Gregory Nutt
0e3438b854
clicker2-stm32: Add protected build knsh configuration.
2017-05-01 15:19:23 -06:00
Anthony Merlino
c4007a111c
wireless/ieee802154: Fixes semaphore logic and list logic
2017-05-01 09:27:44 -04:00
Anthony Merlino
b1ff257215
wireless/ieee802154: Minor fixes to account for moved IOCTL definitions
2017-05-01 09:27:44 -04:00
Gregory Nutt
25e0f31637
Merge remote-tracking branch 'origin/master' into photon
2017-04-30 17:44:50 -06:00
Gregory Nutt
1a98a17204
Cosmetic
2017-04-30 17:44:29 -06:00
Gregory Nutt
e43b86dbd0
Merge remote-tracking branch 'origin/master' into photon
2017-04-30 17:42:37 -06:00
Gregory Nutt
38948fb654
ieee802.11: Bring some BSD licensed header files in from FreeBSD.
2017-04-30 17:40:10 -06:00
raiden00pl
0b6190c1c4
drivers/analog: Add basic OPAMP driver
2017-04-30 11:11:17 +02:00
Gregory Nutt
84c887f48c
Update a README and some comments.
2017-04-29 15:53:23 -06:00
Gregory Nutt
a7901f5c4c
Merge remote-tracking branch 'origin/master' into photon
2017-04-29 12:35:01 -06:00
Gregory Nutt
f826877c61
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-29 12:27:49 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Gregory Nutt
3482172a16
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-29 10:06:35 -06:00
Gregory Nutt
73c78fb690
spi.h edited online with Bitbucket
2017-04-29 15:46:37 +00:00
Gregory Nutt
4ca4d2395b
Merge branch 'spidevid'
2017-04-29 09:31:34 -06:00
Gregory Nutt
bfc1b0a557
I am not sure why spi.h is still generating warnings. A few more parentheses and that seems to fix the problem
2017-04-29 09:17:41 -06:00
Gregory Nutt
11e15edfdf
Change to spi.h to follow coding standard
2017-04-29 08:59:45 -06:00
Gregory Nutt
90db11494e
spi.h: Eliminate a warning
2017-04-29 08:35:46 -06:00
Sebastien Lorquet
faeef8e700
Make value an uint32 before shifting 16 places left
2017-04-29 09:03:32 +02:00
Gregory Nutt
1c3d0cbbdd
Add all ieee802.15.4 IOCTLs to include/sys/ioctl.h
2017-04-28 12:41:51 -06:00
Gregory Nutt
22615d0d6d
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-28 12:32:59 -06:00
Gregory Nutt
5f5c82aa11
Add all network IOCTLs to include/sys/ioctl.h
2017-04-28 12:32:03 -06:00
Sebastien Lorquet
0138a79028
bitbang
2017-04-28 18:15:42 +02:00
Sebastien Lorquet
401caf6826
add main includes
2017-04-28 18:15:29 +02:00
Gregory Nutt
f07a677360
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-27 17:16:38 -06:00
Gregory Nutt
4910e073cb
Correct use of _WLIOC where _WLCIOC is required.
2017-04-27 17:16:02 -06:00
Gregory Nutt
84a79502a2
IEEE 802.15.4: Move MAC character driver IOCTL commands from ieee802154_mac.h to ieee802154_ioctl.h
2017-04-27 17:11:36 -06:00
Gregory Nutt
414516be20
IEEE 802.15.4: Move MAC character driver IOCTL commands from ieee802154_mac.h to ieee802154_ioctl.h
2017-04-27 17:11:07 -06:00
Gregory Nutt
f1aa43512a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-27 17:00:11 -06:00
Gregory Nutt
2e6908b384
IOCTLS. Separate wireless character driver IOCTL commands from wireless network driver IOCTL commands. Move from wireless.h to ioctl.h.
2017-04-27 16:58:30 -06:00
Anthony Merlino
9e760dcf6a
wireless/ieee802154: Lots of little fixes and changes to get everything to build
2017-04-26 11:36:06 -04:00
Gregory Nutt
c5e636ad84
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-24 17:34:35 -06:00
Gregory Nutt
51f6ce7af3
Merge remote-tracking branch 'origin/master' into photon
2017-04-24 15:12:02 -06:00
Gregory Nutt
a57c79e8b3
wireless/ieee80211: Add broadcom network device registration logic.
2017-04-24 10:43:57 -06:00
Nobutaka Toyoshima
c6376006f6
sched: Fix CHILD_FLAG_EXITED in include/nuttx/sched.h
...
Jira: PDFW15IS-196
Jira: PDFW15IS-1109
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-04-24 15:08:39 +09:00
Gregory Nutt
62966d915c
Merge remote-tracking branch 'origin/master' into photon
2017-04-23 10:16:54 -06:00
Simon Piriou
a76266106a
photon: fix compilation errors and update wlan defconfig
2017-04-23 10:00:19 -06:00
Gregory Nutt
0ea071f7eb
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-22 11:58:07 -06:00
Gregory Nutt
7da031aea1
6loWPAN: Add IEEE802.15.4 Rime address to union of link layer addresses in the network driver.
2017-04-22 11:52:45 -06:00
Gregory Nutt
79256573e1
net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment.
2017-04-22 11:10:30 -06:00
Gregory Nutt
1d4aee87a0
6loWPAN: Separate MAC-related definitions from sixlowpan.h. Put in ieee802154.h
2017-04-22 10:33:06 -06:00
Gregory Nutt
d8e4cbcfd5
Merge remote-tracking branch 'spiriou/wlan_dev' into photon
2017-04-22 08:26:40 -06:00
Gregory Nutt
e66caaf960
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-21 18:40:47 -06:00
Gregory Nutt
d884958a2e
Back out most of ebf05cb9f5
2017-04-21 18:37:07 -06:00
Gregory Nutt
7c6f2c3c9a
Back out most of ebf05cb9f5
2017-04-21 18:31:05 -06:00
Gregory Nutt
a253e420f2
MAC IOCTLs: Eliminate a couple 'To be determined.'
2017-04-21 17:38:34 -06:00
Gregory Nutt
309f0abc14
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-21 16:34:10 -06:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Gregory Nutt
5d68eb6059
6loWPAN: Remove the PAN ID from the 6loWPAN data structure. This is owned by the radio driver. Rather, use an IOCTL to obtain the PAN ID from the downstream radio driver.
2017-04-21 16:23:40 -06:00
Gregory Nutt
be415489f2
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-21 14:18:41 -06:00
Gregory Nutt
2c4800f511
Remove the 6loWPAN PANID IOCTLs they are redundant.
2017-04-21 14:17:46 -06:00
Anthony Merlino
b1c8f008d6
wireless/ieee802154: Simplifies TX completion interface. Documents and cleans up some functions
2017-04-21 14:57:27 -04:00
Gregory Nutt
c071cde220
Cosmetic changes to some comments.
2017-04-21 12:29:38 -06:00
Gregory Nutt
9d094a28be
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-21 11:17:35 -06:00
Anthony Merlino
795e70a952
wireless/ieee802154: Work on packet reception at radio layer (MRF24J40)
2017-04-21 13:06:26 -04:00
Gregory Nutt
7ed8e4166b
MAC header: Keep IOCTL-related structures together.
2017-04-21 10:33:24 -06:00
Jussi Kivilinna
c57d49f420
clock: Add new type ssystime_t for relative 64-bit ticks, change ticks<->time conversion functions to use ssystime_t
2017-04-21 08:51:31 -06:00
Jussi Kivilinna
325ba1a803
clock: add clock_resynchronize and use subseconds RTC
...
Add clock_resynchronize for better synchronization of CLOCK_REALTIME and CLOCK_MONOTONIC to match RTC after resume from low-power state.
Add up_rtc_getdatetime_with_subseconds under CONFIG_ARCH_HAVE_RTC_SUBSECONDS to allow initializing (and resynchronizing) system clock with subseconds accuracy RTC.
2017-04-21 08:45:57 -06:00
Gregory Nutt
d08b802998
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-20 16:19:42 -06:00
Gregory Nutt
bfb93338f6
Move net/iob to drivers/iob so that the I/O buffering feature can be available to other drivers when networking is disabled.
2017-04-20 16:08:49 -06:00
Gregory Nutt
bcc6b61fc1
Move include/nuttx/net/iob.h to include/drivers/iob.h; rename CONFIG_NET_IOB to CONFIG_DRIVERS_IOB
2017-04-20 14:53:30 -06:00
Gregory Nutt
9ff5e83ea7
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-19 18:07:33 -06:00
Gregory Nutt
9281cd558e
6loWPAN: Add an IOCTL to set the IEEE802.15.4 PAN ID
2017-04-19 18:06:43 -06:00
Anthony Merlino
a5d73e42cd
wireless/ieee802154: Fixes radio callback arguments
2017-04-19 18:15:09 -04:00
Gregory Nutt
9a1fe0b971
ieee802154: Cosmetic changes from review of last PR.
2017-04-19 14:52:45 -06:00
Anthony Merlino
1abe4ae4da
wireless/ieee802154: Starts structuring transmission completion handling
2017-04-19 16:35:02 -04:00
Ian McAfee
6a2c43b0c1
SAMV7 EMAC: Add conditional logic to account the fact that the SAMV71 has 6 rather than 3 queues after version 1.
2017-04-19 14:32:28 -06:00
Gregory Nutt
1f7b190684
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-19 13:37:38 -06:00
Gregory Nutt
50fda0d748
6loWPAN: Fix a missing source address in header. Correct calculation of payload size.
2017-04-19 13:33:20 -06:00
Anthony Merlino
37e7c67373
wireless/ieee802154: Changes radio interface to match MAC callback design
2017-04-19 13:26:44 -04:00
Gregory Nutt
dbafc0fc49
ieee802154: Purely cosmetic changes from review of last PR.
2017-04-19 09:53:32 -06:00
Anthony Merlino
de4e2d84c4
wireless/ieee802154: Simplifies MAC callback interface. Adds missing data type definitions
2017-04-19 11:30:43 -04:00
Gregory Nutt
35756d6295
ieee802.15.4: Cosmetic changes from review of last PR.
2017-04-18 14:25:23 -06:00
Anthony Merlino
9ad3b375e5
wireless/ieee802154: Lots of small fixes to eliminate build issues.
...
Generally cleans things up and fixes lots of small issues preventing a successful build. Does not completely build, but there are significantly less errors
2017-04-18 15:34:28 -04:00
Gregory Nutt
1d1d633e6f
ieee802.15.4: Fix some forbidden C11 syntax.
2017-04-17 11:47:33 -06:00
Gregory Nutt
6d3ec6e4a4
ieee802.15.4: Changes from review of last PR
2017-04-17 09:53:58 -06:00
Anthony Merlino
46d7a4bb03
wireless/ieee802154: Continues development on transmit structure
2017-04-17 11:34:41 -04:00
Gregory Nutt
edb8e6302d
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-16 12:20:59 -06:00
Gregory Nutt
41f3f1ced7
6loWPAN: Correct ordering of headers. fragmentation header was coming out before FCF.
2017-04-16 12:18:42 -06:00
Anthony Merlino
2bc758c3eb
wireless/ieee802154: Bind MAC phyif to radio
2017-04-15 13:44:15 -04:00
Anthony Merlino
141d5574f8
wireless/ieee802154: Starts defining interface between PHY layer and next highest layer
2017-04-15 13:24:25 -04:00
Anthony Merlino
2aaec20bbb
wireless/ieee802154: Minor formatting and new macros
2017-04-15 13:21:07 -04:00
Anthony Merlino
dce2e774df
wireless/ieee802154: Fixes comments from previous commit
2017-04-15 12:00:43 -04:00
Anthony Merlino
5c32abb442
wireless/ieee802154: Adds ability to receive notifications from MAC char driver
2017-04-15 12:00:43 -04:00
Gregory Nutt
85d97a4d74
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-15 09:34:03 -06:00
Gregory Nutt
78bc1aa6bc
Argument of network device IOCTL should be unsigned long, just as will all other IOCTL methods.
2017-04-15 09:33:27 -06:00
Gregory Nutt
beee02843a
wireless/ieee802154: Fix some easy compilation problems introduced with header file changes.
2017-04-14 12:05:28 -06:00
Gregory Nutt
fba8c96540
ieee802.15.4: New global functions exported by the lower MAC layer should be private to the MAC module. Function prototypes moved from include/nuttx/wireless/ieee802154/ieee802154_mac.h to wireless/ieee802154/mac802154.h
2017-04-14 11:24:40 -06:00
Gregory Nutt
badd36170d
IEEE802.15.4: There is only one instance of the IEEE802.15.4 MAC lower level. There is no need for the interface to be indirect via a vtable. In this case, standard global functions should be used.
2017-04-14 10:38:46 -06:00
Gregory Nutt
c1ddae5c5e
ieee802.15.4: de-couple MAC driver interface. Now works more like other drivers.
2017-04-13 12:17:36 -06:00
Gregory Nutt
6b8a8bda35
ieee802.15.4 radio: Remove interface methods that duplicate IOCTL commands.
2017-04-13 11:14:02 -06:00
Gregory Nutt
fae1df31dc
ieee802.15.4 netdev: Add IOCTL support.
2017-04-13 10:18:57 -06:00
Gregory Nutt
8288f53d4e
ieee802154 radio: Implement IOCTL decode and dispatch in all radio drivers.
2017-04-13 09:13:16 -06:00
Gregory Nutt
32962fa6e3
Add missing field name
2017-04-13 08:17:34 -06:00
Gregory Nutt
241da3ec49
ieee802.15.4 MAC: Add data structure definitions for MAC IOCTLs.
2017-04-13 08:14:58 -06:00
Gregory Nutt
015ae22f28
ieee802.15.4 radio: Add data structure definitions for Radio IOCTLs.
2017-04-13 07:35:48 -06:00
Gregory Nutt
bfc71e971a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-11 13:08:53 -06:00
Gregory Nutt
6560db912b
Add more definitions needed by apps/examples/wapi
2017-04-11 12:41:30 -06:00
Gregory Nutt
3fb730040b
include/nuttx/wireless/wireless.h: Add a few more definitions needed by apps/wireless/wapi
2017-04-11 10:23:46 -06:00
Gregory Nutt
4f35f196b1
included/nuttx/wireless/wireless.h: Fix/add a few things needed by apps/wireless/wapi
2017-04-10 16:14:12 -06:00
Gregory Nutt
aa823e8d6e
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-10 15:27:01 -06:00
Gregory Nutt
c08ba10d32
include/: Add some definitions needed by apps/wireless/wapi
2017-04-10 14:56:23 -06:00
Gregory Nutt
77f980e676
Buttons: Correct some comments left after last button-related change: 32- vs 8-bit bit set.
2017-04-09 14:44:49 -06:00
Gregory Nutt
c3a9c7eda6
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-09 10:16:57 -06:00
Gregory Nutt
f9e402018b
Buttons: Change return value of board_buttons() and the type of btn_buttonset_t to uint32_t so that more than 8 buttons can be supported.
2017-04-09 07:22:49 -06:00
Gregory Nutt
51cd421ce7
Ieee802.15.4 MAC network driver. A little more logic (but still only partial). Add interface definitions to header file.
2017-04-08 19:11:57 -06:00
Gregory Nutt
d4e434278c
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-08 13:10:39 -06:00
Mark Schulte
35ca733108
pthread.h: Fix rwlock initializer
2017-04-08 12:34:08 -06:00
Gregory Nutt
11a8f8f4a9
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-08 10:32:53 -06:00
Gregory Nutt
3f51180cca
6loWPAN: Fix breakage in IPv6 dispatch caused by fixes to HC1 dispatch; Move some standard definitions from internal header file to include/nuttx/net/sixlowpan.h. Update a README.
2017-04-08 10:18:44 -06:00
Gregory Nutt
dea251783a
pthread.h: Remove duplicate, possible erroneous definitino of PTHREAD_MUTEX_INITIALIZER that crept in with some recent changes.
2017-04-08 08:14:11 -06:00
Gregory Nutt
a35845bd09
Restore TCP_HDRLEN to MSS calculation. Also add to UDP MSS calculation where it never appearred. Add some missing MSS and RDVWNDO definitinos for 6loWOPAN.
2017-04-08 07:48:37 -06:00
Gregory Nutt
ee6700dbc7
Update README's and some comments.
2017-04-08 07:30:20 -06:00
Gregory Nutt
94730f69d1
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-07 17:05:37 -06:00
Gregory Nutt
7aff0f77d9
Merge remote-tracking branch 'origin/master' into rwlock
2017-04-07 15:49:03 -06:00
Mark Schulte
2b1ca79b4b
pthread rwlock bugfixes
2017-04-07 15:45:24 -06:00
Gregory Nutt
f264e6aec2
6loWPAN: Fixes for fragmented packets. Change fixes some things, breaks other. Lots more to do.
2017-04-07 15:27:53 -06:00
Gregory Nutt
b631dc886f
Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built unconditionally.
2017-04-07 07:34:22 -06:00
Mark Schulte
7bb26d2615
pthreads: Adding rwlock implementation
...
Adding an implementation for read/write locks into the pthread library.
These locks are writer priority, such that if any writers come in they
are given priority for writing.
2017-04-07 07:03:00 -06:00
Gregory Nutt
11ad71a2e6
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-06 10:01:02 -06:00
Jussi Kivilinna
e3b3e57e56
RTC: add interface for check if RTC time has been set
...
New interface allows checking if RTC time has been set. This allows to application to detect if RTC has valid time (after
reset) or should application attempt to get real time by other means (for example, by launching ntpclient or GPS).
2017-04-06 09:53:11 -06:00
Gregory Nutt
d0aa22fb80
6loWPAN: Costmetic changes.
2017-04-05 17:26:12 -06:00
Simon Piriou
e5c4a28c3a
photon: wlan support
2017-04-05 21:55:21 +02:00
Gregory Nutt
9893b7243b
Trivial changes from review of last PR.
2017-04-05 13:28:35 -06:00
Gregory Nutt
cdd3cb2201
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-05 13:18:52 -06:00
Anthony Merlino
21673f942d
Merged in merlin17/nuttx/ieee802154 (pull request #311 )
...
Ieee802154
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-05 19:17:32 +00:00
Anthony Merlino
aada26f903
wireless/ieee802154: Defines more data types/macros. Some renaming and cleanup
2017-04-05 15:03:47 -04:00
Gregory Nutt
38eed0a847
6loWPAN: Various fixes for building with different configurations; Some minimal testing of HC06
2017-04-04 17:06:17 -06:00
Gregory Nutt
ca2c18c023
6loWPAN: Fix return value and other issues in sixlowpan_frame_process
2017-04-04 16:12:16 -06:00
Gregory Nutt
e7f9d14118
Merge branch 'master' of bitbucket.org:nuttx/nuttx into ieee802154
2017-04-04 14:29:00 -06:00
Juha Niskanen
d64d4e02b4
sensors: lis2dh: fix hardfault when reading from unconfigured sensor
2017-04-04 07:38:49 -06:00
Jussi Kivilinna
73056863ba
Fix building without CONFIG_NET_6LOWPAN
2017-04-04 07:38:48 -06:00
Gregory Nutt
ca7040b7c1
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-03 15:28:46 -06:00
Gregory Nutt
7cb34d969d
6loWPAN: More fixes from early debug.
2017-04-03 15:25:36 -06:00
Gregory Nutt
e9d831ac60
wireless/ieee802154: Add initialization logic for loopback driver; configs/sim: Add configuration for testing 6loWPAN; net/sixlowpan: Fix for compilation with debug output enabled.
2017-04-03 09:15:00 -06:00
Gregory Nutt
1b3cb3752a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-03 08:12:04 -06:00
Juha Niskanen
dfe6a672c1
drivers/sensors: Add driver for ST LIS2DH accelerometer. From Timo Voutilainen <time.voutilainen@haltian.com> et al.
2017-04-03 07:28:22 -06:00
Gregory Nutt
0bf2931d5f
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-02 17:50:34 -06:00
Gregory Nutt
1b6630ee75
6loWPAN: Fix compile errors and warnings when building the complete 6loWPAN configuration.
2017-04-02 17:46:22 -06:00
Gregory Nutt
c8291a376e
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-02 14:39:45 -06:00
Gregory Nutt
ec3c40d99d
6loWPAN: Finishes port of Contiki HC06 compression logic
2017-04-02 10:06:31 -06:00
Gregory Nutt
d16fc98c74
6loWPAN: Add HC06 decompression logic; Remove outboard compressor hooks.
2017-04-02 08:08:35 -06:00
Gregory Nutt
6464ebbc7f
Networking: Fix bad macro logic of recent commit. Macros were not being evaluating in the order and time that I thought.
2017-04-01 18:23:21 -06:00
Gregory Nutt
7a4af75fcf
6lowWPAN: Add frame decompression logic to IEEE802.15.4 input
2017-04-01 12:34:08 -06:00
Gregory Nutt
6d55ef0a08
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-01 09:08:35 -06:00
Gregory Nutt
52ead055fd
6loWPAN: Beginning of IEEE802.15.4 frame input logic.
2017-04-01 09:07:49 -06:00
Gregory Nutt
cccbb6c693
6loWPAN: Clean up some send logic; remove sniffer.
2017-03-31 16:33:21 -06:00
Gregory Nutt
503f3e5477
net/: Struggling with MSS definitions.
2017-03-31 15:54:12 -06:00
Gregory Nutt
732f0855c6
6loWPAN: Fleshes out framwork for IEEE802.15.4 send. But still has some gaping holes.
2017-03-31 15:09:07 -06:00
Gregory Nutt
85e1d15835
6loWPAN: Fix more configuration related issues detected by addition of 6loWPAN
2017-03-31 12:06:21 -06:00
Gregory Nutt
a771ec65d6
6loWPAN: Fix a spelling error in macro name.
2017-03-31 10:47:40 -06:00
Gregory Nutt
44f1326046
6loWPAN: Repartition device-specific vs. global data -- again.
2017-03-31 10:04:29 -06:00
Jussi Kivilinna
cd3c9634c8
Add user-space networking stack API (usrsock)
...
User-space networking stack API allows user-space daemon to
provide TCP/IP stack implementation for NuttX network.
Main use for this is to allow use and seamless integration of
HW-provided TCP/IP stacks to NuttX.
For example, user-space daemon can translate /dev/usrsock
API requests to HW TCP/IP API requests while rest of the
user-space can access standard socket API, with socket
descriptors that can be used with NuttX system calls.
2017-03-31 08:58:14 -06:00
Gregory Nutt
0427d6c726
6loWPAN: Replace frame buffer with a list of IOBs.
2017-03-31 07:54:58 -06:00
Gregory Nutt
a43c0c9efb
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-31 06:41:11 -06:00
Juha Niskanen
9d13a2463f
drivers/usbmisc: Add driver for Fairchild FUSB301 USB type-C controller.
...
From Harri Luhtala <harri.luhtala@haltian.com>. Tested with earlier
version of NuttX; with current version checked that it compiles.
2017-03-31 06:35:36 -06:00
Juha Niskanen
b5b148fef8
drivers/sensors: Add driver for ST LPS25H pressure sensor
2017-03-31 05:53:43 -06:00
Gregory Nutt
916bd8a48f
HTS221 driver: Modify to use new interrupt parameter passing hooks.
2017-03-31 05:31:35 -06:00
Gregory Nutt
1a12682f23
6loWPAN: Fix some MTU-related craziness.
2017-03-30 17:18:18 -06:00
Gregory Nutt
916bd80f9f
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-30 16:30:43 -06:00
Gregory Nutt
9aabb44118
6loWPAN: Add some comments, move a function
2017-03-30 16:30:04 -06:00
Gregory Nutt
2aca4d4ebd
6loWPAN: Add a little more send logic.
2017-03-30 15:38:56 -06:00
Juha Niskanen
9e2b3da3e8
drivers/sensors: Add driver for ST HTS221 humidity sensor
2017-03-30 12:17:23 -06:00
Jussi Kivilinna
dffb8a67e3
Add entropy pool and strong random number generator
...
Entropy pool gathers environmental noise from device drivers, user-space, etc., and returns good random numbers, suitable for cryptographic use. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm for CSPRNG output.
Patch also adds /dev/urandom support for using entropy pool RNG and new 'getrandom' system call for getting randomness without file-descriptor usage (thus avoiding file-descriptor exhaustion attacks). The 'getrandom' interface is similar as 'getentropy' and 'getrandom' available on OpenBSD and Linux respectively.
2017-03-30 07:38:37 -06:00
Gregory Nutt
b231379b3c
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-29 14:29:38 -06:00
Gregory Nutt
a6148cdb7c
6loWPAN: Adding more socket send-related logic.
2017-03-29 14:28:51 -06:00
Gregory Nutt
3a4e8a5946
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-29 10:57:04 -06:00
Anthony Merlino
8df78cc74b
wireless/ieee802154: Adds MAC character driver structure. Nonfunctional
2017-03-29 12:51:01 -04: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
Anthony Merlino
3809f2cc97
wireless/ieee802154: Removes unnecessary define
2017-03-28 17:20:24 -04:00
Gregory Nutt
0fec3f9541
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-28 15:02:54 -06:00
Gregory Nutt
64933246c3
6loWPAN: Tie 6loWPAN send into common socket send logic.
2017-03-28 14:08:54 -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
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
45a0af8c03
STM32 L4: More SPI clean-up. Lower case replacements.
2017-03-28 08:52:49 -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
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
4800d3f545
Add syscall support for pthread_mutex_consistent()
2017-03-27 09:36:03 -06:00
Gregory Nutt
16c3ea1f53
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-27 09:21:48 -06:00
Gregory Nutt
b07d3fc305
Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES
2017-03-27 09:08:14 -06:00
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
Simon Piriou
bf9391a1fe
photon: porting wlan device
2017-03-14 21:13:36 +01: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
ahb
e1da80af5b
fix as5048b by adding missing frequency parameter
2017-03-09 12:01:01 +01:00
Alan Carvalho de Assis
d43380d543
Add wcstoull function
2017-03-08 13:28:50 -06:00
Alan Carvalho de Assis
d9bfcfc330
Add mbsnrtowcs wcsnrtombs just returning sucess
2017-03-08 13:24:03 -06:00
Alan Carvalho de Assis
2d1ace3ee5
Add wcstof function
2017-03-08 12:47:23 -06:00
Alan Carvalho de Assis
6e0afb2905
C library: Ad wcstol() and wcstold().
2017-03-08 12:42:20 -06:00
Alan Carvalho de Assis
3ccef07863
C library: Add wcstoll function
2017-03-08 12:26:35 -06:00
Alan Carvalho de Assis
fda095ccda
Add mbtowc and wctomb to C++ std namespace
2017-03-08 12:16:56 -06:00
Gregory Nutt
05a288f2e1
C library: Add strerror_r
2017-03-08 12:14:07 -06:00
Gregory Nutt
e2a554d0f5
Update ChangeLog in prep for 7.20 release.
2017-03-08 10:09:48 -06:00
Gregory Nutt
06ce1a2291
Add missing endif
2017-03-03 14:39:35 -06:00
Gregory Nutt
47ebe1e320
Update some comments
2017-03-03 12:48:58 -06:00
Gregory Nutt
fc5fca5145
Add MAX value definitions to go along with irq_t and irq_mapped_t
2017-03-03 11:48:20 -06:00
Gregory Nutt
e1218c4b4b
Smaller vector tables: Add irq_mapped_t.
2017-03-03 10:20:40 -06:00
Gregory Nutt
c2b620b4f8
Implements support for smaller interrupt tables as described at http://www.nuttx.org/doku.php?id=wiki:howtos:smallvectors . This is largely the work of Mark Schulte. However, I have made several changes to match with the Wiki document. If you like the change, thanks go to Marc. For any errors you can blame me.
2017-03-03 09:20:25 -06:00
Gregory Nutt
4c82827ab1
board_button_irq: Button IRQ logic no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 14:37:22 -06:00
Gregory Nutt
f5f9d82d5a
arch_phy_irq: Now returns int instead of xcpt_t oldhandler. The oldhandler is useless after the changes to the interrupt argument. Also access an argument for the PHY interrupt. phy_notify.c driver changed to exploit new interrupt argument passing.
2017-03-02 08:43:33 -06:00
Gregory Nutt
91920f6fc3
cc3200-launchpad: Remove unused prototypes for obsolete names of button interface function.
2017-03-02 08:43:31 -06:00
Mark Schulte
28226198a7
memlcd: Mark Schulte <mark@mjs.pw>
2017-03-01 08:52:58 -06:00
Gregory Nutt
ac6e552ff7
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:37:44 -06:00
Gregory Nutt
02b1e1ec1a
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:22:57 -06:00
Gregory Nutt
67de2e5f66
Add argument to STM32 EXTI interrupt handlers.
2017-02-27 14:21:30 -06:00
Gregory Nutt
6002393b2d
Fix some interrupt argument issues associated with NRF21L01
2017-02-27 12:06:15 -06:00
Gregory Nutt
a773f9412a
STMPE811 driver needs argument in interrupt handler
2017-02-27 11:41:48 -06:00
Gregory Nutt
cb927e3226
Merge remote-tracking branch 'origin/master' into irqattach
2017-02-27 11:18:58 -06:00
Gregory Nutt
7b89a7789f
Correct error in syscall.h
2017-02-27 11:18:31 -06:00
Gregory Nutt
b4ff7391f8
Convert more drivers to use use irq_attach with argument.
2017-02-27 10:44:13 -06:00
Gregory Nutt
4cd31be19d
Convert some serial drivers to use use irq_attach.
2017-02-27 08:55:21 -06:00
Mark Schulte
b3222bbc8a
irq_dispatch: Add argument pointer to irq_dispatch
...
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Gregory Nutt
2238912507
Fix some backward conditional compilation
2017-02-25 18:32:58 -06:00
Gregory Nutt
3112292ab0
Fix copy copy/paste errors in some comments.
2017-02-25 16:13:29 -06:00
Gregory Nutt
f15f17a63d
Wireless and TSC: Add infrastructure to assure that all IOCTL commands are uniquely numbered.
2017-02-25 15:48:25 -06:00
Gregory Nutt
eb984e08d9
CAN: Add infrastructure to assure that all CAN IOCTL commands are uniquely numbered.
2017-02-25 15:28:27 -06:00
Gregory Nutt
b0efacebe1
include/nuttx/analog: Add an ioctl.h header file to coordinate analogic driver IOCTL commands.
2017-02-25 15:13:30 -06:00
Gregory Nutt
48bc77ee6b
Update some comments.
2017-02-25 12:40:30 -06:00
Gregory Nutt
d77d322a61
QEncoder: Add mechanism to assure that architecture-specific IOCTL commands do not overlap.
2017-02-25 11:15:59 -06:00
Gregory Nutt
12a4a58aa6
Update some wdog-related comments
2017-02-24 10:58:37 -06:00
Gregory Nutt
8c7ec7419a
Eliminate a warning
2017-02-22 14:04:06 -06:00
Gregory Nutt
4539988d00
Removed CONFIG_LIBC_ARCH_BZERO. bzero() is a deprecated interface. There are no architecture-specific replacements and, if there were, they should replace memset(), not bzero().
2017-02-22 10:41:49 -06:00
Gregory Nutt
fb0e4d66c0
Fix ordering of parameters in call to memmove() in strings.h. Noted by David Sidrane.
2017-02-22 10:34:10 -06:00
Gregory Nutt
cb7c5f9921
Implement strings.h macros as inline functions when possible for better C++ compatibility.
2017-02-22 10:20:58 -06:00
Gregory Nutt
22a8c2178d
cstring: undefine macros defined in new strings.h.
2017-02-22 06:59:39 -06:00
Gregory Nutt
c776407f64
This should resolve issue #30 : Audio Tone Generator and PWM Multiple Output Channel options. I don't actually have a setup to verify it, however.
2017-02-20 17:26:56 -06:00
Gregory Nutt
426d18a8ea
Update some comments
2017-02-20 14:31:43 -06:00
Gregory Nutt
59a189be74
Update some comments.
2017-02-20 12:46:22 -06:00
Gregory Nutt
6e32d74b33
Cosmetic changes from review of the last PR
2017-02-19 11:49:42 -06:00
raiden00
82cb38c824
drivers/sensors: Add driver for the ST L3GD20 3 axis gyro
2017-02-19 17:43:44 +01:00
Gregory Nutt
e29b50e00a
Fix recurring naming problem: KXTJ9 vs KXJT9.
2017-02-18 08:08:41 -06:00
Gregory Nutt
acf020c649
Add setbuf and setvbuf to cstdio.
2017-02-17 10:06:30 -06:00
Gregory Nutt
7a4d498b42
wctype.h needs extern C
2017-02-17 09:48:55 -06:00
Gregory Nutt
673b2ed2bf
Update cwchar. Add cwctype.
2017-02-17 09:45:54 -06:00
Gregory Nutt
74160ccc4e
Add syscall support for fstatfs.
2017-02-17 08:46:07 -06:00
Gregory Nutt
4f5879f998
C library: Add ffs(). Add strings.h. Move strcasecmp, strncasecmp, bzero, bcmp, and bcopy to where they belong in strings.h.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead.
2017-02-16 16:10:09 -06:00
Gregory Nutt
6d1f3da289
C library: Add support for rindex().
2017-02-16 15:22:30 -06:00
Gregory Nutt
2cfbf9c8d8
C library: Add strtoimax and strtoumax.
2017-02-16 15:12:37 -06:00
Gregory Nutt
a49b349614
C library: Add swab()
2017-02-16 14:42:27 -06:00
Gregory Nutt
fed9d5a0f8
cunistd: Fix stray single back quote the crept in in last commit.
2017-02-16 11:22:02 -06:00
Gregory Nutt
e7404280e8
fstat(): Add syscall support
2017-02-14 10:44:01 -06:00
Gregory Nutt
b4695c5ee9
hostfs: Add support for fstat().
2017-02-14 09:54:08 -06:00
Gregory Nutt
6bcace62a8
Update some C++ header files
2017-02-14 07:48:54 -06:00
Gregory Nutt
10378bb10b
fstat: Add fstat() support to nfs.
2017-02-13 10:07:43 -06:00
Gregory Nutt
7d91fabf01
fstat: Add skeleton implmentations of fstat() in all file systems.
2017-02-12 13:42:27 -06:00
Gregory Nutt
c5a8e96dbc
Add basic fstat() support. Now all that is needed is to modify ALL of the file systems.
2017-02-12 12:48:24 -06:00
Gregory Nutt
9a3af1a3e0
Update TODO list
2017-02-12 12:10:46 -06:00
Gregory Nutt
de1b68dc4e
libc/Kconfig: Break big Kconfig up into separate Kconfig files in each libc subdirectory.
2017-02-10 09:32:55 -06:00
Gregory Nutt
c19aa094e1
C Library: Add setbuf() which is a trivial wrapper around setvbuf().
2017-02-09 15:04:53 -06:00
Alan Carvalho de Assis
248d5d3185
MMC/SD SDIO: Some drivers need to start DMA before sending CMD24 and some AFTER
2017-02-09 11:13:05 -06:00
Gregory Nutt
1d290c2b37
setvbuf: Add support for disabling I/O buffering. Initially cut; untested.
2017-02-09 09:24:44 -06:00
Gregory Nutt
9f859774a1
setvbuf: Add support for configuration of line buffering.
2017-02-08 11:28:24 -06:00
Gregory Nutt
51a14c9b2f
C Library: Add a very limited, first step implementation of setvbuf(). This is a collaborative effort. Alan Carvalho de Assis did the initial prototype.
2017-02-08 10:33:18 -06:00
Gregory Nutt
2d2fe301cb
Update some comments; link counter can be uint8_t; Add a debug assertion.
2017-02-07 15:50:54 -06:00
Gregory Nutt
b758176963
stat(): Add logic to avoid infinite recursive in circular paths containing soft links.
2017-02-07 12:32:45 -06:00