1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

35029 Commits

Author SHA1 Message Date
chrysn
e0b1bfbf71 riotboot_dfu: Add user documentation 2021-03-20 21:51:22 +01:00
Dylan Laduranty
160251b0b3
Merge pull request #16011 from chrysn-pull-requests/riotboot-modeselect
riotboot: Mode selection for boards
2021-03-20 21:44:00 +01:00
Marian Buschsieweke
654d841f66
Merge pull request #16192 from maribu/tests/periph_ptp_clock
tests/periph_ptp_clock: fix bug in debug print
2021-03-20 06:51:31 +01:00
Leandro Lanzieri
99c7ec57cf
Merge pull request #15943 from jia200x/pr/gnrc_lorawan_channel_mask
net/gnrc_lorawan: implement channel mask support
2021-03-19 16:23:13 +01:00
Jose Alamos
166ee57a5a
net/gnrc_lorawan: implement funcion to set channel mask 2021-03-19 12:15:03 +01:00
Martine Lenders
64f34381c5
Merge pull request #15938 from iosabi/patch-1
Fix typo in release notes.
2021-03-19 10:44:30 +01:00
Martine Lenders
214fdf007d
Merge pull request #16193 from miri64/gnrc_netif_pktq/feat/usage
gnrc_netif_pktq: add function to check usage
2021-03-18 23:05:27 +01:00
chrysn
d770917e49 riotboot_dfu: Stay in DFU mode if button is pressed
Boards can override this; by default it's BTN0
2021-03-18 19:32:16 +01:00
Leandro Lanzieri
842ea31151
Merge pull request #16201 from maribu/periph_spi_doc_fix
drivers/periph_spi: fix Doxygen commands
2021-03-18 19:26:11 +01:00
f826e8fb46
Merge pull request #16205 from kaspar030/fix_sock_util_parse_netif
sys/net/sock_util: zero out temporary buffer
2021-03-18 17:02:19 +01:00
a53cbbfa91 sys/net/sock_util: zero out temporary buffer
Otherwise, the following strncpy() leaves strtol() with a non-terminated
buffer.
2021-03-18 14:58:35 +01:00
José Alamos
21390849bf
Merge pull request #16188 from aabadie/semtech-loramac_netdev
pkg/semtech-loramac: refactor to use netdev API only
2021-03-18 13:11:32 +01:00
benpicco
3fabafa0d9
Merge pull request #16152 from yarrick/foreach_netif
pkg/lwip: Use NETIF_FOREACH macro in sock implementation
2021-03-18 11:49:19 +01:00
benpicco
9ea7f5b9ed
Merge pull request #16169 from benpicco/cpu/stm32/candev_cleanup
cpu/stm32: candev: derive number of CAN interfaces from vendor header
2021-03-18 11:47:33 +01:00
benpicco
bbc13af977
Merge pull request #16195 from dylad/pr/boards/define_btn_mode
boards: use BTNx_MODE when defined
2021-03-17 15:39:22 +01:00
c3170b93d8
Merge pull request #16200 from maribu/gitignore
.gitignore: add *.plist and .cache/
2021-03-17 10:37:47 +01:00
Marian Buschsieweke
40859b61f0
drivers/periph_spi: fix Doxygen commands
use @retval to document individual return values rather than @return
2021-03-17 10:34:20 +01:00
Marian Buschsieweke
92c3a9626f
.gitignore: add *.plist and .cache/ 2021-03-17 09:55:00 +01:00
Marian Buschsieweke
6f011c8220
Merge pull request #16164 from kex2017/master
drivers/soft_spi: fix soft spi transfer bug
2021-03-17 09:09:33 +01:00
xuke
0c39c2321f drivers/soft_spi:fix soft spi transfer bug 2021-03-17 09:41:54 +08:00
benpicco
8ca676aa6e
Merge pull request #15907 from benpicco/gnrc_netif-register
sys/net/gnrc/netif: only register netif after init was successful
2021-03-16 16:26:06 +01:00
Benjamin Valentin
545497e970 net/netif: make netif_register() thread safe 2021-03-16 14:49:04 +01:00
399ada9968
Merge pull request #16143 from kfessel/p-optimize-native
board/native: add basic debugging compatible optimization
2021-03-16 14:37:01 +01:00
Karl Fessel
6588db6580 pkg/qcbor,wakaama,wolfssl: remove maybe-uninitialized warning
some variable seem uninitialized to gcc with -Og but aren't
https://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=may%20be%20used%20uninitialized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145
especialy:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90710#c1
2021-03-16 12:14:43 +01:00
Karl Fessel
21ce589bec unittests/tests-ieee802154: remove stack_smasher from unitest
test_ieee802154_set_frame_hdr_flags0_non_beacon_non_ack
buffer given to ieee802154_set_frame_hdr has to be at least 2 bytes
see <RIOT>/sys/net/link_layer/ieee802154/ieee802154.c l32
2021-03-16 12:14:24 +01:00
Karl Fessel
a6bf444489 board/native: undefine FORTIFY_SOURCE to avoid printf replace
printf may be replaced by libc printf_chk if _FORTIFY_SOURCE is
defiend. This undefines it
2021-03-16 12:14:00 +01:00
Karl Fessel
2bd2384bc0 examples/filesystem: posix open needs mode if O_CREATE
umask is applied to mode (mode & ~umask) -> 00777 is a good default
see: man 2 open
2021-03-16 12:13:11 +01:00
Karl Fessel
cfaa57fe6c board/native: no omit frame pointer if backtrace is used
this makes riots test work but may have different result than O0
see man 3 backtrace #NOTES
2021-03-16 12:12:49 +01:00
Karl Fessel
4d645a23aa board/native: add basic debugging compatible optimization
adds -Og to board/native CFLAGS
2021-03-16 11:54:01 +01:00
dylad
187b79fa74 boards: use BTNx_MODE when defined 2021-03-15 21:26:50 +01:00
Martine S. Lenders
6507d04a83 tests/unittests: extend tests for gnrc_netif_pktq_usage() 2021-03-15 15:13:59 +01:00
Martine S. Lenders
db8415b5b6 gnrc_netif_pktq: add function to check usage 2021-03-15 15:13:27 +01:00
Martine Lenders
fd36c626a3
Merge pull request #15950 from MrKevinWeiss/pr/turo/initial
sys/test_utils/result_output: Initial implementations and API of turo
2021-03-15 11:35:01 +01:00
MrKevinWeiss
2e5ff00386 dist/tools/uncrustify: Add turo module 2021-03-15 10:36:46 +01:00
MrKevinWeiss
e7cc489b14 tests/turo: Add automated turo test for json 2021-03-15 10:36:46 +01:00
MrKevinWeiss
e9b65306ea tests/unittests/turo: Add turo unittest 2021-03-15 10:36:46 +01:00
MrKevinWeiss
38884d24b2 sys/result_output: Add kconfig 2021-03-15 10:36:46 +01:00
90b74104f2
pkg/semtech-loramac: use common time on air computation helper 2021-03-15 09:48:42 +01:00
05224adc96
sys/net/loramac: move lora time on air compute helper in loramac.h 2021-03-14 11:09:39 +01:00
Marian Buschsieweke
42df56ff08
tests/periph_ptp_clock: fix bug in debug print
The API doc of ptp_clock_adjust_speed says regarding the correction
parameter:

    1. A call with @p correction set to `0` restores the nominal clock speed.
    2. A call with a positive value for @p correction speeds the clock up
       by `correction / (1 << 32)` (so up to ~50% for `INT32_MAX`).
    3. A call with a negative value for @p correction slows the clock down by
       `-correction / (1 << 32)` (so up to 50% for `INT32_MIN`).

So we need to divide by 2^32, not 2^32 - 1 (or `UINT32_MAX`).
2021-03-12 20:43:01 +01:00
MrKevinWeiss
6a3eb46d5e sys/result_output: Expose result output 2021-03-12 16:20:33 +01:00
MrKevinWeiss
2c2be2636d sys/result_output: Add initial structure check 2021-03-12 16:17:12 +01:00
MrKevinWeiss
d17829311c sys/result_output: Add initial text implementation 2021-03-12 16:16:28 +01:00
MrKevinWeiss
3cbd8a356b sys/result_output: Add initial json implementation 2021-03-12 16:15:07 +01:00
f337a9025a
pkg/semtech-loramac: only handle CAD/FHSS events with sx127x 2021-03-12 14:40:12 +01:00
f5ef94c86c
examples/lorawan: adapt to new loramac initialization 2021-03-12 14:40:12 +01:00
e4c54de2a6
sys/auto_init/loramac: initialize sx127x radio there 2021-03-12 14:40:12 +01:00
5aff617512
pkg/semtech-loramac: rework to only use netdev interface 2021-03-12 14:40:12 +01:00
25a613ba93
pkg/semtech-loramac: use netdev interface to set sleep state 2021-03-12 11:38:14 +01:00
0ea3b0bac1
drivers/sx127x: expose RSSI value via netdev 2021-03-12 10:29:45 +01:00