Commit Graph

28932 Commits

Author SHA1 Message Date
Gregory Nutt
5a69453e16 pthreads: Add some assertions. 2017-03-26 13:54:43 -06:00
Gregory Nutt
fe03ef02c4 when pthread exits or is cancelled, mutexes held by thread are marked inconsistent and the highest priority thread waiting for the mutex is awakened. 2017-03-26 13:37:05 -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
2c37d369ab pthread: Fix return value of pthread_give/takesemaphore(). Add option to pthread_takesemaphore to ignore EINTR or not. 2017-03-26 11:22:17 -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
Gregory Nutt
92da8068ed Merge branch 'master' of bitbucket.org:nuttx/nuttx 2017-03-26 06:57:35 -06:00
Mateusz Szafoni
62f9ae0852 Merged in raiden00/nuttx (pull request #300)
STM32 COMP cosmetics

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-26 12:21:32 +00:00
raiden00pl
f3367233b6 stm32_comp.c: typo 2017-03-26 09:36:53 +02:00
raiden00pl
a9bc424bcd Merge branch 'master' of https://bitbucket.org/raiden00/nuttx 2017-03-26 09:34:49 +02:00
raiden00pl
c1090164f5 stm32/Kconfig: update COMP and OPAMP definitions 2017-03-26 09:34:17 +02:00
raiden00pl
6594c65a77 stm32_comp.c: cosmetic 2017-03-26 09:30:23 +02:00
Gregory Nutt
7d57a2b2bd Trivial changes from review of last PR. 2017-03-25 10:38:41 -06:00
Mateusz Szafoni
c174074dd8 Merged in raiden00/nuttx (pull request #299)
Add COMP character driver

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-25 16:29:02 +00:00
Gregory Nutt
602546f852 Minor typo fix 2017-03-25 10:23:53 -06:00
raiden00pl
045f0edfac Merge remote-tracking branch 'upstream/master' 2017-03-25 17:12:11 +01:00
raiden00pl
645a11ce65 nucleo-f334r8: Use new COMP driver 2017-03-25 16:59:20 +01:00
raiden00pl
a806aedb13 STM32F33: Support for COMP character driver 2017-03-25 16:57:43 +01:00
raiden00pl
be8207d493 drivers/analog: Add basic COMP driver 2017-03-25 16:50:11 +01:00
Gregory Nutt
700d4e6580 Clicker2 STM32: NSH configuration does not need FAT support. 2017-03-25 07:23:19 -06:00
Gregory Nutt
dfb9fe9b67 Clicker2-STM32: Rename configuration to mrf24j40-radio. Update remove. Remove some bad settings in the defconfig file (like OTGFS host support). 2017-03-25 07:20:04 -06:00
Gregory Nutt
ac9fa3d710 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-25 07:01:20 -06:00
Gregory Nutt
b47e1888f5 Clicker2-STM32: Add usbnsh configuration. 2017-03-25 06:59:27 -06:00
Gregory Nutt
ebaed18be0 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-24 18:10:16 -06:00
Gregory Nutt
af85aca1aa Remove some whitespace at the end of some lines 2017-03-24 18:09:19 -06:00
Gregory Nutt
210ac0f77d configs/: Rename all xyz_wifi.c files to stm32_cc3000.c. 2017-03-24 18:06:03 -06:00
Gregory Nutt
3949ab38fd configs/: Rename all stm32_wireless.c files to stm32_cc3000.c. 2017-03-24 18:05:44 -06:00
Gregory Nutt
f48defee68 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-24 17:59:49 -06:00
Gregory Nutt
2506eb32a7 Fix a comment 2017-03-24 17:59:09 -06:00
Gregory Nutt
e77a511a13 configs/: Rename all xyz_wifi.c files to stm32_cc3000.c. 2017-03-24 17:30:58 -06:00
Gregory Nutt
532940ae56 configs/: Rename all stm32_wireless.c files to stm32_cc3000.c. 2017-03-24 17:21:28 -06: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
e97a13ea90 MRF24J40/Clicker2: Add an MRF24J40 device configuration to the Clicker2 STM32 board. Fix a few errors discovered during build. 2017-03-24 13:49:40 -06:00
Gregory Nutt
c3990e1b7f Update README and some comments 2017-03-24 12:46:01 -06:00
Gregory Nutt
c12b066f14 Update README file 2017-03-24 12:11:31 -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
Anthony Merlino
5c357702aa Merged in merlin17/nuttx/ieee802154 (pull request #297)
wireless/ieee802154: Clean up code, adding MAC layer defines, and data structures

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 15:55:46 +00:00
Anthony Merlino
60268b6b87 Merged in merlin17/nuttx (pull request #296)
configs/clicker2-stm32:  Cleans up minor issues

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 15:53:46 +00: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
77b9f72083 configs/clicker2-stm32: Cleans up minor issues 2017-03-24 11:37:37 -04:00
Anthony Merlino
e826006818 configs/clicker2-stm32: Fixes missing semicolon on function prototype 2017-03-24 11:14:40 -04:00
Anthony Merlino
4a4805da88 configs/clicker2-stm32: Fixes issues with stm32_mrf24j40 2017-03-24 11:11:04 -04:00
Anthony Merlino
7388816629 drivers/ieee802154: Moves defines to MAC layer and adjusts some addressing functionality 2017-03-24 11:10:35 -04: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
a702d6b638 wireless/ieee802154: Fixes build and configuration setup 2017-03-24 11:06:59 -04:00
Anthony Merlino
f5926bd330 wireless/ieee802154: Adds ieee802154_addr_mode_e enumeration 2017-03-24 11:06:18 -04:00
Alexander Oryshchenko
61ff3c6b84 I needed to use DS3231, I remember that in past it worked ok, but now for stm32f4xx is used another driver (chip specific, stm32f40xxx_i2c.c) and DS3231 driver doesn't work. After investigating a problem I found that I2C driver (isr routine) has a few places there it sends stop bit even if not all messages are managed. So, e.g., removing stm32_i2c_sendstop (#1744) and adding stm32_i2c_sendstart after data reading helps to make DS3231 working. Verified by David Sidrane. 2017-03-24 06:44:33 -06:00
Aleksandr Vyhovanec
809588b254 Merged in AVyhovanec/nuttx (pull request #295)
The interrupt occurs over the counter overflow

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 11:24:45 +00:00