Commit Graph

28988 Commits

Author SHA1 Message Date
Gregory Nutt
2c755b535a Merge branch 'robust' 2017-03-26 17:38:57 -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
86ab384d77 Forget to add some files in previous commits 2017-03-26 15:46:19 -06:00
Gregory Nutt
8b23c16b90 pthreads: pthread_mutex_consistent() needs to clear flags. 2017-03-26 14:44:57 -06:00
Gregory Nutt
34c5e1c18f Minor cleanup from recent changes. 2017-03-26 14:04:07 -06:00
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
b47e1888f5 Clicker2-STM32: Add usbnsh configuration. 2017-03-25 06:59:27 -06:00
Masayuki Ishikawa
37fd76fa77 Merged nuttx/nuttx/master into master 2017-03-25 21:11:54 +09: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
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
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
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
Aleksandr Vyhovanec
82a84a8d98 Merged nuttx/nuttx into master 2017-03-24 11:40:09 +03:00
no1wudi
4c6680df99 Merged in no1wudi/nuttx (pull request #291)
fix compile error when disabled the flash data cache corruption for stm32 f1xx

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 00:58:26 +00:00
David Sidrane
038ec5439f Merged in david_s5/nuttx/upstream_stm32_flash_fixes (pull request #294)
stm322_flash:missing unlock on F1 HSI off path

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 00:55:04 +00:00
no1wudi
fd76a3db05 fix spacing 2017-03-24 08:52:46 +08:00
no1wudi
5797e84893 Merged nuttx/nuttx into master 2017-03-24 08:40:40 +08:00
David Sidrane
66910577be stm322_flash:missing unlock on F1 HSI off path 2017-03-23 14:22:45 -10:00
David Sidrane
1ad123bb91 Merged in david_s5/nuttx/upstream_stm32_build_fixes (pull request #293)
stm32_i2c_alt:Move def of regval to top func def per CS

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-23 21:53:36 +00:00
David Sidrane
7e3bec635b stm32_i2c_alt:Move def of regval to top func def per CS 2017-03-23 11:50:37 -10:00
David Sidrane
444e2213a8 Merged in david_s5/nuttx/upstream_stm32_build_fixes (pull request #292)
Upstream stm32 build fixes

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-23 21:46:56 +00:00
David Sidrane
d25f8710d2 stm32f40xxx_i2c:Duplicate non CS dev of regval 2017-03-23 11:37:12 -10:00
David Sidrane
f5cf22d871 stm32_i2c_alt:Duplicate non CS dev of regval 2017-03-23 11:36:44 -10:00
David Sidrane
c2a1b719be stm32_flash:Need conditinal on non F4 targets 2017-03-23 11:33:32 -10:00
Gregory Nutt
20b8ccd9d4 More updates to README.txt 2017-03-23 13:43:48 -06:00