Commit Graph

29141 Commits

Author SHA1 Message Date
Thomas Keh
7e293b28ee TUN driver: Implement TAP (OSI layer 2) mode.
Enable by setting the IFF_TAP flag instead of the IFF_TUN flag in ifr_flags.
2017-04-13 13:07:03 +02:00
Brian Webb
1a9403313e Adds USB host support to stm32f411-disco board. 2017-04-12 20:37:34 -07:00
Sebastien Lorquet
dc2890904d STM32L4 DMA: Correct bad channel definition. 2017-04-12 10:25:51 -06:00
Gregory Nutt
d9b1b3f824 Update TODO list 2017-04-12 07:28:11 -06:00
Ritajina
eab139a539 libc/netdb: in dns_query_callback, ret != -EADDRNOTAVAIL condition consumes error returns including EAGAIN in this case, dns query retransmission doesn't work 2017-04-12 06:41:08 -06:00
Alan Carvalho de Assis
dced088ff5 Fix LLVM libc++ undefined reference to __cxa_guard_* 2017-04-11 13:07:11 -06:00
Gregory Nutt
6560db912b Add more definitions needed by apps/examples/wapi 2017-04-11 12:41:30 -06:00
Juha Niskanen (Haltian)
b4747286b1 Add logic to disable cancellation points within the OS. This is useful when an internal OS function that is NOT a cancellation point calls an OS function which is a cancellation point. In that case, irrecoverable states may occur if the cancellation is within the OS. 2017-04-11 11:03:25 -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
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