89514938b2
Merge pull request #16350 from miri64/gh-actions/fix/release-test-sudo-gh-token
...
gh-actions: release-tests: properly configure GH token for sudo
2021-04-20 14:26:02 +02:00
Karl Fessel
fb50acd3f9
cpu/efm32: define rtt attributes
2021-04-20 11:12:45 +02:00
Karl Fessel
c41342dc5b
boards/*efm32*: do not force RTT_FREQUENCY
...
while keeping a sane (rtt shared with rtc (counter)) default
this commit adds the ability to define RTT_FREQUENCY
to some thing different than 1 Hz
2021-04-20 11:12:45 +02:00
Karl Fessel
4ff30a31e5
cpu/efm32: add RTT_FREQUENCY support to efm32
...
make efm32 rtt frequency configurable by setting RTT_FREQUENCY
2021-04-20 11:12:45 +02:00
Martine Lenders
d06c532410
gh-actions: release-tests: properly configure GH token for sudo
2021-04-20 11:03:47 +02:00
Francisco
2a3fbf38f6
Merge pull request #16301 from IchiroKuroki/arduino_nano_33_iot_support
...
Configuration extension for arduino-nano-33-iot
2021-04-20 09:48:24 +02:00
iosabi
f72efb1daf
drivers/si70xx: Add support for Si705x sensors
...
The Silicon Labs Si705x sensors (Si7050/1/3/4/5) are very similar to the
Si7021 sensors featuring only a temperature sensor and no humidity
sensor. The only difference between the Si705x is the temperature
accuracy of the reading, ranging from +/- 0.1 C in the Si7051 to +/- 1 C
in the Si7050.
This patch adds support for this family of sensors extending the
functionality of the existing si70xx driver. Following the style of
other modules, this implements a pseudomodule per supported chip, adding
si7050, si7051, si7053, si7054 and si7055 pseudomodules.
As a minor change this patch also implements the missing
si70xx_get_serial, si70xx_get_id and si70xx_get_revision functions that
were declared in the si70xx.h header but implemented as private
functions. The si70xx_get_id() may be relevant for the application to
know at run time exactly which version of the hardware is installed.
The updated test running with a Si7051 shows the following output, which
seems consistent with the room temperature conditions during the test.
```
make SI70XX_VARIANT=si7051 -C tests/driver_si70xx/ all flash
```
```
SI70XX temperature and humidity sensor test application
Initializing sensor...
[OK]
Found SI7051 sensor, revision 32
temperature: 24.71 C
temperature: 24.69 C
```
2021-04-17 20:14:35 +00:00
Martine Lenders
dec82b2475
Merge pull request #16329 from miri64/tests/fix/periph_rtt_min-timeout
...
tests/periph_rtt_min: adapt for slower RTTs
2021-04-16 16:53:54 +02:00
Martine Lenders
286e4ec04b
Merge pull request #16340 from haukepetersen/opt_sixlowpanctx_ztimer
...
net/grnc/sixlowpan/ctx: use ztimer_msec if available
2021-04-16 13:27:40 +02:00
Hauke Petersen
feeffb2b2e
sys/shell/sc_gnrc_6ctx: use ztimer if available
2021-04-16 11:38:54 +02:00
Hauke Petersen
75dbf65256
net/gnrc/sixlowpan/ctx: use ztimer if available
2021-04-16 11:38:54 +02:00
Martine Lenders
e27675bc10
tests/periph_rtt_min: adapt for slower RTTs
2021-04-16 11:11:37 +02:00
Francisco
922611b224
Merge pull request #16338 from haukepetersen/fix_nimble_tmpfixrandseed
...
pkg/nimble: temporary fix to NimBLE PRNG seed issue
2021-04-16 09:32:15 +02:00
Francisco
8b1d6720e0
Merge pull request #16337 from haukepetersen/fix_nimble_scnetifconnectnametimeout
...
shell/sc_nimble_netif: fix _connect_name scan dur
2021-04-16 09:12:11 +02:00
Francisco
2e2213f0ab
Merge pull request #16335 from haukepetersen/opt_nimble_verbump940cc0
...
pkg/nimble: switch back to upstream master
2021-04-15 22:02:50 +02:00
Hauke Petersen
05f0105a90
pkg/nimble: switch back to upstream master
2021-04-15 14:49:36 +02:00
Hauke Petersen
8213e6ca4b
pkg/nimble: temporary fix to NimBLE PRNG seed issue
2021-04-15 12:50:09 +02:00
Hauke Petersen
d605cf4c15
shell/sc_nimble_netif: fix _connect_name scan dur
2021-04-15 12:42:41 +02:00
95a2456457
Merge pull request #16330 from kfessel/p-add-clist-special
...
core/clist: add special cardinality tests and matching unittest
2021-04-15 12:14:58 +02:00
Francisco
ae6ffa37ea
Merge pull request #16317 from haukepetersen/opt_nimble_ztimer
...
pkg/nimble: migrate to ztimer
2021-04-15 10:17:42 +02:00
Hauke Petersen
01770fb9ae
sys/shell/sc_nimble_netif: use ztimer
2021-04-15 09:11:53 +02:00
Hauke Petersen
9bd65efe12
tests/nimble_l2cap: fix missing xtimer.h include
2021-04-15 08:21:56 +02:00
Hauke Petersen
ec8d8703ab
pkg/nimble/scanlist: fix missing stdio.h include
2021-04-15 08:21:56 +02:00
Hauke Petersen
c94f61596e
pkg/nimble/scanlist: switch to ZTIMER_USEC
2021-04-15 08:21:56 +02:00
Hauke Petersen
b4ff5aae3a
pkg/nimble: switch from xtimer to ztimer
2021-04-15 08:21:56 +02:00
Hauke Petersen
7e22f644da
pkg/nimble: update to temporary upstream branch
2021-04-15 08:21:56 +02:00
Karl Fessel
5735d99971
core/clist: add special cardinality tests and matching unittest
...
adds clist_exactly_one() and clist_more_than_one()
and a unittest that tests them
2021-04-14 21:00:10 +02:00
benpicco
a1d4ec3e62
Merge pull request #16332 from ant9000/pr_fix_ds18_board_params
...
drivers/ds18: missing "board.h" include
2021-04-14 20:11:34 +02:00
chrysn
c99bb55e68
Merge pull request #16129 from maribu/compile_commands_json
...
build system: add compile-commands target to generate compile_commands.json
2021-04-14 18:10:28 +02:00
Antonio Galea
afb39700ae
drivers/ds18: missing "board.h" include
2021-04-14 17:52:08 +02:00
Marian Buschsieweke
a07dac9ad1
build system: add new compile-commands make target
...
By running make compile-commands a `compile_commands.json` in the RIOT base
directory. With the environment variable `COMPILE_COMMANDS` the path of
this file can be changed to a custom location.
The `compile_commands.json` will contain the exact compile command, but
as additional flag `-I/usr/$(TARGET)/include` is added to work around
`clangd` not being able to locate the newlib system headers. The
additional includes can be overwritten using the environment variable
`COMPILE_COMMANDS_EXTRA_INCLUDES`.
2021-04-14 14:51:46 +02:00
Marian Buschsieweke
a8e9fa6253
Merge pull request #16311 from kfessel/p-advance-prio
...
core/sched: keep scheduler clist internal to sched
2021-04-14 13:24:05 +02:00
Karl Fessel
1dde0f42d4
core/sched: keep scheduler clist internal to sched
...
adds sched_runq_advance(prio)
used it in core/thread and
test malloc_thread_safety
2021-04-14 09:53:04 +02:00
Martine Lenders
33ca462af6
Merge pull request #16325 from miri64/tests/fix/tests-rtc
...
tests/unittests/tests-rtc: do not use DST info for normalization
2021-04-13 18:16:47 +02:00
Ichiro Kuroki
1cc02aef2f
boards/arduino-nano-33-iot: extend SPI configuration
2021-04-13 18:08:06 +03:00
Ichiro Kuroki
068f029cc8
boards/arduino-nano-33-iot: add ADC configuration
2021-04-13 18:07:51 +03:00
Ichiro Kuroki
a8e9a985d5
boards/arduino-nano-33-iot: add PWM configuration
2021-04-13 18:07:29 +03:00
chrysn
fda4d2d54d
Merge pull request #16234 from chrysn-pull-requests/microbit-peripherals
...
boards/microbit-v2: Add buttons
2021-04-13 15:24:58 +02:00
benpicco
0ede891755
Merge pull request #16223 from chrysn-pull-requests/dac-dds-int-range
...
tests/dac_dds: Fix sine wave to fit in PCM range
2021-04-13 14:57:58 +02:00
Martine Lenders
873b71c3e9
tests/unittests/tests-rtc: do not use DST info for normalization
...
`rtc_tm_normalize` does not use it, so `mktime` should not either.
2021-04-13 14:37:19 +02:00
benpicco
bd6114ae9d
Merge pull request #16187 from benpicco/cpu/sam0_common/get_tamper
...
cpu/sam0_common: add rtc_get_tamper_event()
2021-04-13 14:11:46 +02:00
benpicco
fa8057ffbf
Merge pull request #16180 from nicoHarel/drivers/ds3231
...
drivers/ds3231: add alarm support
2021-04-13 13:57:16 +02:00
chrysn
5239f5ed13
boards/microbit-v2: Add buttons
2021-04-13 11:09:57 +02:00
Francisco
2f28ad4f1c
Merge pull request #16231 from maribu/tests/malloc_thread_safety
...
tests/malloc_thread_safety: improve test
2021-04-13 11:00:16 +02:00
Benjamin Valentin
13fbb7c1a0
cpu/sam0_common: add rtc_tamper_pin_mask()
2021-04-13 10:45:16 +02:00
Benjamin Valentin
9d482c4448
cpu/sam0_common: RTC: only write TAMPCTRL when tamper is enabled
...
If we configure TAMPCTRL early, GPIO events will set bits in the
TAMPCTRL register.
That means that after a wake-up, we can't tell if the bit was set
because it was the wake-up source or if it was already set by a
run-time GPIO event.
2021-04-13 10:45:16 +02:00
Benjamin Valentin
55c95cd8fd
tests/periph_gpio: display tamper wake event
2021-04-13 10:45:16 +02:00
Benjamin Valentin
73dbda99ac
cpu/sam0_common: add rtc_get_tamper()
...
Add a function to query which tamper event woke the CPU from hibernation.
2021-04-13 10:45:16 +02:00
Leandro Lanzieri
58ec967cc6
Merge pull request #16264 from MrKevinWeiss/pr/pkgupdate/kconfig
...
pkg/*/Kconfig: Model simple pkgs in Kconfig
2021-04-12 19:01:18 +02:00
Hauke Petersen
3571db64e6
Merge pull request #15648 from haukepetersen/opt_nimble_rmnetifbuffers
...
pkg/nimble/netif: use global MSYS memory pool
2021-04-12 17:25:17 +02:00