Hauke Petersen
f5de257d58
ztimer: expose ztimer_is_set() to public API
2021-01-18 17:50:50 +01:00
6d3d067443
cpu/cortexm_common: Do not use SVC for cpu_switch_context_exit
...
Directly use the pendsv interrupt instead of chaining through the SVC
interrupt
2021-01-18 16:27:17 +01:00
benpicco
672a9affc7
Merge pull request #15786 from bergzand/pr/pkg/monocypher/v312
...
pkg/monocypher: bump to version 3.1.2
2021-01-18 16:20:02 +01:00
benpicco
5fe6483403
Merge pull request #15762 from benpicco/sys/sema_inv
...
sys/sema_inv: add inverse Semaphore
2021-01-18 15:57:01 +01:00
6143fdc912
pkg/monocypher: bump to version 3.1.2
2021-01-18 15:06:11 +01:00
Francisco Molina
c636a6501c
makefiles/docker.inc.mk: use version_is_greater_or_equal for jobs check
2021-01-18 14:38:47 +01:00
Francisco Molina
e455ccd3c0
makefiles/utils/strings.mk: add version_greater_or_equal
2021-01-18 14:37:23 +01:00
Francisco
ba4228cccf
Merge pull request #15196 from bergzand/pr/docker/add_jobs
...
docker: pass number of jobs from MAKEFLAGS to the container
2021-01-18 14:36:57 +01:00
Leandro Lanzieri
61a10db288
sys/xtimer/kconfig: fix dependencies
2021-01-18 14:14:13 +01:00
Leandro Lanzieri
6625a15bf6
sys/ztimer: add modules to Kconfig
2021-01-18 14:14:13 +01:00
Leandro Lanzieri
abe90f6aeb
sys/frac: add module to Kconfig
2021-01-18 14:14:13 +01:00
f2a719ba3c
docker: pass number of jobs from MAKEFLAGS to the container
2021-01-18 13:41:35 +01:00
Francisco
b46116d77e
Merge pull request #15607 from leandrolanzieri/pr/kconfig/drivers_lmn
...
drivers/{l, m, n}*: add modules to Kconfig
2021-01-18 11:45:46 +01:00
c579dbe953
schedstatistics: Log sleep tick statistics
2021-01-18 11:14:23 +01:00
Leandro Lanzieri
1fd3c17506
Merge pull request #15784 from fjmolinas/pr_mcp2515_makefile.dep
...
drivers/mcp2515: move dependencies to own Makefile.dep
2021-01-18 11:06:50 +01:00
4868094fbf
tests/memarray: add extend/reduce tests
2021-01-18 11:01:37 +01:00
Leandro Lanzieri
20c5552920
tests: add Kconfig configuration files for multiple driver tests
...
Configurations for the following applications have been added:
l3g4200d
lc709203f
lis2dh12
lis3dh
lis3mdl
lpd8808
lpsxxx
lsm303dlhc
lsm6dsl
ltc4150
mag3110
mhz19
mma7660
mma8x5x
motor_driver
mpl3115a2
mpu9x50
mq3
nvram_spi
mtd_flashpage
mtd_mapper
2021-01-18 10:44:30 +01:00
Leandro Lanzieri
d8cf1c9440
drivers/nvram_spi: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
bfacb78f31
drivers/nvram: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
52b838b877
drivers/ncv7356: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
4ada286f89
drivers/mtd_spi_nor: add module to Kconfig
2021-01-18 10:42:35 +01:00
Leandro Lanzieri
b3df3cf931
drivers/mtd_sdcard: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
db3349d052
drivers/mtd_mci: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
63407b5e5b
cpu/lpc23xx/mci: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
1950f5a532
drivers/mtd_mapper: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
105001a977
drivers/mtd_flashpage: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
c574ac999e
drivers/mq3: add module to Kconfig
2021-01-18 10:42:34 +01:00
Leandro Lanzieri
91e88522af
drivers/mpu9x50: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
b959e3a11e
drivers/mpl3115a2: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
a69b854b17
drivers/motor_driver: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
245a04b612
drivers/mma7660: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
d22ef9087d
drivers/mma8x5x: add module to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
e977dec8fb
drivers/mhz19: add modules to Kconfig
2021-01-18 10:42:33 +01:00
Leandro Lanzieri
a155b3f28e
drivers/mcp2515: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
22bc6a7935
drivers/mag3110: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
ab150978ae
drivers/ltc4150: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
a8d6e2757e
drivers/lsm303dlhc: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
deaf974650
drivers/lsm6dsl: add module to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
d037a5a949
drivers/lpsxxx: add modules to Kconfig
2021-01-18 10:42:32 +01:00
Leandro Lanzieri
51cf04da09
drivers/lpd8808: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
c58f64a23b
drivers/lis3mdl: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
29f4c7b678
drivers/lis3dh: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
ffc7764ef9
drivers/lis2dh12: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
5d487d60b7
drivers/lc709203f: add module to Kconfig
2021-01-18 10:42:31 +01:00
Leandro Lanzieri
24968e71eb
drivers/l3g4200d: add module to Kconfig
2021-01-18 10:42:31 +01:00
Francisco Molina
8ba1a37b2a
drivers/mcp2515: move dependencies to own Makefile.dep
2021-01-18 10:28:51 +01:00
Francisco
8e40f6a653
Merge pull request #15708 from leandrolanzieri/pr/kconfig/drivers_opqr
...
drivers/{o, p, q, r}*: add modules to Kconfig
2021-01-18 10:06:09 +01:00
Benjamin Valentin
b0d476c890
tests/sys_sema_inv: add test for inverse semaphore
2021-01-17 00:17:58 +01:00
Benjamin Valentin
5602587dd7
sys/sema_inv: add inverse Semaphore
...
It is often desiderable to sync on multiple threads, e.g. there can be a controller
thread that waits for `n` worker threads to finish their job.
An inverse semaphore provides an easy primitive to implement this pattern.
After being initialized with a value `n` (in counter mode), a call to `sema_inv_wait()`
will block until each of the `n` threads has called `sema_inv_post()` exactly once.
There are situations where workers might post an event more than once
(unless additional state is introduced).
For this case, the alternative mask mode is provided.
Here the inverse semaphore is initialized with a bit mask, each worker can clear one
or multiple bits with `sema_inv_post_mask()`. A worker can clear it's bit multiple times.
2021-01-17 00:17:58 +01:00
Hauke Petersen
ed2e40df63
Merge pull request #15781 from haukepetersen/add_sema_getvalue
...
sys/sema: add sema_get_value()
2021-01-16 13:03:03 +01:00