Gregory Nutt
84849cfc5e
examples/ostest: pthread rwlock cleanup handlers must call pthread_consistent, not pthread_mutex_unlock() on cancellation if robust mutexes are enabled.
2017-04-10 08:44:08 -06:00
Gregory Nutt
b51b72b2db
pthreads: Re-order some operations so that mutexes are placed in the inconsistent state BEFORE the clean-up callbacks are called.
2017-04-10 08:11:16 -06:00
Juha Niskanen
755e9312b5
pthread: use cancel cleanup handlers in rwlock
2017-04-10 07:18:16 -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
5104eb530f
Photon: Add logic to automatically mount the procfs file system on startup. Fix some LED-related configuration conflicts.
2017-04-09 13:46:27 -06:00
Gregory Nutt
de2c368249
Eliminate a warning about garbage at the end of the line.
2017-04-09 12:13:47 -06:00
Gregory Nutt
ebd2416f9d
stm32 COMP: Logic in stm32_comp.h must be configured on CONFIG_STM32_COMP or otherwise it causes an error via #error on every platform without COMP support.
2017-04-09 11:47:57 -06:00
Gregory Nutt
f3b10eb073
net procfs: Some long lines were being generated that cause buffer-related problems and corrupted output
2017-04-09 11:06:21 -06:00
Gregory Nutt
c3a9c7eda6
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-09 10:16:57 -06:00
Gregory Nutt
dedc3c15d4
Add support for NuttX controlled LEDS and for board_initialize. Separate initialize logic to stm32_bringup.c so that in initialization can occur either through board_initialize() or through board_app_initialize(). Same as with most other newer board configurations.
2017-04-09 10:16:05 -06:00
Gregory Nutt
2bfb284989
Add support for NuttX controlled LEDS and for board_initialize. Separate initialize logic to stm32_bringup.c so that in initialization can occur either through board_initialize() or through board_app_initialize(). Same as with most other newer board configurations.
2017-04-09 09:19:25 -06:00
Gregory Nutt
55b32430e1
Fix photon/nsh/defconfig, was turning on non-existent LED support when the configuration was refreshed.
2017-04-09 07:48:40 -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
af1a9db4f6
Some trivial addtions to the still fragmentary IEEE802.15.4 MAC network driver.
2017-04-09 06:15:55 -06:00
Gregory Nutt
5a0636d8bc
Trivial change to spacing
2017-04-09 05:49:30 -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
11bd9afe53
wireless/ieee802154: Add a partial implementation of the IEEE802.15.4 network driver. This is very incomplete on the initial commit.
2017-04-08 14:21:20 -06:00
Gregory Nutt
a1aca89d61
drivers/net/skeleton.c: Use more common 'Name:' vs. 'Function:'
2017-04-08 13:55:23 -06:00
Gregory Nutt
8b8ddd05c2
Fix some old-style interrupt handling logic in drivers/net/skeleton.c
2017-04-08 13:30:30 -06:00
Gregory Nutt
83660ac30e
Add configuration/build support for an IEEE802.15.4 network device.
2017-04-08 13:27:03 -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
143b8f9591
6loWPAN: Fix more frame offsets. Reorder some logic that was appropriate only for IPv6 dispatch.
2017-04-08 09:34:30 -06:00
Gregory Nutt
fe722e44b9
6loWPAN: Fix a faulty assumption about relationship between some sizes and offsets.
2017-04-08 08:14:42 -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
60f0186258
6loWPAN: Add calculation of TCP header size. It is not a constant.
2017-04-07 17:04:57 -06:00
Gregory Nutt
e3b4d77ee2
Merge branch 'rwlock'
2017-04-07 15:49:16 -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
47647eac8f
6loWPAN: Correct some fragmentation handling
2017-04-07 09:49:10 -06:00
Gregory Nutt
3ea3fbcef1
Merge branch 'master' of bitbucket.org:nuttx/nuttx
2017-04-07 08:13:58 -06:00
Gregory Nutt
19f19e31eb
6loWPAN: Correct some list handling logic.
2017-04-07 08:13:18 -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
Masayuki Ishikawa
35afc202df
Merged nuttx/nuttx into master
2017-04-07 12:38:01 +09:00
Bob Ryan
57dbf7a23a
Merged in BobRyan530/nuttx/fix_stm32f103-minimum_usbnsh (pull request #313 )
...
Disable serial console on stm32f103-minimum usbnsh example project config. Devices enumerate after this change.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-07 01:33:29 +00:00
Bob Ryan
3465f6be53
Disable serial console on stm32f103-minimum usbnsh example project config. Devices enumerate after this change.
2017-04-06 17:41:07 -07:00
Gregory Nutt
58d0c1f228
6loWPAN: Back out part of the last commit. That included two fixes for a problem. One that didn't work and is unnecessary and one that is necessary. The commit removes the former.
2017-04-06 18:11:04 -06:00
Gregory Nutt
494d996826
6loWPAN: Fix a few UDP-related issues.
2017-04-06 17:57:15 -06:00
Masayuki Ishikawa
b4e01ecbf9
Merged in masayuki2009/nuttx.nuttx/fix_efm32_i2c_timeout (pull request #312 )
...
EFM32 I2C: Fix timeout calculation
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-06 22:59:34 +00:00
Gregory Nutt
27c65c3f22
6loWPAN: Add network IOCTL support to set the node address
2017-04-06 15:58:00 -06:00
Gregory Nutt
50170a6108
6loWPAN: Fixes for UDP packet transfers.
2017-04-06 11:57:43 -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