1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 09:52:45 +01:00
Commit Graph

36893 Commits

Author SHA1 Message Date
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
Jue
80360e5308 cpu/stm32/gpio_f1: fix IRQ handler 2021-04-12 18:45:04 +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
Jue
2f503f11fa cpu/stm32/gpio_all: fix IRQ handler for G0/L5/MP1 families 2021-04-12 17:01:33 +02:00
Hauke Petersen
6a8b6ca3f5 pkg/nimble/netif: use global MSYS memory pool 2021-04-12 16:26:23 +02:00
Hauke Petersen
9926e33751
Merge pull request #15782 from haukepetersen/opt_sema_ztimer
sys/sema: allow to use ztimer and/or xtimer
2021-04-12 14:44:31 +02:00
Francisco
505dcb7a62
Merge pull request #16314 from miri64/tests/enh/periph_rtt_min
tests/periph_rtt_min: harden test
2021-04-12 14:11:41 +02:00
Hauke Petersen
4cd9e96066 tests/sema: add test for sema_wait_timed_ztimer() 2021-04-12 13:08:39 +02:00
Hauke Petersen
b339e91e18 sys/sema: allow to use ztimer and/or xtimer 2021-04-12 13:08:39 +02:00
José Alamos
a4c479ca53
Merge pull request #16313 from fjmolinas/riot-loramac-system-aes
[TAKEOVER]: pkg/semtech-loramac: switch to RIOT AES
2021-04-12 13:06:39 +02:00
Martine Lenders
4e3ed19802
Merge pull request #16302 from iosabi/lwip_test
lwip_sock: Make sock_tcp_read return more data if available and test it
2021-04-12 12:27:26 +02:00
Martine Lenders
fc6dc25da4 tests/periph_rtt_min: harden test
- Better self-containment: read number of expected samples from output
  rather than the environment
- Less reliance on `stdout` timing: Count samples in application and
  output it rather then counting flushed dots.
2021-04-12 11:56:25 +02:00
Oleg Artamonov
a3cbeee9ce
pkg/semtech-loramac: switch to RIOT AES 2021-04-12 11:13:50 +02:00
Hauke Petersen
e28ec7907b
Merge pull request #15806 from haukepetersen/opt_nrf5x_nrfblehfxo
cpu/nrf/radio/nrfble: request HFXO only on demand
2021-04-12 11:04:12 +02:00
chrysn
101a9936ba
Merge pull request #16299 from benpicco/examples/doc-fix
examples: small fixes
2021-04-11 08:14:51 +02:00
Benjamin Valentin
737578a7bf examples/suit_update: allow the use of large MTUs
Transfer time is reduced significantly if we can use fewer frames
with large MTUs.
2021-04-11 01:08:11 +02:00
Benjamin Valentin
44fa20dcc0 examples/suit_update: add LinkHeader dependency
Aiocoap requires the LinkHeader package to be installed.
2021-04-11 01:08:11 +02:00
iosabi
73fab03e31 boards/common/esp8266: Set RTS and DTR to 0 on pyterm.
When flashing the ESP8266 with the flash tool it is possible to connect
RTS to the reset line and DTR to GPIO0 to automatically reboot the
device into flash mode and then reboot the device again into normal
mode.

pyterm leaves these two signals unset unless we specify a --set-rts=0 or
1, and the value of these lines would depend on the UART driver.

This patch explicitly sets RTS and DTR to 0 (high level) in the
Makefile.include config so `make term` releases the reset line,
otherwise the device may be left in reset mode after pyterm starts.
2021-04-10 22:50:35 +02:00
iosabi
0c40158eac cpu/esp8266: Fix typo in esp_gdbstub config.
The extra `)` was a typo from the commit that changes the makefile
inline "if" to a multi-line "if" block.

Tested with `USEMODULE="esp_gdbstub" make BOARD=esp8266-esp-12x -C tests/lwip`
2021-04-10 22:49:23 +02:00
iosabi
9974803f43 tests/lwip: Add a test for partial TCP reads.
Add a new test to check the behavior of `sock_tcp_read` when more data
is available in the connection than the buffer passed. This test checks
issue #16124 as well as reading from multiple small network packets into
a single buffer.
2021-04-10 17:14:11 +00:00
iosabi
e469f2dea4 lwip_sock: Make sock_tcp_read return data if available
When reading from the socket with `sock_tcp_read()` it would only return
data from at most one internal connection buffer, even if the buffer
passed to `sock_tcp_read()` is larger and there is more data available
in the connection. This patch makes `sock_tcp_read` process all the
available data so long as there's more data to read available
immediately.
2021-04-10 18:45:57 +02:00
Benjamin Valentin
eb801ad684 examples/gnrc_border_router: fix wording in Makefile 2021-04-10 01:08:48 +02:00
0397cab91c
Merge pull request #16297 from fjmolinas/pr_sgp30_unused_var
drivers/sgp30: unused variable when DEVELHELP=0
2021-04-09 21:54:21 +02:00
benpicco
f157be3426
Merge pull request #16214 from benpicco/examples/gnrc_border_router-eth
examples/gnrc_border_router: enable ethernet uplink
2021-04-09 19:36:01 +02:00
Francisco Molina
7079525b35
drivers/sgp30: unused variable when DEVELHELP=0 2021-04-09 18:19:33 +02:00
Fabian Hüßler
f5f2decfa4 nrf24l01p_ng: add hook nrf24l01p_ng_eui_get() 2021-04-09 17:39:40 +02:00
Martine Lenders
6300eb2422
Merge pull request #16230 from fjmolinas/pr_ryot_yaml_runners
.github/workflows: add riot-ryot.yml
2021-04-09 17:25:29 +02:00
Francisco Molina
3e20e3b018
.github/workflows: add riot-ryot.yml
Add github actions configuration to run all tests on BOARDs
connected to ci-riot-tribe.

Will run on all new Release Candidates and weekly on master.
2021-04-09 16:53:42 +02:00
6ee94bdcdf
Merge pull request #16222 from fjmolinas/pr_driver_sgp30
driver/sgp30: initial import
2021-04-09 14:00:38 +02:00
6a69ea0793
Merge pull request #16294 from kaspar030/riotboot_pkg_prepare
make: make riotboot target depend on pkg-prepare
2021-04-09 13:26:57 +02:00
668e90adfc
Merge pull request #16292 from kaspar030/clist_is_empty
core: add clist_is_empty()
2021-04-09 11:48:48 +02:00
benpicco
17366609cf
Merge pull request #16291 from fjmolinas/pr_suit_use_realeas_aiocoap
examples/suit_update: use aiocoap 0.4.1
2021-04-09 11:24:35 +02:00
eca4ff7a04 make: make riotboot target depend on pkg-prepare
When riotboot depends on a package for building that the main
application also depends on (e.g., gecko_sdk for efm32), previously,
that package would be checked out twice in parallel, which fails.

This commit adds pkg-prepare as dependency to the bootloader target,
ensuring any packages are already up-to-date before calling the
bootloader submake.
2021-04-09 11:12:58 +02:00
f48aba5035 tests/unittests: add clist_is_empty() test case 2021-04-09 10:54:29 +02:00
020945a773 core/clist: add clist_is_empty() 2021-04-09 10:54:29 +02:00
Francisco Molina
cf9b95fc1d
examples/suit_update: use aiocoap >= 0.4.1 2021-04-09 08:56:55 +02:00
MrKevinWeiss
008660fccf sys/random: Fix typo in kconfig 2021-04-08 16:44:10 +02:00
MrKevinWeiss
a3075ec0c4 makefiles/info: Add make info-packages command 2021-04-08 16:44:10 +02:00
MrKevinWeiss
450b70e345 tools/kconfiglib: Allow for - in symbols 2021-04-08 16:44:10 +02:00
MrKevinWeiss
13db748fc8 .murdock: Enable pkg kconfig tests 2021-04-08 16:44:10 +02:00
MrKevinWeiss
600e9f4e47 tests/pkg*: Add app.config.test to pkg tests
This adds app config to the package tests that are available:

- tests/pkg_c25519
- tests/pkg_cayenne-lpp
- tests/pkg_cifra
- tests/pkg_cn-cbor
- tests/pkg_emlearn
- tests/pkg_hacl
- tests/pkg_heatshrink
- tests/pkg_jsmn
- tests/pkg_libb2
- tests/pkg_libcose
- tests/pkg_libfixmath
- tests/pkg_libhydrogen
- tests/pkg_lora-serialization
- tests/pkg_micro-ecc
- tests/pkg_minmea
- tests/pkg_monocypher
- tests/pkg_nanocbor
- tests/pkg_nanopb
- tests/pkg_qcbor
- tests/pkg_qdsa
- tests/pkg_relic
- tests/pkg_tiny-asn1
- tests/pkg_tinycbor
- tests/pkg_tinycrypt
- tests/pkg_tweetnacl
- tests/pkg_yxml
2021-04-08 16:44:10 +02:00