- Apr 04, 2018
-
-
Juha Niskanen authored
arch/arm/src/stm32 and stm32l4: In 1wire driver, do not write useless WRITEBIT zero return value to const buffer
-
- Mar 23, 2018
-
-
Juha Niskanen authored
STM32, STM32L4: add one bit read and write to 1-wire interface. This is needed for devices that require single bit timeslot generation and for 1-Wire search algorithm triplets.
-
- Mar 21, 2018
-
-
Juha Niskanen authored
-
- Mar 20, 2018
-
-
Juha Niskanen authored
-
- Feb 01, 2018
-
-
Gregory Nutt authored
-
- Oct 05, 2017
-
-
Gregory Nutt authored
sched/semaphore: sem_timedwait() is a cancellation point and, hence, cannot be called from within the OS. Created nxsem_timedwait() that is equivalent but does not modify the errno and does not cause cancellation. All calls to sem_timedwait() change to calls to nxsem_timedwait() in the OS.
-
- Oct 04, 2017
-
-
Gregory Nutt authored
This commit backs out most of commit b4747286. That change was added because sem_wait() would sometimes cause cancellation points inappropriated. But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point. In the OS, all calls to sem_wait() changed to nxsem_wait(). nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable. In all OS functions (not libraries), change sem_wait() to nxsem_wait(). This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable. sched/semaphore: Add the function nxsem_wait(). This is a new internal OS interface. It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
-
- Oct 03, 2017
-
-
Gregory Nutt authored
sched/semaphore: Add nxsem_post() which is identical to sem_post() except that it never modifies the errno variable. Changed all references to sem_post in the OS to nxsem_post(). sched/semaphore: Add nxsem_destroy() which is identical to sem_destroy() except that it never modifies the errno variable. Changed all references to sem_destroy() in the OS to nxsem_destroy(). libc/semaphore and sched/semaphore: Add nxsem_getprotocol() and nxsem_setprotocola which are identical to sem_getprotocol() and set_setprotocol() except that they never modifies the errno variable. Changed all references to sem_setprotocol in the OS to nxsem_setprotocol(). sem_getprotocol() was not used in the OS
-
Gregory Nutt authored
libc/semaphore: Add nxsem_getvalue() which is identical to sem_getvalue() except that it never modifies the errno variable. Changed all references to sem_getvalue in the OS to nxsem_getvalue(). sched/semaphore: Rename all internal private functions from sem_xyz to nxsem_xyz. The sem_ prefix is (will be) reserved only for the application semaphore interfaces. libc/semaphore: Add nxsem_init() which is identical to sem_init() except that it never modifies the errno variable. Changed all references to sem_init in the OS to nxsem_init(). sched/semaphore: Rename sem_tickwait() to nxsem_tickwait() so that it is clear this is an internal OS function. sched/semaphoate: Rename sem_reset() to nxsem_reset() so that it is clear this is an internal OS function.
-
- Feb 28, 2017
-
-
Gregory Nutt authored
-
- Feb 27, 2017
-
-
Mark Schulte authored
Provide a user defined callback context for irq's, such that when registering a callback users can provide a pointer that will get passed back when the isr is called.
-
- Nov 03, 2016
-
-
Gregory Nutt authored
arch: Disable priority inheritance on all semaphores used for signaling in the rest of the MCU drivers
-
- Nov 01, 2016
-
-
Aleksandr Vyhovanec authored
-
- Jul 21, 2016
-
-
Gregory Nutt authored
-
- May 25, 2016
-
-
Gregory Nutt authored
1-wire: Initialization/uninitialization functions are not use MCU-independent up_ naming. Should use STM32-specific stm32_ naming. These are not globally accessible but only accessible from STM32 board logic.
-
Gregory Nutt authored
-
Aleksandr Vyhovanec authored
-