Commit Graph

29128 Commits

Author SHA1 Message Date
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
Alan Carvalho de Assis
a58823c449 STM32XX: Fix Pending Register definition 2017-04-11 06:45:45 -06:00
Jussi Kivilinna
4c99a6aeec STM32F7: serial: do not stop processing input in SW flow-control mode 2017-04-11 06:40:44 -06:00
Jussi Kivilinna
e9a8dc7c6e STM32F7: serial: disallow broken configuration combination of CONFIG_STM32F7_FLOWCONTROL_BROKEN=y and CONFIG_SERIAL_IFLOWCONTROL_WATERMARKS not set. 2017-04-11 06:39:27 -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
c08ba10d32 include/: Add some definitions needed by apps/wireless/wapi 2017-04-10 14:56:23 -06:00
Gregory Nutt
c36bf090f0 pthread: Minor logic fix in pthread_mutex_consistent. Updat some comments. 2017-04-10 10:10:41 -06:00
Gregory Nutt
6935d44405 Update TODO list 2017-04-10 09:58:34 -06:00
Gregory Nutt
948332ca34 pthreads: Backed most of last pthread changes. Found the 'real' root poblem. A one like error in pthread_mutex.c. 2017-04-10 09:51:03 -06:00
Gregory Nutt
ec2a6e3721 Merge branch 'rwlock' 2017-04-10 08:46:02 -06:00
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
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
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
5a0636d8bc Trivial change to spacing 2017-04-09 05:49:30 -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
Mark Schulte
35ca733108 pthread.h: Fix rwlock initializer 2017-04-08 12:34:08 -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
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
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