benpicco
361d41db05
Merge pull request #17586 from benpicco/dist/tools/topogen-doc
...
tools/zep_dispatch: document topogen usage
2022-01-31 11:49:26 +01:00
Francisco
ba325e8a35
Merge pull request #17354 from bergzand/pr/gnrc_netif/ztimer
...
gnrc/netif: convert to ztimer
2022-01-31 09:42:28 +01:00
Francisco
5bde360689
Merge pull request #17588 from benpicco/tests/pkg_mbedtls-blacklist
...
tests/pkg_mbedtls-blacklist: blacklist samr21-xpro
2022-01-31 09:27:15 +01:00
benpicco
d0d4497162
Merge pull request #17589 from kfessel/p-fix-ztimer64-print
...
sys/ztimer64: PRIu64 requires stdio before inttypes
2022-01-30 22:28:38 +01:00
chrysn
b2b434d064
Merge pull request #17592 from chrysn-pull-requests/fix-17591
...
cpu/nrf52 radio: Populate info
2022-01-30 21:52:34 +01:00
Francisco
f29f73dea5
Merge pull request #17551 from NikLeberg/feature/pkg_paths
...
buildsystem/pkg: expand packages from USEPKG early as path into PKG_PATHS
2022-01-30 20:57:08 +01:00
NikLeberg
e5365adb93
pkg/esp32_sdk_libs: add requirements to PKG_PREPARE
...
The shared `build-libs` directory needs to be available for
modules/packages that depend on the SDK before that package
is eventually compiled.
Packages are downloaded, patched, prepared before any module
is compiled. By adding the directory creation as a dependency
of `PKG_PREPARE` we make sure the rule is run before compilation
starts.
2022-01-30 20:00:09 +01:00
NikLeberg
18dca48510
pkg/esp32_sdk: add requirements to PKG_PREPARE
...
The shared `build-libs` directory needs to be available for
modules/packages that depend on the SDK before that package
is eventually compiled.
This also includes header files such as `esp32_idf_version.h`.
Packages are downloaded, patched, prepared before any module
is compiled. By adding the directory creation and header as
a dependency of `PKG_PREPARE` we make sure the rules are ran
before compilation starts.
2022-01-30 19:59:35 +01:00
NikLeberg
044701d3cc
pkg/esp8266_sdk: add requirements to PKG_PREPARE
...
The shared `build-libs` directory needs to be available for
modules/packages that depend on the SDK before that package
is eventually compiled.
Packages are downloaded, patched and prepared before any
module is compiled. By adding the directory creation and
header as a dependency of `PKG_PREPARE` we make sure the
rule is run before compilation starts.
2022-01-30 19:59:05 +01:00
NikLeberg
140824e69c
buildsystem/pkg: expand paths early
2022-01-30 19:58:52 +01:00
chrysn
716cd8f48b
cpu/nrf52 radio: Populate info
...
According to ieee802154_radio_confirm_transmit docs, the parameter of
confirm_op for IEEE802154_HAL_OP_TRANSMIT is to be populated as an out
parameter -- but this implementation unconditionally left info
unpopulated. Thus, when run with LLVM, _fsm_state_tx_process_tx_done
looked into an uninitialized info and thus crashed into failing
assertions.
Closes: https://github.com/RIOT-OS/RIOT/issues/17591
2022-01-30 16:13:04 +01:00
benpicco
4aa173d37e
Merge pull request #17590 from benpicco/tests/pkg_edhoc_c-blacklist_esp32
...
tests/pkg_edhoc_c: blacklist esp32-wroom-32
2022-01-28 22:02:15 +01:00
benpicco
5a57dec71a
Merge pull request #17093 from maribu/core/change_prio
...
core/sched: add sched_change_priority()
2022-01-28 20:01:20 +01:00
Benjamin Valentin
c5df19bfa4
tests/pkg_edhoc_c: blacklist esp32-wroom-32
...
This test fails rather regularly on CI, so disable it.
socat - open:/dev/ttyUSB0,b115200,echo=0,raw
Traceback (most recent call last):
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/tests/pkg_edhoc_c/tests/01-run.py", line 101, in <module>
sys.exit(run(testfunc))
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/__init__.py", line 28, in run
logfile=sys.stdout if echo else None)
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/spawn.py", line 88, in setup_child
sync_child(child, env)
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/spawn.py", line 123, in sync_child
TEST_INTERACTIVE_DELAY)
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/utils.py", line 41, in test_utils_interactive_sync_shell
_test_utils_interactive_sync(child, retries, delay, '\n', '>')
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/utils.py", line 17, in _test_utils_interactive_sync
ret = child.expect_exact([ready_exp, pexpect.TIMEOUT], timeout=delay)
File "/usr/local/lib/python3.5/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact
return exp.expect_loop(timeout)
File "/usr/local/lib/python3.5/dist-packages/pexpect/expect.py", line 179, in expect_loop
return self.eof(e)
File "/usr/local/lib/python3.5/dist-packages/pexpect/expect.py", line 122, in eof
raise exc
pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
2022-01-28 18:12:40 +01:00
Karl Fessel
6321a958a9
sys/ztimer64: PRIu64 requires stdio before inttypes
2022-01-28 17:48:47 +01:00
Benjamin Valentin
3c6241b8f4
tests/pkg_mbedtls-blacklist: blacklist samr21-xpro
...
The ENTROPY test always fails on this board
main(): This is RIOT! (Version: buildtest)
mbedtls test
SHA-224 test #1 : passed
SHA-224 test #2 : passed
SHA-224 test #3 : passed
SHA-256 test #1 : passed
SHA-256 test #2 : passed
SHA-256 test #3 : passed
ENTROPY test: failed
2022-01-28 17:48:02 +01:00
Benjamin Valentin
40f71284b3
tools/zep_dispatch: document topogen usage
2022-01-28 17:09:38 +01:00
Koen Zandberg
546202fe51
Merge pull request #17568 from emmanuelsearch/pr-release-notes-2022-01
...
release-notes.txt: add 2022.01 release notes
2022-01-28 16:06:22 +01:00
Emmanuel Baccelli
56d343de6e
release-notes.txt: add 2022.01 release notes
2022-01-28 15:48:31 +01:00
Koen Zandberg
93ac9d91d1
tests/drivers_at86rf215: Exclude z1
2022-01-28 14:04:47 +01:00
Koen Zandberg
fe0b297aec
tests/gnrc_netif_ipv6_wait_for_global_address: convert to ztimer
2022-01-28 13:38:56 +01:00
Koen Zandberg
3b5662e116
gnrc/netif: convert to ztimer
2022-01-28 13:38:50 +01:00
Juergen Fitschen
617eb359c0
Merge pull request #17565 from fjmolinas/pr_dose_to_ztimer
...
drivers/dose: migrate to ztimer_usec
2022-01-28 13:04:44 +01:00
Marian Buschsieweke
755652b6cf
tests/sched_change_priority: add test app
2022-01-28 11:29:18 +01:00
benpicco
39ad2012ba
Merge pull request #17583 from benpicco/cpu/native-afl_gcc_fix
...
cpu/native: fix build with afl-gcc 11.2
2022-01-28 10:19:32 +01:00
Benjamin Valentin
4c9f1e0ca4
cpu/native: fix build with afl-gcc 11.2
...
Building `fuzzing/gcoap` with afl-gcc 11.2 gives
/home/benpicco/dev/RIOT/cpu/native/native_cpu.c: In function ‘thread_stack_init’:
/home/benpicco/dev/RIOT/cpu/native/native_cpu.c:120:11: error: variable ‘stk’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
120 | char *stk = NULL;
| ^~~
/home/benpicco/dev/RIOT/cpu/native/native_cpu.c:118:72: error: argument ‘stack_start’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
118 | char *thread_stack_init(thread_task_func_t task_func, void *arg, void *stack_start, int stacksize)
|
We can re-write the function to not use this temporary variable and the error goes away.
2022-01-27 21:09:59 +01:00
Alexandre Abadie
b795a26781
Merge pull request #17582 from aabadie/pr/boards/p-nucleo-doc-update
...
boards/p-nucleo-wb55: update documentation
2022-01-27 20:20:26 +01:00
Alexandre Abadie
6371051bc3
Merge pull request #17545 from fjmolinas/pr_iotlab_node_docker_riotci_build
...
Makefile.include: pass IOTLAB_NODE to docker
2022-01-27 20:20:03 +01:00
benpicco
f90bc7e827
Merge pull request #17576 from benpicco/boards/wlr089-xpro
...
boards/samr34-xpro: add minimal support for WLR089 Xplained Pro
2022-01-27 18:06:47 +01:00
benpicco
4ed9d8fd5c
Merge pull request #17581 from nmeum/riscv-linker-rom-region
...
cpu/riscv_common: fix undeclared memory region linker error
2022-01-27 17:06:43 +01:00
Alexandre Abadie
1768b46f81
boards/p-nucleo-wb55: add new supported features
2022-01-27 16:04:36 +01:00
Alexandre Abadie
a7d71930c9
boards/p-nucleo-wb55: update notes about OpenOCD version
2022-01-27 16:04:27 +01:00
Alexandre Abadie
0d2b58bdfb
boards/p-nucleo-wb55: fix doxygen parent group
2022-01-27 16:03:56 +01:00
chrysn
f7dfa2f84d
Merge pull request #17133 from chrysn-pull-requests/doc-develhelp-stackoverflow-precision
...
doc: Start documenting pseudomodules
2022-01-27 15:09:22 +01:00
Sören Tempel
e41063d40e
cpu/riscv_common: fix undeclared memory region linker error
...
Since commit 3a11b1fbd280b2b46ef0a8011bead180800f83c2 (#16972 )
building RIOT applications with `BOARD=hifive1` causes the following
linker error to be emitted on my system:
/opt/rv32imc/lib/gcc/riscv32-unknown-elf/10.2.0/../../../../riscv32-unknown-elf/bin/ld:riscv_base.ld:220: warning: memory region `rom' not declared
This is due to the fact that the RISC-V linker script doesn't have a rom
memory region. While many other ARM-based boards have a rom memory
region defined in the linker script, the corresponding region name in
the RISC-V linker script is flash and rom is not declared as a memory
region hence the warning.
I think this was accidentally overlooked in
3a11b1fbd280b2b46ef0a8011bead180800f83c2. It is fixed in this commit by
replacing the rom region with the flash region. The linker script
identifiers (e.g. _srom and _erom) are not renamed.
2022-01-27 15:02:50 +01:00
Francisco Molina
d2b9b4ce8c
Makefile.include: pass IOTLAB_NODE to docker
...
By default if IoT-LAB Cli Tools V3 is used then BINFILE is used to
flash on IoT-LAB. But BINFILE is not built by default when RIOT_CI_BUILD
is set as a ci optimization.
But since before IOTLAB_NODE was not passed to docker when building it
did not know that it should BUILD BINFILE as well, which led to failures
if doing:
$ IOTLAB_NODE=iotlab-m3.grenoble.iot-lab.info BOARD=iotlab-m3 \
RIOT_CI_BUILD=1 BUILD_IN_DOCKER=1 make -C examples/hello-world/ flash
But if IOTLAB_NODE is passed at is checks for IoT-LAB cli Tools also
happen in the docker container which leads to a make error since those
are not present in docker.
Therefore add BINFILE to BUILD_FILES if RIOT_CI_BUILD is set, but unset
IOTLAB_NODE once INSIDE_DOCKER.
2022-01-27 14:56:00 +01:00
chrysn
4f085222cf
Merge pull request #17577 from chrysn-pull-requests/compile_commands-updates
...
tools/compile_commands: Update --clangd set
2022-01-27 14:29:26 +01:00
Francisco
137d99de42
Merge pull request #17578 from aabadie/pr/testbed/iotlab_nodes
...
testbed/iotlab: add mapping for samr34-xpro and nucleo-wl55jc
2022-01-27 14:08:30 +01:00
chrysn
1e8209f80e
pseudomodules: Documentation for board_software_reset
2022-01-27 13:49:25 +01:00
chrysn
15398a53cb
doc: Sharpen list of pseudomodules in documentation
...
Not all pseudomodules should go here; this is mainly for those that
don't belon anywhere else.
2022-01-27 13:49:25 +01:00
chrysn
dcd08c257b
doc: Link concrete measures from DEVELHELP documentation
2022-01-27 13:49:25 +01:00
chrysn
bb8402fc0b
doc: Document the MPU pseudomodules
2022-01-27 13:49:25 +01:00
chrysn
68d0c291a9
doc: Initial documentation of pseudomodules
...
Co-authored-by: Francisco <femolina@uc.cl>
2022-01-27 13:49:14 +01:00
Benjamin Valentin
a471f3583e
drivers/sx127x: add support for WLR089/SAM R34
...
The device ID returned on WLR089 is 0x13 instead of 0x12, but it appears to
work just like sx1276.
Also check for the other device ID to make the driver work on this module.
2022-01-27 13:36:26 +01:00
Benjamin Valentin
b67de309a4
boards/samr34-xpro: add doc.txt
2022-01-27 13:36:26 +01:00
Alexandre Abadie
8a869217f3
gh_action/test-on-iotlab: add nucleo-wl55jc and samr34-xpro
2022-01-27 11:47:06 +01:00
Alexandre Abadie
a18c95e524
testbed-support: add iotlab mapping for nucleo-wl55jc and samr34-xpro
2022-01-27 11:46:39 +01:00
Alexandre Abadie
541b23ce03
gh_action/test-on-iotlab: fix alphabetical order in boards list
2022-01-27 11:45:51 +01:00
chrysn
4fb9f46e62
tools/compile_commands: use -Wno-unknown-warning-option
...
... instead of manual filtering
Some -Wwarning-type flags were removed because in combination with
-Werror they caused clang to fail when the warning type was unknown.
Rather than enumerating them (a manual process with the extra risk of
leaving warnings disabled longer than necessary), this adds
`-Wno-unknown-arning-option` which disables the warnings (that are
becoming erors through -Werror) raised when a warning's name is unknown.
2022-01-27 09:10:49 +01:00
chrysn
c3fa026226
tools/compile_commands: Filter out -msmall-data-limit=8
...
It is not available in the libclang version currently shipped with
riotdocker.
2022-01-27 08:58:35 +01:00
chrysn
99d245f538
Merge pull request #17520 from chrysn-pull-requests/rust-enable-riscv
...
cpu/riscv_common: Enable Rust applications
2022-01-26 19:14:50 +01:00
chrysn
07a4756242
Merge pull request #17569 from chrysn-pull-requests/unit-tesla
...
phydat: Add Tesla unit
2022-01-25 16:43:16 +01:00
chrysn
206bea0a1d
phydat: Add Tesla unit
...
While this is equivalent to the existing Gs (1 T = 10^-4 Gs), this is
the SI (and thus preferred) unit.
2022-01-25 13:46:08 +01:00
Leandro Lanzieri
fca7ed3943
Merge pull request #17567 from fjmolinas/pr_test_uart_non_blocking_to_ztimer
...
tests/periph_uart_nonblocking: migrate to ztimer
2022-01-25 11:43:01 +01:00
Alexandre Abadie
7b06dc2bb2
Merge pull request #17557 from fjmolinas/pr_twr_ci_blacklist
...
examples/twr_aloha: blacklist test on ci
2022-01-25 11:18:15 +01:00
Alexandre Abadie
f184b11453
Merge pull request #17566 from fjmolinas/pr_xtimer_init_in_test
...
tests/*: remove uneeded xtimer_init
2022-01-25 11:16:06 +01:00
Alexandre Abadie
6ba8962a45
Merge pull request #17563 from fjmolinas/pr_lis2dh12_fix_ifdef
...
drivers/lis2dh12: use ifdef instead of IS_USED
2022-01-25 11:14:17 +01:00
benpicco
09ddd400c8
Merge pull request #17546 from gschorcht/cpu/esp32/gcc_8_4_0
...
cpu/esp32: changes for toolchain update to gcc version 8.4.0
2022-01-25 10:12:54 +01:00
Francisco Molina
eec37975d5
examples/twr_aloha: change test to tests-with-config
...
Test can only run on dwm1001 BOARDs.
2022-01-25 09:19:06 +01:00
Francisco Molina
621d81756c
tests/driver_motor_driver: remove uneeded xtimer_init()
2022-01-25 08:58:24 +01:00
Francisco Molina
b229f77ac1
drivers/lis2dh12: use ifdef instead of IS_USED
...
Using IS_USED leads to undefined API references
2022-01-25 08:45:09 +01:00
Francisco Molina
dc27c080ea
drivers/dose: migrate to ztimer_usec
2022-01-25 08:43:33 +01:00
Francisco Molina
7782866efc
tests/periph_uart_nonblocking: migrate to ztimer
2022-01-25 08:42:53 +01:00
Francisco Molina
30dcfb8202
tests/thread_priority_inversion: remove unneeded xtimer_init()
2022-01-25 08:42:06 +01:00
Gunar Schorcht
c0dc6ccc71
cpu/esp32: set SDK configuration dependent on newlib_nano module
2022-01-25 00:37:08 +01:00
Gunar Schorcht
fdabe050ed
cpu/esp32: skip inclusion of toolchain pthread types
...
The toolchain provides POSIX type definitions for pthread which conflicts with that in RIOT. With the CFLAGS/CXXFLAGS skip the inclusion of the types shipped by the toolchain.
2022-01-25 00:36:51 +01:00
Gunar Schorcht
2ccfb145a1
cpu/esp32: add missing POSIX functions
2022-01-25 00:36:51 +01:00
Gunar Schorcht
1d20f88bb0
cpu/esp32: set stdout/stderr to be non-buffering
2022-01-25 00:36:51 +01:00
Gunar Schorcht
e1c6306bf4
cpu/esp32: replace bzero by memset
2022-01-25 00:36:51 +01:00
Gunar Schorcht
e15e18b195
cpu/esp32: fix compilation errors
2022-01-25 00:36:51 +01:00
Gunar Schorcht
839cf4223d
cpu/esp32: changes for retagetable locking
2022-01-25 00:36:51 +01:00
Gunar Schorcht
881a92fe47
cpu/esp32: remove types.h in sys include
2022-01-25 00:36:51 +01:00
benpicco
cbe9d6967b
Merge pull request #17552 from HendrikVE/pr/examples/gcoap_dtls
...
examples/gcoap_dtls: match Makefile of examples/gcoap
2022-01-24 22:05:15 +01:00
ae210fcf46
Merge pull request #17561 from fjmolinas/pr_ztimer64_flag
...
sys/ztimer64/util.c: fix ztimer64_set_timeout_flag
2022-01-24 21:19:15 +01:00
Marian Buschsieweke
780530ad33
Merge pull request #17560 from ststrell/nucleo_f767zi_fix_adc_pin_config
...
boards/nucleo-f767zi: Fix adc pin config in periph_conf.h
2022-01-24 20:30:49 +01:00
Francisco Molina
de50d557d8
sys/ztimer64/util.c: fix ztimer64_set_timeout_flag
2022-01-24 18:37:18 +01:00
Stefan Strell
ccf31eb15d
boards/nucleo-f767zi: Fix adc pin config in periph_conf.h
2022-01-24 18:12:25 +01:00
benpicco
c18f1c2a9b
Merge pull request #17455 from gschorcht/cpu/esp32/sdk-as-package
...
cpu/esp32: download Espressif SDK ESP-IDF as package
2022-01-24 16:13:04 +01:00
benpicco
db0a984ca7
Merge pull request #17553 from gschorcht/makefiles/libc_newlib_nano_dir
...
makefiles/libc/newlibc: allow toolchains with nano version only
2022-01-24 16:12:22 +01:00
Alexandre Abadie
0b0e7620db
Merge pull request #17558 from fjmolinas/pr_iotlab_wf_dwm1001
...
.github/workflows/test-on-iotlab: add dwm1001
2022-01-24 15:51:48 +01:00
Francisco Molina
7ce6b06367
.github/workflows/test-on-iotlab: add dwm1001
2022-01-24 15:00:13 +01:00
Kevin "Tristate Tom" Weiss
c94033016e
Merge pull request #17458 from aabadie/pr/boards/stm32f429i-disc1_kconfig_deps_fix
...
{disp,touch}_dev: improve Kconfig at different levels
2022-01-24 12:00:44 +01:00
Francisco
b985a74894
Merge pull request #17367 from fjmolinas/pr_driver_ztimer_corner_cases
...
drivers: migrate xtimer64 and xtimer/ticks users to ztimer
2022-01-24 10:41:24 +01:00
Gunar Schorcht
d6f86a9b7a
makefiles/libc/newlibc: allow toolchains with nano version only
...
The check for `newlib-nano` assumes that a toolchain which provides `newlib-nano` provides both the normal version and the nano version of the `newlib`.The nano version of `newlib.h` is therefore stored in its own include directory. This is the case for toolchains which allow to use both the normal and the nano version, e.g. for ARM and RISC-V.
However, if the toolchain provides `newlib_nano` but only allows the use of the nano version, it will only have the nano version of `newlib.h` and no separate directory for it, e.g. for ESP32.
To still be able to use such toolchains with `newlib_nano`, the check is changed so that the setting of the `-isystem` option depends on the existence of the separate directory.
2022-01-23 10:48:26 +01:00
Hendrik van Essen
e6242ae205
examples/gcoap_dtls: match Makefile of examples/gcoap
2022-01-23 01:33:23 +01:00
Alexandre Abadie
c78589763e
tests/disp_dev: add Kconfig config
2022-01-22 15:14:26 +01:00
Alexandre Abadie
8e56da3658
drivers/stmpe811: don't use a choice to select the bus
2022-01-22 15:14:26 +01:00
Alexandre Abadie
3a80354d92
tests/touch_dev: add Kconfig config
2022-01-22 15:14:18 +01:00
Alexandre Abadie
6ef50cab12
tests/touch_dev: migrate to ztimer
2022-01-22 15:14:18 +01:00
Alexandre Abadie
7c9bce25e1
boards/stm32f429i-disc1: add ili9341 and stmpe811 in Kconfig
2022-01-22 15:14:17 +01:00
Alexandre Abadie
240f80e43a
drivers/stmpe811: extend Kconfig
2022-01-22 15:14:17 +01:00
Alexandre Abadie
96f338bafc
drivers/stmpe811: cleanup Kconfig
2022-01-22 15:14:17 +01:00
benpicco
2520b5c608
Merge pull request #16870 from fabian18/cpu_stm32_add_periph_backup_ram
...
cpu/stm32: make backup SRAM available
2022-01-21 18:09:42 +01:00
benpicco
f8272b0c62
Merge pull request #17548 from gschorcht/cpu/esp/cleanup_nvs_flash_cpp_dependencies
...
cpu/esp*: nvs-flash / cpp dependencies cleanup
2022-01-21 17:20:19 +01:00
Fabian Hüßler
70d3d647d1
cpu/{cortexm_common, stm32}: add support for backup RAM
2022-01-21 15:53:18 +01:00
Alexandre Abadie
2cb8ffe307
Merge pull request #17540 from leandrolanzieri/pr/drivers/ft5x06/fix_multiple_models
...
drivers/ft5x06: allow multiple device types
2022-01-21 15:43:45 +01:00
Leandro Lanzieri
91012bc3f9
drivers/ft5x06: remove unnecessary pseudomodules
2022-01-21 14:13:49 +01:00
Gunar Schorcht
6c3e7c5db7
cpu/esp*: nfs_flash/cpp dependency cleanup
...
Module `esp_idf_nvs_flash` uses C++ code. Since `esp_idf_nvs_flash` module is always enabled on ESP8266, the permanent dependency on `cpp` is correct. But on ESP32, the `esp_idf_nvs_flash` module is only enabled if `esp_wifi_any` is used. Only in that case the compilation should depend on module `cpp`.
2022-01-21 13:32:56 +01:00
Leandro Lanzieri
4eb58d74b5
drivers/ft5x06: allow multiple device types
2022-01-21 13:13:09 +01:00
Alexandre Abadie
c21730a765
Merge pull request #17406 from fjmolinas/pr_twr_aloha_rework
...
examples/twr_aloha: refactor
2022-01-21 10:08:46 +01:00
Francisco Molina
cd3fa25f06
examples/twr_aloha: refactor
2022-01-21 09:17:00 +01:00
chrysn
9bcc40a4cc
Merge pull request #17539 from benpicco/drivers/dose-doc
...
drivers/dose: add documentation for dose_watchdog
2022-01-20 20:37:17 +01:00
Benjamin Valentin
a8983d288f
drivers/dose: add documentation for dose_watchdog
2022-01-20 18:37:23 +01:00
Koen Zandberg
6a6424b427
Merge pull request #17541 from chrysn-pull-requests/post-16818-doc-fix
...
core/thread doc: Point to helper function
2022-01-20 14:26:57 +01:00
chrysn
fef782f735
core/thread doc: Point to helper function
2022-01-20 14:18:40 +01:00
Fabian Hüßler
5fdf8d2d88
tests/periph_backup_ram: FEATURES_REQUIRED += periph_rtc
2022-01-20 14:13:10 +01:00
Alexandre Abadie
f511a64302
Merge pull request #17538 from leandrolanzieri/pr/doc/pkg_includes
...
pkg: fix documentation on includes
2022-01-19 16:50:14 +01:00
benpicco
038b41453e
Merge pull request #17210 from benpicco/drivers/dose-ringbuffer
...
drivers/dose: make use of ringbuffer for RX
2022-01-19 14:45:47 +01:00
Alexandre Abadie
1c43257fbc
Merge pull request #17537 from benpicco/pkg/mbedtls-bump
...
pkg/mbedtls: bump version to v2.28.0
2022-01-19 13:08:39 +01:00
Benjamin Valentin
a8ad618a71
drivers/dose: make use of ringbuffer for RX
2022-01-19 11:43:35 +01:00
Benjamin Valentin
c4b32a426f
tests/unittests: add tests for chunked_ringbuffer
2022-01-19 11:43:35 +01:00
Benjamin Valentin
77ab8a657a
sys/chunked_ringbuffer: add chunked ringbuffer
2022-01-19 11:43:35 +01:00
Benjamin Valentin
023ef291c6
pkg/mbedtls: bump version to v2.28.0
...
https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0
2022-01-19 11:24:20 +01:00
Francisco Molina
849c800e28
pkg/uwb-core: fix dependencies add uwb-core_uwb_rng_trx_info
2022-01-19 10:32:33 +01:00
Francisco Molina
dda5441c6c
sys/event/periodic: model in Kconfig
2022-01-19 10:32:33 +01:00
Leandro Lanzieri
6257442e4e
doc: Add project name
2022-01-19 10:17:52 +01:00
Leandro Lanzieri
d8e84434a8
sys/Makefile.dep: Remove unneeded include
2022-01-19 10:16:34 +01:00
Leandro Lanzieri
e470a9ab57
pkg/doc: Fix documentation on package header files
2022-01-19 10:15:52 +01:00
Alexandre Abadie
74239561b8
Merge pull request #17534 from fjmolinas/pr_edhoc_test_netif_multi
...
tests/pkg_edhoc: handle multiple interfaces
2022-01-19 08:42:20 +01:00
Francisco Molina
ec7926f6c4
tests/pkg_edhoc: handle multiple interfaces
2022-01-19 08:17:14 +01:00
Francisco
007f8d07ce
Merge pull request #17535 from fjmolinas/pr_cc2538_set_counter
...
cpu/cc2538/rtt: fix rtt_set_counter
2022-01-19 08:15:22 +01:00
Francisco
bc6624e67b
Merge pull request #17180 from benpicco/drivers/dose-watchdog
...
drivers/dose: introduce watchdog timer
2022-01-18 23:43:29 +01:00
Alexandre Abadie
5e599a82dd
Merge pull request #17531 from fjmolinas/pr_spi_gpio_init_reference
...
drivers/periph_spi: spi_init_with_gpio_mode mode by reference
2022-01-18 18:44:54 +01:00
Alexandre Abadie
52781dc96d
Merge pull request #17530 from fjmolinas/pr_rtt_rtc_utils
...
drivers/rtt_rtc: select rtc_utils
2022-01-18 17:02:11 +01:00
Francisco Molina
8c8ab47806
cpu/cc2538/rtt: fix rtt_set_counter
2022-01-18 16:39:04 +01:00
Francisco Molina
c19a78765a
drivers/pir: migrate to ztimer64
2022-01-18 16:27:44 +01:00
Francisco Molina
d8126864ea
tests/driver_ltc4150: migrate to ztimer_usec
2022-01-18 16:27:44 +01:00
Francisco Molina
a1fe17c698
drivers/ltc4150: migrate to ztimer64
2022-01-18 16:27:44 +01:00
Francisco Molina
0398fb3f83
drivers/nvmram_spi: convert to ztimer_usec
2022-01-18 16:27:44 +01:00
Francisco Molina
24a848e844
drivers/nrf24l01p: migrate to ztimer
2022-01-18 16:27:44 +01:00
Francisco Molina
579ca6d941
drivers/periph_spi: spi_init_with_gpio_mode mode by reference
2022-01-18 16:22:18 +01:00
Benjamin Valentin
3e1076e3b9
drivers/dose: set backoff timer before send
2022-01-18 15:41:38 +01:00
Benjamin Valentin
527d1bf559
tests/driver_dose: test dose_watchdog on select boards
2022-01-18 15:41:38 +01:00
Benjamin Valentin
ddf80a8bdb
drivers/dose: introduce watchdog timer
2022-01-18 15:41:38 +01:00
Francisco Molina
8b45ed87be
drivers/rtt_rtc: select rtc_utils
2022-01-18 15:32:38 +01:00
Alexandre Abadie
728aefa541
Merge pull request #17528 from fjmolinas/pr_test_pkg_relic_stacksize
...
tests/pkg_relic: increase stacksize
2022-01-18 13:28:16 +01:00
Francisco Molina
1025341ff3
tests/pkg_relic: increase stacksize
2022-01-18 13:19:34 +01:00
benpicco
2542195cdf
Merge pull request #15671 from PeterKietzmann/pr_add_pkg_mbedtls
...
pkg/mbedtls: initial pkg import to use entropy module
2022-01-18 08:22:50 +01:00
PeterKietzmann
b05f93405e
pkg/mbedtls:initial port of the entropy module
2022-01-17 23:22:14 +01:00
Alexandre Abadie
75f5048b68
Merge pull request #17497 from jia200x/pr/lora/fix_rssi_val
...
[treewide] lora: use int16_t for RSSI value
2022-01-17 18:57:37 +01:00
Jose Alamos
d6899f40a7
drivers/atwinc15x0: adapt NETOPT_RSSI to int16_t
2022-01-17 17:54:18 +01:00
Jose Alamos
9955a35c63
[treewide] lora: use int16_t for RSSI value
...
The RSSI values reported by LoRa transceiver can be less than -127.
Therefore, `int8_t` is not enough. This commit defines the RSSI of
`netdev_lora_rx_info` as `int16_t` and adapt the drivers accordingly
(sx126x, sx127x).
2022-01-17 17:54:18 +01:00
Marian Buschsieweke
d788bd327d
Merge pull request #17504 from chrysn-pull-requests/doc-c2rust-locked
...
doc: Fix C2Rust installation procedure
2022-01-17 17:40:38 +01:00
José Alamos
c326be00f6
Merge pull request #16940 from chrysn-pull-requests/6lo-docs
...
net/ieee802154: Add overview documentation
2022-01-17 17:33:05 +01:00
benpicco
e07fb44408
Merge pull request #17363 from fjmolinas/pr_lpc23xx-mci_ztimer
...
cpu/lpc23xx-mci: migrate to ztimer_msec
2022-01-17 16:11:25 +01:00
Gunar Schorcht
183562b947
Merge pull request #16341 from fjmolinas/pr_esp_rename_clock_coreclock
...
cpu/esp32: use macros/units
2022-01-17 15:22:23 +01:00
Marian Buschsieweke
8549ff2f7d
Merge pull request #17479 from gschorcht/cxxexflags_cpp+14
...
makefiles: use C++14 standard by default for C++ compilations
2022-01-17 13:42:41 +01:00
Francisco Molina
91c67c7a0e
cpu/lpc23xx-mci: migrate to ztimer_msec
2022-01-17 12:47:03 +01:00
Francisco Molina
b9d1461b38
cpu/esp32: use macros/units
2022-01-17 12:28:11 +01:00
Francisco
000e6fa99d
Merge pull request #17228 from miri64/gnrc_pktbuf_cmd/enh/add-od-dep
...
gnrc_pktbuf_cmd: add od dependency with gnrc_pktbuf_static
2022-01-17 12:10:49 +01:00
Francisco Molina
90da7dcdfe
tests/driver_si1133: remove uneeded xtimer dependency
2022-01-17 12:04:12 +01:00
Francisco Molina
393c78b8e2
drivers/si1133: migrate to ztimer
2022-01-17 12:04:12 +01:00
Francisco
54d62f1303
Merge pull request #17517 from aabadie/pr/sys/lora_remove_deprecated_define
...
sys/lora: remove deprecated LORA_PAYLOAD_CRC_ON_DEFAULT define
2022-01-17 11:09:00 +01:00
benpicco
7cd9b6c1b0
Merge pull request #17514 from chrysn-pull-requests/riot-wrappers-0.7.15
...
rust: Update to riot-wrappers 0.7.15
2022-01-17 10:29:50 +01:00
chrysn
13036c1bc4
net/iee802154 doc: Add overview / introduction documentation
...
The module previously called net_ieee802154 is renamed to capture that
it is about interacting the frames and headers, and moved "into" the new
topic in the documentation tree.
Exceptions for undocumented headers are updated.
2022-01-16 11:29:32 +01:00
chrysn
fdf3c324b9
net/ieee802154 doc: Group security with existing 802154
2022-01-16 11:24:22 +01:00
chrysn
2637a9f17e
net/ieee802154 doc: Consistent spacing
...
This ensures that the the 802.15.4 modules are grouped together in the
built documentation (vs. "IEEE 802.15.4" / "IEEE EUI-..." /
"IEEE802.15.4" sorting).
2022-01-16 11:24:22 +01:00
chrysn
95b5052be4
Merge pull request #17502 from chrysn-pull-requests/queue-on-stack-never-quit
...
tests: Fix thread return with local message queue
2022-01-15 23:26:14 +01:00
benpicco
ca7dd943ee
Merge pull request #17522 from krzysztof-cabaj/doc-board-cc1352
...
boards/cc1352-launchpad doc: adding information concerning shell acccess
2022-01-15 14:45:24 +01:00
Alexandre Abadie
d792bc2b35
Merge pull request #17516 from aabadie/pr/sys/loramac_use_new_private_network_config
...
sys/loramac: remove deprecated LORAMAC_DEFAULT_PUBLIC_NETWORK
2022-01-15 12:29:00 +01:00
benpicco
44cf68f174
Merge pull request #17500 from aabadie/pr/drivers/at_remove_deprecated_define
...
drivers/at: remove deprecated AT_SEND_ECHO define
2022-01-15 11:05:09 +01:00
Alexandre Abadie
b18cc7737c
Merge pull request #17518 from kaspar030/fix_murdock_nocommitinfo
...
murdock: fix exit -> return in subfunction
2022-01-15 09:40:26 +01:00
benpicco
43b9a82806
Merge pull request #17506 from maribu/core/init
...
core/init: minor code cleanup
2022-01-15 03:59:54 +01:00
Karl Fessel
2bebcb62b5
Merge pull request #17411 from kfessel/p-nib-no-minutes
...
gnrc/ipv6nib: remove the need for evtimer-minutes
2022-01-15 02:33:30 +01:00
benpicco
739c3d25e4
Merge pull request #17511 from benpicco/sock_has_ipv4
...
sys/net/sock: introduce SOCK_HAS_IPV4
2022-01-15 01:06:51 +01:00
krzysztof-cabaj
3c424107cc
doc/boards/cc1352-launchpad: adding information concerning shell acccess
2022-01-14 11:47:32 -05:00
chrysn
210ad505aa
makefiles: Reuse some of Rust's ~/.cargo in Docker container
...
Without passing this through, any crate downloads would go to the
container's image's scratch space, to be re-downloaded for each build,
and with new time stamps that cause compilation to start anew as well.
2022-01-14 14:59:04 +01:00
chrysn
d391b1c5f4
cpu/riscv_common: Enable Rust applications
...
This contains a workaround for
https://github.com/rust-lang/rust-bindgen/issues/1555 (withouot which
bindgen would fail, with little information helping remedy the cause)
2022-01-14 13:42:32 +01:00
2ba5d5976d
murdock: fix exit -> return in subfunction
2022-01-14 12:52:19 +01:00
Alexandre Abadie
ed155f82ce
sys/lora: remove deprecated LORA_PAYLOAD_CRC_ON_DEFAULT define
2022-01-14 10:37:42 +01:00
Alexandre Abadie
e809952ca4
drivers/sx12{6,7}x: use inverse CONFIG_LORA_PAYLOAD_CRC_OFF_DEFAULT
2022-01-14 10:31:55 +01:00
Alexandre Abadie
cceaf45389
sys/loramac: remove deprecated LORAMAC_DEFAULT_PUBLIC_NETWORK define
2022-01-14 10:21:20 +01:00
Alexandre Abadie
4f9c28eee8
pkg/semtech-loramac: use CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK
2022-01-14 10:21:20 +01:00
Alexandre Abadie
50c5d84277
sys/net/gnrc_lorawan: use CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK
2022-01-14 10:21:19 +01:00
Alexandre Abadie
37bc47e21c
drivers/at: remove deprecated AT_SEND_ECHO define
2022-01-14 09:06:17 +01:00
chrysn
deffb350a7
rust: Update to riot-wrappers 0.7.15
2022-01-13 18:52:05 +01:00
Benjamin Valentin
67ef5faeed
sys/net/sock_util: make use of SOCK_HAS_IPV4
2022-01-13 18:40:12 +01:00
Gunar Schorcht
93d15ac2d3
tests/cpp11_*: remove -std=c++11
2022-01-13 17:50:59 +01:00
Gunar Schorcht
20dfe40330
sys: remove -std=c++11
2022-01-13 17:50:59 +01:00
Gunar Schorcht
aa44c8ab78
pkg: remove -std=c++11
2022-01-13 17:50:59 +01:00
Gunar Schorcht
60793f14ae
cpu/esp*/vendor: remove -std=c++11
2022-01-13 17:50:59 +01:00
Gunar Schorcht
a0f0d2ea43
sys/cpp_new_delete: add deleted operators required by C++14
2022-01-13 17:50:59 +01:00
Alexandre Abadie
f22ba30a31
Merge pull request #17490 from aabadie/pr/make/tools_remove_deprecated_vars
...
make: remove deprecation warnings raised with flasher tools old vars
2022-01-13 17:01:27 +01:00
Karl Fessel
505ce8481b
gnrc/ipv6nib: remove the need for evtimer-minutes
...
gnrc/nib: add unitmarker to valid_untils that where min and are now ms
2022-01-13 15:17:24 +01:00
chrysn
ace880dddf
Merge pull request #17505 from chrysn-pull-requests/doc-rust-maintenance
...
doc/rust: Add maintenance guidance
2022-01-13 13:50:08 +01:00
Benjamin Valentin
22c46b04c9
sys/net/sock: introduce SOCK_HAS_IPV4
2022-01-13 12:53:41 +01:00
chrysn
952858ee92
doc/rust: Adjust to riot-sys internals' changes
2022-01-13 12:52:13 +01:00
chrysn
9c3d1039f0
doc: Elaborate on maintenance modes of Rust crates
...
Closes: https://github.com/RIOT-OS/RIOT/issues/17488
2022-01-13 12:52:13 +01:00
chrysn
e7a9e125d4
doc: Point to test README for details
2022-01-13 12:52:09 +01:00
Marian Buschsieweke
c238c43280
Merge pull request #17503 from maribu/pkg/paho-mqtt
...
pkg/paho-mqtt: fix memory corruption
2022-01-13 12:50:39 +01:00
Marian Buschsieweke
71ed611607
Merge pull request #17366 from aabadie/pr/can_ztimer
...
sys/can: migrate to ztimer
2022-01-12 17:56:41 +01:00
Alexandre Abadie
a6bfe53aed
Merge pull request #17499 from aabadie/pr/drivers/ethos_remove_deprecated_constant
...
drivers/ethos: remove deprecated USE_ETHOS_FOR_STDIO define
2022-01-12 17:26:39 +01:00
Marian Buschsieweke
d4e051596c
core/init: minor code cleanup
2022-01-12 16:15:48 +01:00
chrysn
acbbb405b0
doc: Fix C2Rust installation procedure
...
The `--locked` is required since dependencies increased their MSRV to
something later than C2Rust's fixed nightly. That was already reflected
in the riotdocker installation steps, but not here where the line was
taken from upstream's docs.
Closes: https://github.com/RIOT-OS/RIOT/issues/17492
2022-01-12 08:56:13 +01:00
chrysn
b4a185132a
core/msg: Document caution needed when having queue on the stack
2022-01-11 21:51:14 +01:00
chrysn
87847b1de4
tests: Fix thread return with local message queue
...
When a message queue is configured from the stack, that main function
must never return -- otherwise, during sched_task_exit (which the
thread's function "returns" to), message senders might still send
messages into already freed stack space (which would be reused by
sched_task_exit).
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2022-01-11 21:51:09 +01:00
Marian Buschsieweke
6a138cc5c4
pkg/paho-mqtt: fix memory corruption
...
This fixes instances where a pointer to an enum (possibly sized one
byte) is casted to a pointer to int (which is at least two and in most
cases four bytes in size). As result, out-of-bounds memory accesses
are bound to happen.
This was detected by GCC 11.2.0 with -Wstringop-overflow.
2022-01-11 18:23:06 +01:00
benpicco
2491bbaea3
Merge pull request #17501 from spectraphilic/arduino-sdi12-feather-m0
...
pkg/arduino_sdi_12: fix for the feather-m0 board
2022-01-11 16:22:44 +01:00
J. David Ibáñez
a2e989369d
pkg/arduino_sdi_12: fix for the feather-m0 board
...
Use RIOT's API.
2022-01-11 13:16:08 +01:00
Alexandre Abadie
380b2468e3
drivers/ethos: remove deprecated USE_ETHOS_FOR_STDIO define
2022-01-11 12:41:24 +01:00
Marian Buschsieweke
62921e8336
Merge pull request #17495 from kaspar030/nightly_no_partial_build
...
murdock: don't run can_fast_ci_run if `FULL_BUILD==1`
2022-01-11 09:58:51 +01:00
Alexandre Abadie
59d9faa73c
Merge pull request #17498 from benpicco/zep_dispatch-ipv4
...
tools/zep_dispatch: basic dual-stack support
2022-01-11 09:22:58 +01:00
benpicco
d0868bc997
Merge pull request #16918 from jia200x/pr/gnrc_netif/refactor_init
...
gnrc_netif: move netdev initialization to ops->init
2022-01-10 17:58:45 +01:00
Benjamin Valentin
1b71ccab09
tools/zep_dispatch: basic dual-stack support
...
Murdock does not support IPv6 on link-local interfaces.
Therefore in order to being able to use ZEP dispatcher in automated tests
on CI, we have to add dual-stack support.
2022-01-10 17:57:58 +01:00
benpicco
f2f643f30a
Merge pull request #16946 from jia200x/pr/hal/v_10_04
...
ieee802154/hal: adapt to latest changes of #13943
2022-01-10 17:05:34 +01:00
c95f9a436b
murdock: don't run can_fast_ci_run if FULL_BUILD==1
2022-01-10 15:15:48 +01:00
Jose Alamos
e40f97c4da
net/gnrc/netif: move interface registration to init function
2022-01-10 13:59:28 +01:00
Jose Alamos
eb23813467
tests/gnrc_netif: adapt ops->init to handle driver initialization
2022-01-10 13:59:27 +01:00
Jose Alamos
5f46ab72e0
net/gnrc/lorawan: adapt ops->init to handle driver initialization
2022-01-10 13:59:27 +01:00
Jose Alamos
08ec9693cd
net/lwmac: adapt ops->init to handle driver initialization
2022-01-10 13:59:26 +01:00
Jose Alamos
298f16fee7
net/gomach: adapt ops->init to handle driver initialization
2022-01-10 13:59:26 +01:00
Jose Alamos
49527fc994
pkg/nimble/netif: adapt ops->init to handle driver initialization
2022-01-10 13:59:25 +01:00
Jose Alamos
415704fa76
net/gnrc_netif: move netdev init code to ops->init
2022-01-10 13:59:24 +01:00
Jose Alamos
e7fac9f661
net/gnrc_netif: add return values to init
2022-01-10 13:59:01 +01:00
Jose Alamos
874a13e090
ieee802154/hal: remove RX continuous cap
2022-01-10 13:57:03 +01:00
Jose Alamos
94a996ee7c
ieee802154/hal: request set IDLE before calling read
2022-01-10 13:57:02 +01:00
Jose Alamos
db815aa779
ieee802154/hal: migrate to request_op and confirm_op
2022-01-10 13:57:02 +01:00
benpicco
f33b3ad10d
Merge pull request #17242 from bergzand/pr/hid/add_descriptor_defines
...
usb/hid: Add HID report descriptor defines
2022-01-10 12:28:01 +01:00
Alexandre Abadie
ce373902ee
sys/can: migrate to ztimer
2022-01-10 12:21:40 +01:00
Koen Zandberg
8ea334dbc2
tests/usbus_hid: Adapt HID descriptors to use helper defines
...
Content of the HID report descriptor itself is unchanged
2022-01-10 11:35:58 +01:00
Koen Zandberg
a148f2d40d
sys/fido2: Adapt CTAP HID descriptors to use helper defines
...
Content of the HID report descriptor itself is unchanged
2022-01-10 11:35:58 +01:00
Koen Zandberg
758a0bc174
usb/hid: Add HID report descriptor defines
2022-01-10 11:35:58 +01:00
Alexandre Abadie
c49f156e6e
Merge pull request #17448 from aabadie/pr/drivers/ft5336
...
drivers/ft5x06: add support for touch panel controller
2022-01-09 18:02:40 +01:00
benpicco
c18c56aa03
Merge pull request #17380 from qmk/bind_extra_usb_config
...
usbus: Bind extra USB config
2022-01-09 17:58:38 +01:00
Alexandre Abadie
8ca9cbc0b6
sys/auto_init/screen: fix coccinelle warning
2022-01-09 16:43:35 +01:00
Alexandre Abadie
5bbab90f57
tools/doccheck: extend exclude patterns
2022-01-09 16:43:35 +01:00
Alexandre Abadie
c983007ec3
boards/stm32f723e-disco: pull-in ft6x06 with touch_dev
2022-01-09 16:43:35 +01:00
Alexandre Abadie
deeb204a14
boards/stm32f723e-disco: configure ft5x06 I2C peripheral and int pin
2022-01-09 16:43:35 +01:00
Alexandre Abadie
c67920c1cc
boards/stm32f746g-disco: pull-in ft5336 with touch_dev
2022-01-09 16:43:35 +01:00
Alexandre Abadie
f5b5af9469
drivers/ft5x06: add touch_dev interface
2022-01-09 16:43:34 +01:00
Alexandre Abadie
0080657d63
boards/stm32f746g-disco: configure ft5336 I2C peripheral and int pin
2022-01-09 16:43:34 +01:00
Alexandre Abadie
444170ed04
tests/driver_ft5x06: add test application for touch panel
2022-01-09 16:43:34 +01:00
Alexandre Abadie
11f73ea5c9
drivers/ft5x06: add touch panel driver
2022-01-08 15:08:05 +01:00
Alexandre Abadie
a76e4bdc11
Merge pull request #17489 from aabadie/pr/sys/saul_reg_rm_remove
...
sys/saul_reg: remove deprecated saul_reg_rm function
2022-01-08 12:45:58 +01:00
Alexandre Abadie
9eec6f4eb1
makefiles/openocd: remove DEBUG_ADAPTER and PRE_FLASH_CHECK_SCRIPT vars
2022-01-08 12:05:46 +01:00
Alexandre Abadie
135e0a6ca1
makefiles/tools/pyocd: remove deprecated FLASH_TARGET_TYPE var
2022-01-08 12:04:51 +01:00
Alexandre Abadie
6e8d3246e6
makefiles/tools: remove deprecated FFLAGS_OPTS variable
2022-01-08 12:04:02 +01:00
Alexandre Abadie
a7fab3fe53
tests/unittests/tests-saul_reg: remove saul_reg_rm test function
2022-01-08 11:49:06 +01:00
Alexandre Abadie
08f93d7904
sys/saul_reg: remove deprecated saul_reg_rm
2022-01-08 11:48:44 +01:00
Alexandre Abadie
c5656ef3b2
Merge pull request #17481 from aabadie/pr/sys/asymcute_bufsize_removal
...
sys/asymcute: remove deprecated CONFIG_ASYMCUTE_BUFSIZE_EXP
2022-01-08 11:30:59 +01:00
Marian Buschsieweke
7911846047
Merge pull request #17487 from aabadie/pr/drivers/stmpe811_callback_cleanup
...
drivers/stmpe811: improve interrupt callback management
2022-01-08 09:12:39 +01:00
Alexandre Abadie
795b71f7bf
Merge pull request #17480 from aabadie/pr/sys/crypto_aes_cipher_removal
...
sys/crypto: remove deprecated CIPHER_AES_128
2022-01-08 02:18:23 +01:00
Alexandre Abadie
5083061995
Merge pull request #17273 from maribu/core/IS_CT_CONSTANT
...
core: Add IS_CT_CONSTANT()
2022-01-08 00:21:07 +01:00
Alexandre Abadie
951ffb267b
Merge pull request #17483 from benpicco/cpu/sam0_common-mux
...
cpu/sam0_common: add missing MUX definitions
2022-01-07 20:43:33 +01:00
benpicco
9829ac2041
Merge pull request #17484 from aabadie/pr/sys/shell_remove_deprecated_defines
...
sys/shell: remove deprecated SHELL_NO_{ECHO,PROMPT} defines
2022-01-07 19:50:12 +01:00
Alexandre Abadie
a082d2dd7a
Merge pull request #17478 from benpicco/tests/pkg_fatfs-drop_whitelist
...
tests/pkg_fatfs{_vfs}: drop whitelist
2022-01-07 18:57:52 +01:00
Alexandre Abadie
86192de81b
drivers/stmpe811: improve interrupt callback management
2022-01-07 18:30:34 +01:00
Alexandre Abadie
3676b63583
Merge pull request #17447 from gschorcht/sys/arduino_serial_stdio
...
sys/arduino: add Serial over stdio support
2022-01-07 18:04:35 +01:00
Alexandre Abadie
cdeaf007fe
pkg/ndn-riot: add patch to fix CIPHER_AES_128 removal
2022-01-07 17:24:14 +01:00
benpicco
5e79ec6fd4
Merge pull request #17437 from aabadie/pr/cpu/stm32_ltdc
...
cpu/stm32: add driver for the LTDC peripheral
2022-01-07 15:26:13 +01:00
Alexandre Abadie
b0489b74ed
tests/pkg_qr-code-generator: adapt for stm32f746g-disco screen
2022-01-07 14:32:24 +01:00
Alexandre Abadie
9f4d6da505
tests/disp_dev: adjust buffer size when LCD_SCREEN_WIDTH is set
2022-01-07 14:32:24 +01:00
Alexandre Abadie
26bf4ec6fb
pkg/lvgl: only swap byte when ili9341 is used
2022-01-07 14:32:24 +01:00
Alexandre Abadie
8429172c89
boards/stm32f746g-disco: pull in ltdc feature with disp_dev
2022-01-07 14:32:24 +01:00
Alexandre Abadie
2703c63397
sys/auto_init: add periph_ltdc auto_init
2022-01-07 14:32:24 +01:00
Alexandre Abadie
4e582b360f
cpu/stm32: add disp_dev interface for LTDC
2022-01-07 14:32:24 +01:00
Alexandre Abadie
ed16fe60e4
tests/periph_ltdc: add test application
2022-01-07 14:32:24 +01:00
Alexandre Abadie
dbf2f06968
boards/stm32f746g-disco: enable LTDC peripheral
2022-01-07 14:32:24 +01:00
Alexandre Abadie
deccc720e3
cpu/stm32: add support for LTDC periph
2022-01-07 14:32:24 +01:00
Alexandre Abadie
dc26dc14b9
Merge pull request #17482 from chrysn-pull-requests/post-17359-rust-adjustments
...
{examples,tests}/rust*: Update Cargo.toml
2022-01-07 14:31:20 +01:00
chrysn
70726d46ab
{examples,tests}/rust*: Blacklist ek-lm4f120xl board
...
Something in C2Rust mistranspiles around LED_PORT; disabling the board
for all Rust examples/tests.
2022-01-07 14:26:30 +01:00
chrysn
50f8ed3f72
{examples,tests}/rust*: Update Cargo.toml
...
This pulls in adjustments to the C-nonbreaking but Rust-breaking API
change in https://github.com/RIOT-OS/RIOT/pull/17359
cstr_core is forcibly kept at 0.2.4 because 0.2.5 needs a newer nightly
than riotdocker currently has.
2022-01-07 14:19:36 +01:00
Alexandre Abadie
844fd52deb
sys/shell: remove deprecated SHELL_NO_{ECHO,PROMPT} defines
2022-01-07 13:23:52 +01:00
Benjamin Valentin
e0f28f81d0
cpu/sam0_common: add missing MUX definitions
...
This adds the missing PINMUX modes to the enum.
2022-01-07 13:03:11 +01:00
Alexandre Abadie
19628804ba
sys/asymcute: remove deprecated CONFIG_ASYMCUTE_BUFSIZE_EXP
2022-01-07 11:28:11 +01:00
Alexandre Abadie
0e977b89ae
sys/crypto: remove deprecated CIPHER_AES_128
2022-01-07 11:14:10 +01:00
Alexandre Abadie
f279a66d82
tests/sys_crypto_aes_ccm: use CIPHER_AES instead of CIPHER_AES_128
2022-01-07 11:13:38 +01:00
Alexandre Abadie
b9f5ffab26
Merge pull request #17476 from aabadie/pr/iotlab/auto-ssh-remove
...
dist/iotlab: remove deprecated auto-ssh backward compatibility
2022-01-07 10:35:33 +01:00
Marian Buschsieweke
68424a924c
core: Add IS_CT_CONSTANT()
...
This adds a simple macro to check (at C level) whether a given
expression is proven to be compile time constant and suitable for
constant folding. This allows writing code like this:
```C
int gpio_read(gpio_t pin) {
if (IS_CT_CONSTANT(pin)) {
/* this implementation should even be able to use the port and
* pin number as immediate in inline assembly */
}
else {
/* less efficient implementation that cannot use port and pin
* number as immediate in inline assembly */
}
}
```
2022-01-06 23:30:56 +01:00
Benjamin Valentin
96f4fd6273
tests/pkg_fatfs_vfs: avoid conflict with boards defining mtd1
2022-01-06 18:24:00 +01:00
Alexandre Abadie
8272e4fbd2
Merge pull request #17359 from benpicco/irq_is_in-bool
...
core: change return type of irq_is_in(), irq_is_enabled() to bool
2022-01-06 18:13:20 +01:00
Gunar Schorcht
a7dc4808b7
boards/sodaq-*: use UART_UNDEF to enable Serial over STDIO
2022-01-06 17:33:08 +01:00
Gunar Schorcht
529c6fa5b4
boards/arduino-mkr: use UART_UNDEF to enable Serial over STDIO
2022-01-06 17:27:53 +01:00
Gunar Schorcht
332f970987
boards/feather-m0: use UART_UNDEF to enable Serial over STDIO
2022-01-06 17:27:53 +01:00
Gunar Schorcht
2dcd761954
sys/arduino: enable arduino_serial_stdio if stdio_cdc_acm is used
2022-01-06 17:27:53 +01:00
Gunar Schorcht
725472cbc4
sys/arduino: add Serial over stdio support
...
If module `arduino_serial_stdio` is used and `ARDUINO_UART_DEV` is `UART_UNDEF`, the STDIO is used for `Serial`. It requires that the used `stdio` backend implements `stdio_available`.
2022-01-06 17:27:53 +01:00
Alexandre Abadie
df0ac22220
Merge pull request #17471 from maribu/examples/gcoap
...
examples/gcoap: split client and server implementation
2022-01-06 15:33:00 +01:00
Alexandre Abadie
ec43e2d2f7
Merge pull request #17468 from aabadie/pr/boards/stm32_spi_cs_undef
...
boards: cpu: replace GPIO_UNDEF by SPI_CS_UNDEF in SPI configuration
2022-01-06 15:22:21 +01:00
Benjamin Valentin
a8694571cf
pkg/fatfs: fix build on AVR
2022-01-06 14:28:38 +01:00
Benjamin Valentin
42df626181
tests/pkg_fatfs{_vfs}: drop whitelist
...
We have the `FEATURES_REQUIRED` now, no need to whitelist boards with SPI
and GPIOs.
2022-01-06 14:28:38 +01:00
Alexandre Abadie
2bddacee71
Merge pull request #17470 from aabadie/pr/make/drivers_saul_auto
...
drivers: only build saul interface if saul module is used + add saul_drivers test application
2022-01-06 13:53:30 +01:00
Alexandre Abadie
3c0e405f32
boards/cc2538: replace GPIO_UNDEF with SPI_CS_UNDEF
2022-01-06 12:34:10 +01:00
Alexandre Abadie
c6c31f0361
boards/kinetis: replace GPIO_UNDEF with SPI_CS_UNDEF
2022-01-06 12:34:09 +01:00
Alexandre Abadie
796e127df9
boards/stm32: replace GPIO_UNDEF with SPI_CS_UNDEF
2022-01-06 12:34:09 +01:00
Alexandre Abadie
70d7b4eb13
tests/saul_drivers: add saul build test application
2022-01-06 12:23:27 +01:00
Alexandre Abadie
ad03af4a50
drivers/hm330x: fix build issues when SAUL is used
2022-01-06 12:07:42 +01:00
Alexandre Abadie
e0324d5278
drivers/lis2dh12: fix missing stdbool include
2022-01-06 12:07:41 +01:00
Alexandre Abadie
ac1e926776
drivers/sm_pwm_01c: fix undefined saul attribute
2022-01-06 12:07:41 +01:00
Alexandre Abadie
768a989298
drivers/init_devs: reorder alphabetically auto_init calls
2022-01-06 12:07:41 +01:00
Alexandre Abadie
34f2cc6083
drivers: make use of new driver_with_{disp,touch}_dev.mk
2022-01-06 12:07:07 +01:00
Alexandre Abadie
c7a27fb073
make: introduce makefile to optimize driver with disp/touch_dev build
2022-01-06 12:07:07 +01:00
Alexandre Abadie
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable
2022-01-06 12:07:07 +01:00
Alexandre Abadie
1432d3b5b5
make: introduce makefile to optimize driver with saul build
2022-01-06 12:07:06 +01:00
Gunar Schorcht
3e2de3590e
sys/cpp11-compat: add deleted operators required by C++14
2022-01-06 11:18:33 +01:00
Gunar Schorcht
181f6423ae
makefiles/cflags: enable C++14 by default
2022-01-06 11:15:23 +01:00
Alexandre Abadie
7d8b31d887
Merge pull request #17475 from gschorcht/sys/move_new_delete_dso_handle
...
sys/cpp11-compat: use new/delete operators from sys/cpp_new_delete
2022-01-06 11:00:15 +01:00
Alexandre Abadie
af1456440c
dist/iotlab: remove deprecated auto-ssh backward compatibility
2022-01-06 09:59:26 +01:00
Gunar Schorcht
9ec52361d1
sys/cpp11_compat: move __dso_handle to sys/cpp_new_delete
...
On ARM platforms, `__dso_handle` is used for dynamic shared objects. But it is also required if global static objects are used. To avoid that `sys/cpp11_compat` is required only for using the (re)defined `new`/`delete` operators, `__dso_handle` is moved to module `sys/cpp_new_delete`
2022-01-06 09:50:29 +01:00
Gunar Schorcht
eaf3a4c81a
sys/cpp11-compat: use new/delete from sys/cpp_new_delete
...
The `new` and `delete` operators that don't need `libtsdc++` are also provided by module `sys/cpp_new_delete` for platforms that don't have the `libstdc++`. Since these operators in `sys/cpp11-compat` are just wrappers for standard `malloc`/`free` functions like in `sys/cpp_new_delete`, the `new`/`delete` operators that don't need `libstdc++` are used from `sys/cpp_new_delete`. Only the `new`/`delete` operators that require the `libstd++` are left in `sys/cpp11-compat`.
So it is sufficient for the use of the (re)defined `new`/`delete` operators that an application uses the module `sys/cpp_new_delete` instead of `sys/cpp11-compat` and thus also works on platforms without `libstdc++`.
2022-01-06 09:50:14 +01:00
benpicco
0b43b8d1f1
Merge pull request #17473 from Ollrogge/hid_pr
...
usbus/hid: Remove unimplemented function declaration
2022-01-06 00:35:37 +01:00
Ollrogge
58764f2e16
usbus/hid: Remove unimplemented function declaration
2022-01-05 21:46:15 +01:00
Alexandre Abadie
d72ff50777
Merge pull request #17268 from maribu/core/BUILD_BUG_ON
...
core/kernel_defines: drop BUILD_BUG_ON()
2022-01-05 17:27:18 +01:00
Marian Buschsieweke
8608104fe5
core/kernel_defines.h: drop BUILD_BUG_ON()
...
This provides the same functionality as `static_assert()` provided by
C11 and has no advantages compared to it. Hence, encourage users to use
standard C functionality instead.
2022-01-05 15:41:39 +01:00
Marian Buschsieweke
674fca2023
sys/arduino: use static_assert() instead of BUILD_BUG_ON()
2022-01-05 15:41:39 +01:00
Marian Buschsieweke
f022f88629
drivers/sps30: make cppcheck happy
2022-01-05 15:09:10 +01:00
Marian Buschsieweke
362b964ed2
drivers/sps30: use static_assert() instead of BUILD_BUG_ON()
2022-01-05 15:09:09 +01:00
Marian Buschsieweke
92d75695b5
pkg/fatfs: use static_assert() instead of BUILD_BUG_ON()
2022-01-05 15:09:09 +01:00
Marian Buschsieweke
906d73107a
pkg/littlefs2: use static_assert() instead of BUILD_BUG_ON()
2022-01-05 15:09:09 +01:00
Marian Buschsieweke
b76ba4bbfd
pkg/littlefs: use static_assert() instead of BUILD_BUG_ON()
2022-01-05 15:09:09 +01:00
Alexandre Abadie
3aac469e61
Merge pull request #16852 from HendrikVE/pr/wolfmqtt_split_4
...
sys/posix/socket: use explicit bind
2022-01-05 14:31:52 +01:00
Alexandre Abadie
8d3d012acd
Merge pull request #17248 from benpicco/riotboot_serial-btn
...
riotboot_serial: enter bootloader mode by pin
2022-01-05 14:14:00 +01:00
Alexandre Abadie
2b5ac8d422
Merge pull request #17262 from benpicco/msg_avail-return
...
core/msg: make msg_avail() return 0 on no queue
2022-01-05 14:13:28 +01:00
Alexandre Abadie
b84c3e47bf
Merge pull request #17267 from maribu/core/alignof
...
core/kernel_defines.h: drop ALIGN_OF()
2022-01-05 14:10:00 +01:00
benpicco
120e840b42
Merge pull request #16889 from benpicco/tools/zep_dispatch-topogen
...
tools/zep_dispatch: add topology generator
2022-01-05 13:47:23 +01:00
Benjamin Valentin
958cc12c99
gh_actions: add step for zep_dispatch
2022-01-05 13:34:31 +01:00
Benjamin Valentin
b6819b442a
tools/zep_dispatch: add topology generator
2022-01-05 13:34:31 +01:00
Marian Buschsieweke
6dcb32d7b3
examples/gcoap: split client and server implementation
...
Move client and server side implementations into separate files to
increase readability. Also get rid of a goto.
2022-01-04 19:04:46 +01:00
Gunar Schorcht
2e820a09fc
cpu/esp32: print SDK version with esp_log_startup
2022-01-04 16:35:47 +01:00
Gunar Schorcht
81727fb1f1
pkg/esp32_sdk_libs: add ESP SDK libraries as package
...
The vendor binary libraries of ESP-IDF are provided as a separate GIT repository. These libraries are defined as separate package for two reasons: 1. RIOT packages don't support to clone GIT repositories recursively; 2. ESP-IDF pulls a lot of other GIT repositories that are not needed when it is cloned recursively.
2022-01-04 16:34:31 +01:00
Gunar Schorcht
f9105c3cc1
cpu/esp32: use INCLUDES as defined in pkg/esp32_sdk
...
The include pathes for the ESP32 SDK are now defined by `pkg/esp32_sdk`. They can be used in Makefiles directly.
2022-01-04 16:34:31 +01:00
Gunar Schorcht
d6c2926933
pkg/esp32_sdk: add ESP32 SDK without libraries as package
...
The vendor binary libraries of ESP-IDF are provided as a separate GIT repository. These libraries are defined as separate package for two reasons: 1. RIOT packages don't support to clone GIT repositories recursively; 2. ESP-IDF pulls a lot of other GIT repositories that are not needed when it is cloned recursively.
2022-01-04 16:34:31 +01:00
Gunar Schorcht
7addf3ae5b
pkg/esp8266_sdk: small changes in doc and Kconfig
...
Some small changes to use a common document and naming style for all ESP SDK packages. The @defgroup command should start with the name to keep alphabetical order in doc as well as Kconfig
2022-01-04 16:34:31 +01:00
Alexandre Abadie
3c5c351ef5
Merge pull request #17466 from aabadie/pr/examples/suit_update_readme_fix
...
examples/suit_update: fix test instructions in README
2022-01-04 15:00:10 +01:00
Alexandre Abadie
0056648581
Merge pull request #17418 from aabadie/pr/drivers/periph_build_enh
...
drivers/periph_common: build periph module selectively
2022-01-04 14:59:39 +01:00
Alexandre Abadie
b54ae0db92
Merge pull request #17469 from aabadie/pr/drivers/sdcard_spi_cs_undef
...
drivers/sdcard_spi: replace GPIO_UNDEF by SPI_CS_UNDEF
2022-01-04 14:59:01 +01:00
Marian Buschsieweke
30b3f9ad55
Merge pull request #17464 from gschorcht/sys/new_delete_module
...
sys/new_delete: add malloc/free based new/delete implementation
2022-01-04 14:50:30 +01:00
benpicco
55900e0fb5
Merge pull request #16755 from benpicco/gnrc_ipv6_nib-no_adv_router
...
gnrc_dhcpv6_client / uhcp: delay router advertisements until prefix was received
2022-01-04 13:34:32 +01:00
Alexandre Abadie
9963e28d18
drivers/sdcard_spi: replace GPIO_UNDEF by SPI_CS_UNDEF
2022-01-04 12:53:02 +01:00
Benjamin Valentin
0504771c6c
sys/net/uhcp: delay router advertisements until prefix was received
2022-01-04 12:42:44 +01:00
Benjamin Valentin
a629e70357
gnrc_dhcpv6_client: delay router advertisements until prefix was received
2022-01-04 12:42:43 +01:00
Alexandre Abadie
1a3f2d908a
Merge pull request #17424 from gschorcht/cpu/esp/kconfig_cpu_frequency
...
cpu/esp: integrate CPU clock frequency selection in Kconfig
2022-01-04 12:06:56 +01:00
Alexandre Abadie
05da606ea6
Merge pull request #17438 from gschorcht/cpu/esp/feature_cleanup
...
boards/esp* and cpu/esp: feature definition cleanup
2022-01-04 10:51:33 +01:00
Alexandre Abadie
fbf2179fa5
examples/suit_update: fix test instructions in README
2022-01-04 10:08:36 +01:00
Gunar Schorcht
d778e77c97
cpu/avr8_common: use C++ new and delete operator
2022-01-03 23:35:35 +01:00
Gunar Schorcht
4bfd549301
sys/new_delete: add malloc/free based new/delete implementation
...
On some platforms `libstdc++` is not used or not available, like on the AVR. Such platforms can use this module to implement the C++ `new` and `delete` operators using `malloc` and `free` respectively. However, to be thread-safe, a thread-safe implementation of `malloc` and `free` must be present.
2022-01-03 23:35:35 +01:00
Alexandre Abadie
07e46cef0e
Merge pull request #16412 from benpicco/pkg/fatfs-r0.14b
...
pkg/fatfs: bump version to r0.14b
2022-01-03 19:09:37 +01:00
Alexandre Abadie
74b38ca641
Merge pull request #17446 from gschorcht/sys/std_available
...
sys/stdio: add optional function stdio_available
2022-01-03 18:15:06 +01:00
benpicco
27f3261792
Merge pull request #17432 from benpicco/tests/socket_zep-fix
...
tests/socket_zep: fix automatic test
2022-01-03 17:25:38 +01:00
Benjamin Valentin
49e609a631
pkg/fatfs: bump version to r0.14b
...
R0.14b (April 17, 2021)
Made FatFs uses standard library <string.h> for copy, compare and search instead of built-in string functions.
Added support for long long integer and floating point to f_printf(). (FF_STRF_LLI and FF_STRF_FP)
Made path name parser ignores the terminating separator to allow "dir/".
Improved the compatibility in Unix style path name feature.
Fixed the file gets dead-locked when f_open() failed with some conditions. (appeared at R0.12a)
Fixed f_mkfs() can create wrong exFAT volume due to a timing dependent error. (appeared at R0.12)
Fixed code page 855 cannot be set by f_setcp(). (appeared at R0.13)
Fixed some compiler warnings.
- http://elm-chan.org/fsw/ff/updates.txt
2022-01-03 17:23:46 +01:00
Alexandre Abadie
db2b29d822
Merge pull request #17463 from aabadie/pr/boards/p-l496g-cell02-riotboot
...
boards/p-l496g-cell02: add riotboot feature
2022-01-03 17:21:23 +01:00
Gunar Schorcht
af621ec91b
sys/usb/cdc/acm: implementation of stdio_available
2022-01-03 16:14:11 +01:00
Gunar Schorcht
0ffad24112
sys/stdio_uart: implementation of stdio_available
2022-01-03 16:14:11 +01:00
Gunar Schorcht
a71dec81a2
sys/stdio_base: add optional function stdio_available
...
A couple of `stdio` backend implementations allow to check for the number of available bytes for reading before the blocking `stdio_read` is called. This helps to implement non-blocking functionalities while waiting for `stdin`.
2022-01-03 16:14:11 +01:00
Alexandre Abadie
c2420e0577
boards/p-l496g-cell02: add riotboot feature
2022-01-03 15:37:09 +01:00
Alexandre Abadie
7eef2bbd50
Merge pull request #17441 from aabadie/pr/cpu/stm32_periph_include_cleanup
...
cpu/stm32: split periph_cpu.h in sub headers
2022-01-03 14:32:15 +01:00
benpicco
74d1582fad
Merge pull request #17407 from kaspar030/time_units
...
sys: factor out US_PER_SEC etc from timex.h into time_units.h
2022-01-03 13:32:53 +01:00
Alexandre Abadie
082ea7accd
Merge pull request #17449 from aabadie/pr/boards/stm32f746g_disco_openocd
...
boards/stm32f746g-disco: use connect_assert_srst with openocd
2022-01-03 12:14:26 +01:00
Alexandre Abadie
fc9c82f540
Merge pull request #17462 from aabadie/pr/boards/stm32f723e-disco-openocd
...
boards/stm32f723e-disco: use connect_assert_srst with openocd
2022-01-03 12:05:11 +01:00
Marian Buschsieweke
4f6e2620df
Merge pull request #17461 from aabadie/pr/doc/various_fixes
...
doc: fix missing or non matching arguments in Doxygen documentation
2022-01-03 11:12:57 +01:00
Alexandre Abadie
02893420dd
boards/stm32f723e-disco: use connect_assert_srst with openocd
2022-01-03 10:50:05 +01:00
Alexandre Abadie
f27cccd0cc
sys/net: fix non matching arguments in doc
2022-01-03 09:52:57 +01:00
Alexandre Abadie
c78a67422a
sys/crypto: fix missing documentation
2022-01-03 09:52:28 +01:00
Alexandre Abadie
acd73529a5
drivers/netdev: fix missing and non matching arguments in doc
2022-01-03 09:52:04 +01:00
Alexandre Abadie
7ce1894da9
drivers/candev: fix non matching argument in doc
2022-01-03 09:51:40 +01:00
benpicco
fadb4d9e6c
Merge pull request #17452 from Ollrogge/hid_pr
...
usbus/hid: Remove unimplemented function declaration
2022-01-03 01:07:43 +01:00
Alexandre Abadie
4d75c6ddde
cpu/stm32: group periph definitions by periph type
2022-01-02 20:07:51 +01:00
benpicco
40a6000cc5
Merge pull request #17410 from aabadie/pr/cpu/stm32u5
...
cpu/stm32: add support for U5 family
2022-01-02 18:45:57 +01:00
Benjamin Valentin
8607a9cdfa
cpu/stm32: extend RAM with SRAM4
2022-01-02 15:43:37 +01:00
Jan Romann
e29da26ea1
Merge pull request #17250 from JKRhb/dhcpv6-restart-fix
...
sys/net/dhcpv6: fix variable shadowing issue
2022-01-01 20:48:07 +01:00
Marian Buschsieweke
6c6ef2dbe5
Merge pull request #17454 from krzysztof-cabaj/doc-board-rpi-pico
...
doc/boards/rpi-pico: Addition of section concerning shell access
2022-01-01 20:44:39 +01:00
Jan Romann
e185a2556d
sys/net/dhcpv6: fix variable shadowing issue
2022-01-01 18:43:13 +01:00
Alexandre Abadie
0d2ba58b89
Merge pull request #17456 from gschorcht/cpu/esp/doc_fixes
...
cpu/esp*: small documentation fixes
2022-01-01 17:05:16 +01:00
Gunar Schorcht
523bcec8ee
cpu/esp*: small documentation fixes
...
Only formatting issues solved, no content changes.
2021-12-30 14:43:31 +01:00
krzysztof-cabaj
a91b8039fd
doc/boards/rpi-pico: fixing typo detected by static tests
2021-12-28 10:52:53 -05:00
krzysztof-cabaj
e197b17c15
doc/boards/rpi-pico: fixing whitespace errors
2021-12-28 10:45:42 -05:00
krzysztof-cabaj
f05327ba1f
doc/boards/rpi-pico: Addition of section concerning shell access
2021-12-28 09:23:46 -05:00
Ollrogge
8ec310b085
usbus/hid: Remove unimplemented function declaration
2021-12-27 21:18:43 +01:00
Marian Buschsieweke
0ada4f3a1c
Merge pull request #17443 from gschorcht/sys/arduino/assert_gpio_undef
...
sys/arduino: add assertion to gpio handling
2021-12-27 13:26:30 +01:00
Alexandre Abadie
d0b1b4e1e5
boards/stm32f746g-disco: use connect_assert_srst with openocd
2021-12-27 12:50:21 +01:00
Gunar Schorcht
ede5f9ebab
sys/arduino: add assertion to gpio handling
...
Not all boards that provide a Arduino pin layout break out all GPIOs. A good example are Adafruit `feather-m0` boards. GPIOs that are not broken out have to be defined as `GPIO_UNDEF` to preserve the Arduino pin layout. However, GPIO functions lead to a complete system lock on `feather-m0` boards if a pin is used that is defined as `GPIO_UNDEF`. Therefore, at least an assert should blow up in this case.
2021-12-27 11:38:05 +01:00
benpicco
9e975c802d
Merge pull request #17440 from aabadie/pr/boards/common_microbit_group_fix
...
boards/common/microbit: fix doxygen grouping
2021-12-24 14:12:09 +01:00
Marian Buschsieweke
39b159e83b
Merge pull request #17445 from gschorcht/boards/feather-m0/kconfig_base_board
...
boards/feather-m0*: base board definition in Kconfig
2021-12-24 13:19:26 +01:00
Gunar Schorcht
2800616976
boards/feather-m0*: base board definition in Kconfig
...
All derived `feather-m0-*` boards have all features of the `feather-m0` board and `Makefile.features` of derived `feather-m0-`*` boards just include `Makefile.features` of the `feather-m0` base board. Therefore a base board definition is used in Kconfig for all `feather-m0*` boards.
2021-12-24 12:59:30 +01:00
Marian Buschsieweke
3053b87a5e
Merge pull request #17444 from gschorcht/boards/feather-m0/fix_arduino_feature_kconfig
...
boards/feather-m0-*: fix Arduino feature in Kconfig
2021-12-24 12:12:22 +01:00
Gunar Schorcht
12c5236443
boards/feather-m0-*: fix Arduino feature in Kconfig
...
With PR #17401 the Arduino feature was introduced for the `feather-m0` base board. Since all derived `feather-m0-*` boards with additional hardware modules simply include `Makefile.features` of the `feather-m0` base board, they also have this feature. However, the `Kconfig` file is defined separately for each of these boards. In PR 17401, it was forgotten to include the Arduino feature in the `Kconfig` file for the derived boards. This was not noticed because the CI did not trigger an error message.
2021-12-24 04:15:02 +01:00
Gunar Schorcht
c0cecaef99
Merge pull request #17401 from spectraphilic/feather-m0-arduino
...
boards/feather-m0: add arduino feature
2021-12-23 18:04:02 +01:00
Alexandre Abadie
4465ce1984
boards/common/microbit: fix doxygen grouping
2021-12-23 11:07:58 +01:00
Alexandre Abadie
d645ea89e9
tests/malloc: increase test timeout for very large mems
2021-12-23 11:04:42 +01:00
Alexandre Abadie
2191859dff
pkg/cifra: fix build error with redefined assert
2021-12-23 11:04:42 +01:00
Alexandre Abadie
86af5b5832
tools/doccheck: extend exclude patterns for b-u585i-iot02a
2021-12-23 11:04:42 +01:00
Alexandre Abadie
62a682dd2c
boards/b-u585i-iot02a: add initial basic support
2021-12-23 11:04:42 +01:00
Alexandre Abadie
2f0efa8c9e
cpu/stm32: add initial support for stm32u5 family
2021-12-23 11:04:41 +01:00
Gunar Schorcht
37d97aef1e
boards/esp32-olimex-evb: indentation cleanup
2021-12-23 10:39:12 +01:00
Gunar Schorcht
3492a36cf6
cpu/esp_common: common periph features moved to cpu/esp_common
2021-12-23 10:35:07 +01:00
Gunar Schorcht
6f7ba3500d
cpu/esp8266: common periph features moved to cpu/esp_common
2021-12-23 10:34:40 +01:00
Gunar Schorcht
27decbc6c1
cpu/esp32: common periph features moved to cpu/esp_common
2021-12-23 10:34:25 +01:00
Gunar Schorcht
aeb5d1197c
boards/esp8266: common periph features moved to cpu/esp_common
2021-12-23 10:33:57 +01:00
Gunar Schorcht
b1d2d46ee4
boards/esp32: common periph features moved to cpu/esp_common
2021-12-23 10:33:35 +01:00
chrysn
d7195cdd1d
Merge pull request #17430 from chrysn-pull-requests/update-cosy
...
dist/tools/cosy: Update, refresh patch and drop applied patch
2021-12-22 14:23:02 +01:00
chrysn
a31947304f
dist/tools/cosy: Update, refresh patch and drop applied patch
2021-12-22 14:16:37 +01:00
debb2d5fd3
Merge pull request #17433 from chrysn-pull-requests/irq_enable-considered-harmful
...
core: Warn about using irq_enable
2021-12-21 22:23:17 +01:00
chrysn
ffe2ef3da6
drivers/motor_driver: Use irq_restore
2021-12-21 18:23:11 +01:00
chrysn
49ff487ea2
core: Warn about using irq_enable
2021-12-21 18:03:55 +01:00
Benjamin Valentin
79891e9318
tests/socket_zep: enable test on Murdock
...
Murdock does not support IPv6, so use IPv4 for the automated test.
2021-12-21 16:53:27 +01:00
Benjamin Valentin
e7be547920
tests/socket_zep: adapt test to API expectations
2021-12-21 16:53:06 +01:00
benpicco
f9e3196a54
Merge pull request #17427 from gschorcht/cpu/esp8266/fix_ztimer_esp_wifi_problem
...
cpu/esp8266: fix problems with ESP WiFi and migration to ztimer
2021-12-21 14:22:53 +01:00
23ab8431a7
Merge pull request #17412 from jenswet/feature/cpp-doxygen-documentation
...
doc: Improve C++ documentation
2021-12-21 12:32:47 +01:00
benpicco
2bb2dc35d2
Merge pull request #17420 from gschorcht/cpu/esp/revert_change_for_esp_wifi_passphrase
...
cpu/esp: revert the change for default definition of ESP_WIFI_PASS
2021-12-20 17:05:45 +01:00
benpicco
b17fa61e83
Merge pull request #17422 from aabadie/pr/cpu/stm32_typo
...
cpu/stm32/Makefile.dep: fix typo
2021-12-20 15:23:18 +01:00
Alexandre Abadie
79df157727
sys: move rtc utility functions to their own module
2021-12-20 13:04:20 +01:00
Alexandre Abadie
749efa507d
drivers/periph_common: build periph module selectively
2021-12-20 13:04:20 +01:00
Alexandre Abadie
3b601933ce
Merge pull request #17428 from aabadie/pr/boards/unify_user_button_define
...
boards: unify user button defines
2021-12-20 11:43:07 +01:00
Alexandre Abadie
4877155e23
boards: unify user button defines
2021-12-20 11:39:17 +01:00
9e3062e3c6
Merge pull request #17423 from chrysn-pull-requests/rust-docs-qualityoflife
...
doc: Rust overview
2021-12-20 10:27:22 +01:00
Gunar Schorcht
48f59a1487
cpu/esp8266: RTT is used by the WiFi Interface
...
If the WiFi interface is enabled by module `esp_wifi_any`, binary SDK libraries use the RTT. Therefore, `ztimer` must not use `periph_rtt`as backend, if the WiFi interface is enabled by module `esp_wifi_any`.
2021-12-19 15:56:31 +01:00
Gunar Schorcht
ae8713fea8
cpu/esp8266: places ztimer_core function in IRAM
...
`ztimer_core` functions have to reside in IRAM for timing reasons and to be available also when the IROM cache is disabled. Although the module is called `ztimer`, its object files are generated in directory `ztimer_core`.
2021-12-19 15:41:25 +01:00
Gunar Schorcht
4d19b77fce
cpu/esp8266: add CPU frequency selection to Kconfig
2021-12-19 12:20:43 +01:00
Gunar Schorcht
f6831f34fb
cpu/esp32: add CPU frequency selection to Kconfig
...
t
2021-12-19 12:20:14 +01:00
Gunar Schorcht
f01e0804ff
cpu/esp32: remove the duplicate ESP_HAS_SPI_RAM
2021-12-19 12:19:59 +01:00
ffecd0110a
Merge pull request #17421 from aabadie/pr/cpu/stm32_kconfig_cleanup
...
cpu/stm32: remove invalid family symbols used in Kconfig
2021-12-19 11:52:54 +01:00
chrysn
9b66bd59e1
rust: Add overview documentation
2021-12-19 11:15:04 +01:00
Alexandre Abadie
06d3fba129
cpu/stm32/Makefile.dep: fix typo
2021-12-19 10:47:15 +01:00
Alexandre Abadie
6f69996937
cpu/stm32/Kconfig: replace tabs with spaces
2021-12-19 10:37:29 +01:00
Alexandre Abadie
ec46f1b3f1
cpu/stm32: remove invalid symbols used in Kconfig
2021-12-19 10:33:12 +01:00
chrysn
4e3e21d3ab
build-info: Report Rust target
2021-12-19 10:02:38 +01:00
Gunar Schorcht
87a72e4dfe
cpu/esp: revert the change for ESP_WIFI_PASS define
...
Previously, a default value for ESP_WIFI_PASS was intentionally defined only if DOXYGEN was also defined, to allow ESP_WIFI_PASS to be left undefined for using APs without authentication. With PR #17415 the definition was changed to always define a default value for EPS_WIFI_PASS. This made it impossible to use APs without authentication. The commit reverts this change.
2021-12-19 07:39:46 +01:00
2c3e077bca
Merge pull request #17413 from gschorcht/cpu/esp32/support_clocks_2_and_40_MHz
...
cpu/esp32: support CPU clocks 2 MHz and 40 MHz
2021-12-18 21:58:34 +01:00
J. David Ibáñez
b22d899e91
boards/feather-m0: drop pins for missing variants
2021-12-18 09:54:04 +01:00
43988120f9
Merge pull request #17409 from kaspar030/ztimer_no_timer_fix
...
sys/ztimer: don't access non-existant timer
2021-12-17 23:27:04 +01:00
Jean-Pierre De Jesus DIAZ
466fdf5114
Merge pull request #17415 from gschorcht/cpu/esp/wifi_ap_dynamic_ssid_option
...
cpu/esp: change dynamic SSID option handling
2021-12-17 18:11:38 +01:00
Gunar Schorcht
5d00acc868
cpu/esp32/spi: support 2 MHz and 40 MHz APB clocks
2021-12-17 17:45:25 +01:00
Gunar Schorcht
470208e685
cpu/esp32/i2c_hw: assert added for unsupported I2C clock speeds
...
The former correction factors were determined by measuring the resulting clocks without a device connected to the bus.
However, when testing the changes for low CPU clock frequencies, it was figured out that the clocks not only depend on configured register values
_i2c_hw[dev].regs->scl_low_period.period
_i2c_hw[dev].regs->scl_high_period.period
but also on the bus capacity. Obviously, the register values are not absolute times in APB clock cycles, but rather times that start as soon as the corresponding level is reached. In this case, the higher the bus capacity, the longer the period would be.
This means that the clock speed cannot be precisely controlled via the correction factors anyway. For this reason, and because the I2C implementation in ESP-IDF also does not use correction factors, they were removed.
2021-12-17 17:44:27 +01:00
bcc1432fac
Merge pull request #17223 from miri64/security-md/enh/add-link
...
SECURITY.md: Add key link
2021-12-17 10:19:12 +01:00
Martine Lenders
2c6d4df1c7
SECURITY.md: Add key link
2021-12-17 10:04:16 +01:00
385e65f497
Merge pull request #17405 from kaspar030/can_fast_ci_run_skipcomments
...
tools: can_fast_ci_run.py: ignore comment changes for `\.[ch]$`
2021-12-17 09:12:59 +01:00
chrysn
9e35b75ff4
Merge pull request #17408 from chrysn-pull-requests/ztimer-report-removal
...
sys/ztimer: ztimer_remove report success
2021-12-17 08:57:14 +01:00
60f9ceabd1
tools: can_fast_ci_run.py: ignore comment-only change for .[ch]
2021-12-16 20:50:52 +01:00
Alexandre Abadie
c9e30b01c0
Merge pull request #16333 from fjmolinas/pr_driver_hm3301
...
drivers/hm330x: initial commit
2021-12-16 17:56:45 +01:00
chrysn
afdabcf9b6
Merge pull request #16274 from chrysn-pull-requests/rust-application
...
Add some Rust building infrastructure and example
2021-12-16 16:17:28 +01:00
chrysn
c703dc6e35
sys/ztimer: Documentation clarification
2021-12-16 15:35:20 +01:00
chrysn
991f74a62a
sys/ztimer: ztimer_remove return its success
...
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-12-16 15:35:17 +01:00
Francisco Molina
aedec107d4
tests/driver_hm330x: initial import
2021-12-16 15:19:55 +01:00
Francisco Molina
fe38284a3c
drivers/hms330x: initial import
2021-12-16 15:19:44 +01:00
eb72086e35
Merge pull request #17414 from fjmolinas/pr_ztimer64_init
...
sys/ztimer64: default select ztimer64_init
2021-12-16 15:11:46 +01:00
chrysn
1838cdf69c
rust: Add triples for M23 and M33 (but keep disabled)
2021-12-16 13:29:31 +01:00
chrysn
b557fdce55
rust: Enable on Cortex-M0(+) boards
2021-12-16 13:29:31 +01:00
chrysn
a72ee1fb03
compile_commands: Don't produce duplicate -c arguments
2021-12-16 13:29:31 +01:00
chrysn
d0ed537bae
compile_commands: Filter out GCC-only -malign-data=natural
2021-12-16 13:29:30 +01:00
chrysn
6246ab70d1
examples: Add second Rust example (gcoap)
2021-12-16 13:29:30 +01:00
chrysn
49403c7781
examples: Add Rust example
2021-12-16 13:29:30 +01:00
chrysn
72e4c1803f
rust: Add minimal test
...
Unlike the hello-world example (that is largely identical), this gets
run during CI.
2021-12-16 13:29:30 +01:00
Gunar Schorcht
effc49f864
cpu/esp32: small documentation fix
2021-12-16 13:18:52 +01:00
Gunar Schorcht
8ac808e4fd
cpu/esp: cleanup for dynamic SoftAP SSID option
...
The semantics of defining an SSID prefix that overrides the already defined SSID exactly when and only when it is set, and then enabling dynamic SSID generation with that prefix, made handling the parameter definition unnecessarily difficult and hard to understand.
Defining a boolean option that enables dynamic SSID generation, which then simply reuses the defined SSID as a prefix, makes it much more understandable and easier to handle, especially with respect to Kconfig.
2021-12-16 13:17:17 +01:00
Francisco Molina
f3e348dee0
sys/ztimer64: default select ztimer64_init
2021-12-16 12:28:25 +01:00
Martine Lenders
e062ad78f3
Merge pull request #17265 from miri64/ethos/fix/threadify-state-machine
...
ethos: move bulk of state machine out of ISR context
2021-12-16 12:24:14 +01:00
Gunar Schorcht
0b4fb5a9ea
cpu/esp32/i2c_sw: add delays for 2 and 40 MHz
2021-12-16 10:44:53 +01:00
J. David Ibáñez
5f08e352b6
boards/feather-m0: arduino pins for variants
2021-12-16 10:04:20 +01:00
6efee528e0
Merge pull request #17402 from MrKevinWeiss/pr/ci/testallboards
...
.murdock: Kconfig test apps for all boards
2021-12-15 22:36:52 +01:00
Marian Buschsieweke
882c593575
Merge pull request #17348 from krzysztof-cabaj/add-elf2uf2-tool
...
tools/elf2uf2: addition of new PROGRAMMER for RPi-pico
2021-12-15 22:08:51 +01:00
Jens Wetterich
a0930a8ec0
doc: Improve C++ documentation
...
Move C++ modules in a new menu tree and improve the description.
2021-12-15 18:58:23 +01:00
benpicco
570d29c05c
Merge pull request #17400 from maribu/cpu/nrf5x_common/periph_temperature
...
cpu/nrf5x_common/periph_temperature: Increase resolution
2021-12-15 18:53:50 +01:00
MrKevinWeiss
5f7c31f5fa
.murdock: Kconfig test apps for all boards
...
Introduce the TEST_KCONFIG_TEST_ALLOWLIST and TEST_KCONFIG_BOARD_BLOCKLIST
This will test kconfig modeling on a small subset of apps
for all boards that are not on the blocklist.
This should automatically test new boards, preventing merging
of non-kconfig complete boards.
2021-12-15 18:43:38 +01:00
krzysztof-cabaj
940f1eea4b
tools/elf2uf2: addition of new PROGRAMMER for rpi-pico board
2021-12-15 11:40:10 -05:00
Martine Lenders
820a3976ad
ethos: move bulk of state machine out of ISR context
...
This moves the following parts of ethos' state machine out of ISR
context:
- Sending and replying to HELLO messages
- Byte-unstuffing
Some escape handling is still needed in the ISR handler, due to ethos'
protocol design, to determine if a received byte must go into the
netdev queue (tsrb) or the STDIO queue (isrpipe), but the actual
unstuffing is now done in the STDIO and netdev handler threads,
respectively.
2021-12-15 16:15:30 +01:00
Martine Lenders
568be105f2
stdio_ethos: move to ethos_stdio
2021-12-15 16:15:29 +01:00
Marian Buschsieweke
8ee657f0e5
cpu/nrf5x_common/periph_temperature: Increase resolution
...
Modify the periph_temperature implementation to expose the full
resolution of the temperature sensor. The accuracy of the sensor will
likely be less than 0.25 °C, but typically temperature sensors have
a precision in the order of their resolution. Exposing the full
resolution can therefore be useful to monitor relative temperature
changes.
2021-12-15 16:14:08 +01:00
Francisco Molina
efeecae3a5
sys/Makefile.dep: remove ztimer_periodic dep
...
This module does not exist, its part of ztimer core.
2021-12-15 15:52:08 +01:00
b551bbf747
sys/ztimer: don't access non-existant timer
2021-12-15 15:51:59 +01:00
a8ade82a95
Merge pull request #17404 from kaspar030/ztimer_clarify_now_comparisons
...
sys/ztimer: ztimer_now() add warning regarding comparing now() values
2021-12-15 15:44:27 +01:00
Alexandre Abadie
9c71dd7566
Merge pull request #17342 from aabadie/pr/sysclk
...
sys: introduce sysclk function to retrieve core clock frequency
2021-12-15 15:41:34 +01:00
J. David Ibáñez
ae7c745fb0
boards/feather-m0: add arduino feature
2021-12-15 14:58:51 +01:00
fd1f257ee8
sys: factor out US_PER_SEC etc from timex.h into time_units.h
2021-12-15 14:33:20 +01:00
Francisco
03a004e3c9
Merge pull request #17395 from fjmolinas/pr_cpu_no_rtt
...
cpu: do not auto-select ztimer_periph_rtt for sam0, fe310
2021-12-15 14:04:57 +01:00
Francisco
fe850e8919
Merge pull request #17357 from kfessel/p-evtimer32
...
sys/evtimer,ztimer: do not depend on ztimer_now64
2021-12-15 13:24:44 +01:00
Alexandre Abadie
d755c3ae4a
boards/qn9080dk: move CLOCK_CORECLOCK definition to periph_conf.h
2021-12-15 13:14:19 +01:00
Alexandre Abadie
c9207e81a3
cpu/esp8266: include cpu_conf.h in periph_cpu.h
2021-12-15 13:14:19 +01:00
Alexandre Abadie
2e74e5e3b9
cpu/esp32: include sdk_conf.h in periph_cpu.h
...
This allows access to CLOCK_CORECLOCK from periph_conf.h which is used by clk.h
2021-12-15 13:14:19 +01:00
Alexandre Abadie
084e33d504
pkg/openwsn: use coreclk() instead of CLOCK_CORECLOCK
2021-12-15 13:14:19 +01:00
Alexandre Abadie
91927c988b
examples/blinky: use coreclk() instead of CLOCK_CORECLOCK
2021-12-15 13:14:19 +01:00
Alexandre Abadie
16baad825d
drivers/ws281x: use coreclk() instead of CLOCK_CORECLOCK
2021-12-15 13:14:19 +01:00
Alexandre Abadie
ea3c59f41a
tests: use coreclk() instead of CLOCK_CORECLOCK
2021-12-15 13:14:19 +01:00
Alexandre Abadie
2eb800cb8b
cpu/fe310: use coreclk instead of cpu_freq
2021-12-15 13:14:19 +01:00
Marian Buschsieweke
13df2a6231
Merge pull request #17388 from maribu/tests/periph_timer_periodic
...
tests/periph_timer_periodic: spice up test
2021-12-15 12:55:00 +01:00
Alexandre Abadie
b206658b51
cpu/native: define default CLOCK_CORECLOCK constant
2021-12-15 12:41:36 +01:00
Alexandre Abadie
ec41c43751
sys: introduce coreclk utility function
2021-12-15 12:41:36 +01:00
Kevin "Tristate Tom" Weiss
e3f6212708
Merge pull request #17355 from leandrolanzieri/pr/boards/samd21/model_kconfig
...
boards/samd21-based: model Kconfig
2021-12-15 12:35:32 +01:00
32afae0b5f
sys/ztimer: ztimer_now() add warning regarding comparing now() values
2021-12-15 12:34:37 +01:00
Francisco
e2608e178f
Merge pull request #17394 from fjmolinas/pr_evtimer_now_ztimer
...
sys/evtimer: use now returned by set
2021-12-15 12:11:44 +01:00
Marian Buschsieweke
26eed0ae5a
Merge pull request #17399 from maribu/boards/common/nrf52xxxdk
...
boards/common/nrf52xxxdk: Expose LEDs via saul_pwm
2021-12-15 11:08:39 +01:00
Francisco
10165da210
Merge pull request #17308 from aabadie/pr/drivers/mhz19_ztimer
...
drivers/mhz19: migrate to ztimer
2021-12-15 11:05:16 +01:00
Kevin "Tristate Tom" Weiss
ea9abcc6c4
Merge pull request #17398 from fjmolinas/pr_docker_kconfig
...
makefiles/docker.inc.mk: pass TEST_KCONFIG
2021-12-15 10:44:03 +01:00
Francisco Molina
600acb756c
tests/periph_pm: select ztimer_no_periph_rtt for sam0 boards
...
For sam0 there is a conflict between rtt and rtc, make resolves
this based on feature conflicts and the feature to be included
depends on dependency resolution.
Kconfig can't rely on order of inclusion therefore ztimer_no_periph_rtt
is implied to aboid ztimer_msec selecting rtt (its the case for BOARDs
using stdio_rtt
2021-12-15 10:31:19 +01:00
Leandro Lanzieri
1dd3b38e6c
tests/periph_rtc/kconfig: do not use rtt on ztimer
2021-12-15 10:31:19 +01:00
Leandro Lanzieri
8bcd7e53e8
sys/arduino/kconfig: use periph_uart
2021-12-15 10:31:19 +01:00
Leandro Lanzieri
359fdda249
.murdock: add subset of samd21 boards to test Kconfig
2021-12-15 10:31:19 +01:00
Leandro Lanzieri
8e7691e34d
boards/samd21-based: model Kconfig
2021-12-15 10:31:18 +01:00
Leandro Lanzieri
6ecbfe99f7
boards/common/sodaq: model Kconfig
2021-12-15 10:30:51 +01:00
Leandro Lanzieri
ea0039f7a0
boards/common/arduino-zero: model Kconfig
2021-12-15 10:30:51 +01:00
Leandro Lanzieri
7fe6eba806
boards/common/arduino-mkr: model Kconfig
2021-12-15 10:30:51 +01:00
Leandro Lanzieri
d249fc5ba7
boards/common/samdx1-arduino-bootloader: model Kconfig
2021-12-15 10:30:51 +01:00
Leandro Lanzieri
14d986d25d
drivers: add Kconfig hardware feature to various drivers
...
- fxos8700
- hdc1000
- pir
- pulse_counter
2021-12-15 10:30:51 +01:00
Francisco
31f5899c56
Merge pull request #17374 from MrKevinWeiss/pr/fix/kconfig/stms2
...
boards/stm32-based: model Kconfig
2021-12-15 10:29:49 +01:00
MrKevinWeiss
475c63f3fc
.murdock: Add some stm boards to kconfig test
2021-12-15 09:31:45 +01:00
MrKevinWeiss
deda2cfb97
boards: Fix stm32 based boards kconfig models
2021-12-15 09:31:45 +01:00
MrKevinWeiss
fbd404edfe
boards/adafruit-itsybitsy-m4: fix kconfig usb_reset
2021-12-15 08:39:01 +01:00
MrKevinWeiss
51fdbdd75c
cpu/cortexm: fix kconfig libc_implemention
2021-12-15 08:39:00 +01:00
MrKevinWeiss
8fc06376e4
drivers/lsm6dsl Allow SAUL_DEFAULT in kconfig
2021-12-15 08:39:00 +01:00
MrKevinWeiss
4ac5ad66db
cpu/stm32: Model bootloader_stm32 module
2021-12-15 08:38:59 +01:00
MrKevinWeiss
be6e671d4c
drivers/saul: Fix spelling mistake
2021-12-15 08:38:59 +01:00
MrKevinWeiss
aa138dbe4b
drivers/lsm303dlhc: Allow SAUL_DEFAULT in kconfig
2021-12-15 08:38:59 +01:00
MrKevinWeiss
ac769807c4
drivers/lpsxxx: Allow SAUL_DEFAULT in kconfig
2021-12-15 08:38:58 +01:00
29ed101405
Merge pull request #17393 from fjmolinas/pr_kinetis_fix_rtt
...
cpu/kinetis/include: fix xtimer backend timer selection
2021-12-15 00:01:52 +01:00
dad01c17f6
Merge pull request #17386 from fjmolinas/pr_esp_ztimer
...
cpu/esp: migrate to ztimer
2021-12-14 23:39:56 +01:00
Francisco
7dc632de2e
Merge pull request #17397 from fjmolinas/pr_pkg_mynewt_core_align_cast
...
pkg/mynewt-core/patches: silence cast-align
2021-12-14 23:29:04 +01:00
Francisco Molina
c2d874e0d0
tests/posix_sleep: remove custom periph_rtt inclusion for ztimer
2021-12-14 23:23:30 +01:00
Karl Fessel
f30433caf6
tests: adds some INSUFFICIENT_MEMORY boards
2021-12-14 22:53:01 +01:00
Karl Fessel
5dfe59b9dc
test/pkg_microcoap: depends on xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
6473c5c1f7
test/gnrc_sock_ip: depends on xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
53387d83e8
example/nanocoap_server: depends on xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
9f285f319e
test/gnrc_udp: depends on xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
af13447238
gnrc/ipv6_auto_subnets: depend on xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
af4381db07
pkg/tinydtls: depends on xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
427df6d59d
suit: example doesn't need xtimer suit_coap needs xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
0a25554ca7
net/uhcpc: depends on xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
1e31818f9e
sys/benchmark_upd: depends on xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
0a3dd441ce
net/gnrc_sock: do not include xtimer.h without xtimer module
2021-12-14 22:53:01 +01:00
Karl Fessel
937efda843
test/evtimer_underflow: test shall not need a blocking timer set
...
xtimer for short timouts is blocking (spin) this was needed for this test to pass
by sleeping in main we no longer need the timer set to wait
2021-12-14 22:53:01 +01:00
Karl Fessel
95767ec9b5
sys/evtimer: deprecate evtimer_now_min
2021-12-14 22:53:01 +01:00
Marian Buschsieweke
c118df3eb2
boards/common/nrf52xxxdk: Expose LEDs via saul_pwm
...
This allows dimming the LEDs instead of only turning them on and off.
2021-12-14 22:02:56 +01:00
Francisco Molina
69d82777e2
makefiles/docker.inc.mk: pass TEST_KCONFIG
2021-12-14 20:23:55 +01:00
Francisco Molina
d031552dc1
pkg/mynewt-core/patches: silence cast-align
2021-12-14 20:00:50 +01:00
Francisco Molina
c21c01b5b9
sys/ztimer: fix kconfig ZTIMER_SEC default
2021-12-14 18:44:48 +01:00
Francisco Molina
5e47fc7e22
cpu: do not auto-select ztimer_periph_rtt for sam0, fe310
...
The sam0 rtt busy loops for 180us every time an alarm is set or
the counter is read, this propagates and leads to timing errors
on ztimer_msec that are higher than > +-1msec.
The same goes for fe310.
2021-12-14 18:43:53 +01:00
Francisco Molina
4e6151bd7d
cpu/esp*: migrate from xtimer to ztimer
2021-12-14 18:14:35 +01:00
Francisco
0afed1de20
Merge pull request #17384 from haukepetersen/fix_examples_gnrcnetworkingconst
...
examples/gnrc_networking: cleanup and static function declarations in udp.c
2021-12-14 17:15:41 +01:00
MrKevinWeiss
e6352fd383
drivers/lpsxxx: Allow SAUL_DEFAULT in kconfig
2021-12-14 16:17:06 +01:00
MrKevinWeiss
4654bc5eb1
drivers/lm75: Allow SAUL_DEFAULT in kconfig
2021-12-14 16:17:06 +01:00
MrKevinWeiss
5462583e89
drivers/l3g4200d: Allow SAUL_DEFAULT in kconfig
2021-12-14 16:17:05 +01:00
MrKevinWeiss
b1bb309566
driver/isl29020: Allow SAUL_DEFAULT in kconfig
2021-12-14 16:17:05 +01:00
Karl Fessel
4d70d939ca
sys/evtimer,ztimer: do not depend on ztimer_now64
2021-12-14 14:41:06 +01:00
Francisco
9361c9898c
Merge pull request #17377 from fjmolinas/pr_pkg_ztimer_migrate
...
pkg/ccn-ndn: migrate to ztimer
2021-12-14 14:10:33 +01:00
Francisco
f88ee8c9bf
Merge pull request #17391 from kaspar030/add_bench_ztimer
...
tests/bench_ztimer: add port of bench_xtimer
2021-12-14 14:09:18 +01:00
Hauke Petersen
bc0adc19a8
shell/sc_gnrc_udp: rename static functions
2021-12-14 13:50:38 +01:00
Hauke Petersen
13363782b2
shell/sc_gnrc_udp: mark all feasible params const
2021-12-14 13:50:29 +01:00
chrysn
9560f18ee1
codespell: Allow 'crate' from Rust context
2021-12-14 13:27:42 +01:00
chrysn
1273f2940f
rust: Treat Cargo.lock files as opaque
...
Cargo.lock files pin the versions of all transitive dependencies, and
are left that way by Cargo unless requested manually (`cargo update`) or
necessitated by a change in dependencies (if the manually maintained
Cargo.toml says `>0.5.2` and .lock says `0.5.1`, the latter is reset).
They are fixed (as opposed to .gitignoring them and letting each user
autogenerate them) to ensure that third party changes do not break RIOT
CI builds; for updates, the changes from a `cargo update` can still be
committed and then run through CI checks. (This is analogous to how pkg
versions are pinned).
They are set to binary because their diffs are usually not practical to
read.
2021-12-14 13:27:42 +01:00
chrysn
732c369b7e
makefiles: Add mechanism to build modules through Cargo
...
... and to dissect the static libraries into invidial .o files to link
them the same way we link C.
2021-12-14 13:27:41 +01:00
Francisco Molina
240e778b8b
sys/evtimer: use now returned by set
2021-12-14 13:24:29 +01:00
Francisco Molina
bf05468fab
cpu/kinetis/rtt: remove callback on clear
2021-12-14 13:20:36 +01:00
Francisco Molina
d4c84b592f
cpu/kinetis/include: fix xtimer backend timer selection
2021-12-14 13:20:36 +01:00
Francisco Molina
9b03d45953
tests/periph_rtt_min: update CPUs with configurable rtt freq
2021-12-14 13:19:15 +01:00
chrysn
a2e1b92e1d
makefiles: Define RUST_TARGET for use with Cargo / Rust
...
For RISC-V and Cortex-M-not-3, triples are known and have worked in some
configuration, but do not work at the moment and stay disabled until the
reference platforms (native, M3) have been established well.
2021-12-14 12:55:13 +01:00
22e5e8d24e
tests/bench_ztimer: add port of bench_xtimer
2021-12-14 12:39:17 +01:00
Marian Buschsieweke
1d57cf9e0f
tests/periph_timer_periodic: spice up test
...
This should detect some bugs regarding incorrect behavior regarding
timer_start() not resuming periodic timers as expected.
2021-12-13 17:11:15 +01:00
Marian Buschsieweke
ab0e118d10
Merge pull request #17389 from fjmolinas/pr_subnets_broken_link
...
examples/gnrc_networking_subnets: remove broken symlink
2021-12-13 16:07:56 +01:00
Francisco Molina
6c2a7e26f2
examples/gnrc_networking_subnets: remove broken symlink
2021-12-13 15:21:20 +01:00
Alexandre Abadie
e20f3e5d32
Merge pull request #17381 from gschorcht/drivers/atwinc15x0_migrate_ztimer
...
drivers/atwinc15x0: migrate to ztimer
2021-12-13 15:10:51 +01:00
benpicco
cfaa167469
Merge pull request #16598 from benpicco/sys/shell/udp
...
examples/gnrc_networking: move udp command to shell commands
2021-12-13 15:03:18 +01:00
Marian Buschsieweke
1f53b88a62
Merge pull request #17387 from ngandrass/pr/cpu/atmega_common/timer_periodic
...
cpu/atmega_common: Remember CTC mode with timer_periodic
2021-12-13 14:11:52 +01:00
Gunar Schorcht
c6874dfbdf
drivers/atwinc15x0: mirgate to ztimer
2021-12-13 13:58:42 +01:00
Kevin "Tristate Tom" Weiss
ed94dd7085
Merge pull request #17376 from leandrolanzieri/pr/makefiles/add_board_cpu_config_variables
...
makefiles/kconfig: add board & CPU config variables
2021-12-13 13:26:40 +01:00
efa24b3f1e
Merge pull request #17385 from fjmolinas/pr_ztimer_set_now
...
sys/ztimer: ztimer_set() return the now value
2021-12-13 13:06:27 +01:00
Leandro Lanzieri
c8533e6f23
doc/kconfig: add information on default configurations
2021-12-13 12:33:24 +01:00
Leandro Lanzieri
df7ce1c647
makefiles/kconfig: use two lists for boards and CPUs default configs
...
This introduces KCONFIG_BOARD_CONFIG and KCONFIG_CPU_CONFIG variable for
boards and CPUs (including common directories) to add default
configuration files to be merged. The current approach, as it uses
Makefile.features, would include boards first, not allowing them to
override CPU configurations.
2021-12-13 12:33:21 +01:00
Niels Gandraß
41e8a57960
cpu/atmega_common: Remember CTC mode with timer_periodic
2021-12-13 12:08:38 +01:00
921a841147
Merge pull request #17325 from kaspar030/pr17239_murdock_integration
...
murdock: make use of can_fast_ci_run.py
2021-12-13 11:59:32 +01:00
Francisco Molina
dd03d8c362
sys/ztimer: ztimer_set return the now value
2021-12-13 11:21:23 +01:00
efdd3e90ef
murdock: integrate can_fast_ci_run build filter
2021-12-13 11:04:52 +01:00
e080487da1
dist/tools: can_fast_ci_run: add murdock functionality
2021-12-13 10:59:28 +01:00
Alexandre Abadie
7b2ab7d734
Merge pull request #17375 from aabadie/pr/drivers/ztimer_ter
...
drivers: several cleanups related to xtimer + some ztimer migration
2021-12-12 15:45:08 +01:00
Marian Buschsieweke
5b86d65744
Merge pull request #14364 from gschorcht/fix_ndebug_compilation
...
Fix NDEBUG compilation problems
2021-12-12 14:39:42 +01:00
Gunar Schorcht
b044e8355d
pkg/qr-code-generator: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
7405df2607
cpu/efm32/periph/wdt: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
b3de3e27de
tests/ieee802154_submac: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
1091c879a0
tests/ieee802154_hal: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
869852de87
tests/gnrc_tx_sync: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
11d999b014
pkg/littlefs2: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
b6a2696e81
pkg/wakamaama: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
212f982cc7
tests/gnrc_sixlowpan_frag_sfr: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
5733fd7b20
tests/gnrc_sixlowpan_frag_minfwd: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
ab7dcfdfd2
tests/mtd_raw: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
cfb2ef7de2
tests/bitalgorithm_timings: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
11a99889da
pkg/u8g2: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
23d828381b
Merge pull request #17383 from leandrolanzieri/pr/pkg/bme680/remove_kconfig_prompt
...
pkg/driver_bme680/kconfig: remove prompt and depend on driver module
2021-12-12 12:52:12 +01:00
Leandro Lanzieri
ab88c0fdb2
pkg/driver_bme680/kconfig: remove prompt and depend on driver module
...
The BME680 package cannot be used by itself, but is needed for RIOT
BME680 driver. The user should not select this directly, so we remove
the prompt and additionally add a dependency on the driver.
2021-12-12 11:33:04 +01:00
Alexandre Abadie
c5e28d4ef3
drivers/lis3mdl: fix timer dep + migrate app to ztimer
2021-12-12 10:45:09 +01:00
Alexandre Abadie
3e717480ac
drivers/ws281x: pull xtimer module from test application
2021-12-11 17:56:40 +01:00
Alexandre Abadie
e1310e3378
drivers/sps30: fix unused include, migrate to ztimer
2021-12-11 17:56:39 +01:00
Alexandre Abadie
e71988d22a
drivers/shtc1: migrate to ztimer
2021-12-11 17:56:39 +01:00
Alexandre Abadie
097b1970d2
drivers/pulse_counter: migrate to ztimer
2021-12-11 17:56:39 +01:00
Alexandre Abadie
38c2ea57aa
drivers/pn532: migrate to ztimer
2021-12-11 17:56:39 +01:00
Alexandre Abadie
d9fe3a74e5
drivers/lis2dh12: migrate to ztimer
2021-12-11 16:53:14 +01:00
Alexandre Abadie
9d53ed3ebf
drivers/ad7746: migrate to ztimer
2021-12-11 16:53:14 +01:00
Gunar Schorcht
85313ccc02
Merge pull request #17232 from leandrolanzieri/pr/cpu/esp/model_kconfig
...
cpu/esp{32,8266}: model kconfig
2021-12-11 08:53:31 +01:00
zvecr
bf241a117c
usbus: Bind extra USB config
2021-12-10 23:34:59 +00:00
Marian Buschsieweke
d362360604
Merge pull request #17378 from gschorcht/doc/fix_libcoap_removal_commit
...
doc: fix libcoap removal commit
2021-12-10 20:04:59 +01:00
benpicco
13f03ad161
Merge pull request #17314 from gschorcht/boards/esp/compile_optional_modules
...
cpu/esp: compile optional modules in CI
2021-12-10 19:28:24 +01:00
Gunar Schorcht
0736686c9a
doc: fix libcoap removal commit in LOSTANDFOUND.md
...
With PR RIOT-OS#17163 for removing `libcoap`, the file `LOSTANDFOUND.md` was updated to reference the commit for removing `libcoap`. The reference was not defined at the end of the file.
2021-12-10 19:11:36 +01:00
Gunar Schorcht
4944c1b6ec
Revert "doc: fix libcoap removal commit in LOSTANDFOUND.md"
...
This reverts commit c558599b2895db141ba089a719df3b503538aac8.
2021-12-10 19:07:43 +01:00
Leandro Lanzieri
a8201c03c0
sys/log/kconfig: change entry-point
2021-12-10 18:54:29 +01:00
Leandro Lanzieri
a685e037c7
cpu/esp32: check for cpp module instead of used feature
2021-12-10 18:54:28 +01:00
Leandro Lanzieri
01e01c4597
cpu/esp_common: move LINKFLAGS to Makefile.include
2021-12-10 18:54:28 +01:00
Leandro Lanzieri
b761701ca3
sys/rtt_rtc/kconfig: do not select RTC feature
2021-12-10 18:54:28 +01:00
Leandro Lanzieri
dadaace394
sys/log: check that one and only one backend
2021-12-10 18:54:28 +01:00
Leandro Lanzieri
81b93c9b95
cpu/esp32/kconfig: move esp_wifi_enterprise feature to esp_common
2021-12-10 18:54:28 +01:00
Leandro Lanzieri
b89a62df9b
boards/esp32-wrover-kit: provide esp_jtag feature
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
281519881e
cpu/esp32: fix esp_jtag dependency
...
In order to work properly dependencies should be placed on the
Makefile.dep files, not on Makefile.include.
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
721588b03b
cpu/esp8266: remove unneeded Makefile
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
53134d0474
cpu/esp32: require esp_spi_ram feature to use the module
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
9f31dfe28a
cpu/esp32: refactor esp_spi_ram feature
...
This feature is provided by all esp32_wrover% models, so group it in the
common file.
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
63a2b557df
.murdock: add subset of ESP boards to test Kconfig
2021-12-10 18:54:08 +01:00
Leandro Lanzieri
4be55b7a49
boards/common/esp8266: model Kconfig
2021-12-10 18:54:07 +01:00
Leandro Lanzieri
b3b468ad8b
boards/esp32: model Kconfig
2021-12-10 18:54:07 +01:00
Leandro Lanzieri
185d1a20df
cpu/esp8266: model Kconfig
2021-12-10 18:54:07 +01:00
Leandro Lanzieri
bfdfbb1a48
cpu/esp32: model Kconfig
2021-12-10 18:54:07 +01:00
Leandro Lanzieri
7a8f58ac4c
cpu/esp_common: model Kconfig
2021-12-10 18:54:07 +01:00
Leandro Lanzieri
831101eea5
cpu/esp_common/periph_flash: fix dependency
2021-12-10 18:51:27 +01:00
Leandro Lanzieri
e8c00d2b1c
pkg/esp8266_sdk: add Kconfig
2021-12-10 18:51:27 +01:00
Leandro Lanzieri
aec9d7a8e5
makefiles/features_modules: do not generate init for ESP RTT
...
This avoids the generation of the unneeded modules
periph_init_rtt_hw_rtc and periph_init_rtt_hw_sys.
2021-12-10 18:51:24 +01:00
Francisco
5f21ade1c6
Merge pull request #17372 from leandrolanzieri/pr/sys/ztimer/fix_backend_selection
...
sys/ztimer: fix backend selection
2021-12-10 17:53:12 +01:00
Leandro Lanzieri
59d3f0bcc6
cpu/esp32: remove unneeded crypto dependencies
2021-12-10 17:34:19 +01:00
Leandro Lanzieri
252c3886b0
cpu/esp32: do not expand USEMODULE
2021-12-10 17:34:16 +01:00
Francisco Molina
b77b21ba13
pkg/ccn-lite: migrate to ztimer64
2021-12-10 17:04:57 +01:00
Francisco
9b42822db7
Merge pull request #17312 from kaspar030/murdock_export_BOARDS
...
murdock: add some doc on how to efficiently limit builds
2021-12-10 15:34:05 +01:00
Francisco
f913ca4ce5
Merge pull request #17373 from fjmolinas/pr_lora_e5_dev_osx_port
...
boards/lora-e5-dev: fix default DARWIN port
2021-12-10 15:32:06 +01:00
Francisco Molina
3174e847d6
boards/lora-e5-dev: fix default DARWIN port
2021-12-10 11:08:26 +01:00
Leandro Lanzieri
1733953b49
sys/ztimer: fix backend selection
2021-12-10 09:57:05 +01:00
051fe0e357
murdock: add some doc on how to efficiently limit builds
2021-12-10 08:55:45 +01:00
Koen Zandberg
ca74a57870
Merge pull request #17370 from kaspar030/ztimer_best_practices
...
sys/ztimer: add some best practices
2021-12-10 08:47:55 +01:00
Koen Zandberg
d0eb8e2f7b
Merge pull request #17361 from fjmolinas/pr_sdcard_ztimer
...
drivers/sdcard_spi: convert to ztimer_usec
2021-12-09 17:44:48 +01:00
benpicco
eba1f0970e
Merge pull request #17371 from gschorcht/doc/fix_libcoap_removal_commit
...
doc: fix the reference to libcoap removal commit in LOSTANDFOUND.md
2021-12-09 17:08:29 +01:00
Francisco
b52a8857eb
Merge pull request #17368 from kaspar030/fix_ztimer64_uninitialized_timer_crash
...
sys/ztimer64: make _del_entry_from_list() safe for uninit ztimer64_t
2021-12-09 16:51:06 +01:00
Gunar Schorcht
e84068e945
sys/fuzzing: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Gunar Schorcht
8cd0aef67e
tests/lwip_sock_udp: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Gunar Schorcht
cae2448aad
tests/lwip_sock_ip: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Gunar Schorcht
628b343a05
tests/gnrc_sock_udp: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Gunar Schorcht
2b9de489bd
tests/gnrc_sock_ip: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Gunar Schorcht
902203fa93
tests/gnrc_ipv6_ext_frag: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Gunar Schorcht
ff4641ec36
tests/candev: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Gunar Schorcht
8c044c0163
gnrc/ipv6_ext_opt: fix compilation with NDEBUG
2021-12-09 16:44:19 +01:00
Gunar Schorcht
c558599b28
doc: fix libcoap removal commit in LOSTANDFOUND.md
...
With PR #17163 for removing `libcoap`, the file `LOSTANDFOUND.md` was updated to reference the commit for removing `libcoap`. However, when the PR was merged, the commit was given a different ID.
2021-12-09 16:33:05 +01:00
b07b11b431
sys/ztimer: add some best practices
2021-12-09 15:53:39 +01:00
Francisco Molina
26d3fd0a1b
pkg/ndn-riot: migrate to ztimer
2021-12-09 15:23:36 +01:00
Karl Fessel
6347dcdffc
Merge pull request #17141 from kfessel/p-ztimer-gcoap
...
net/gcoap: port to ztimer
2021-12-09 15:22:10 +01:00
Marian Buschsieweke
073e738178
Merge pull request #17362 from fjmolinas/pr_atxmega_stackfix
...
cpu/atxmega/include/cpu_conf: ztimer64 arithmetic idle stack fix
2021-12-09 14:41:19 +01:00
Francisco
7362074f49
Merge pull request #17235 from leandrolanzieri/cpu/kinetis/model_kconfig
...
cpu/kinetis: model kconfig
2021-12-09 14:22:10 +01:00
835db7d97f
tests/unittests: add ztimer64 regression test
2021-12-09 14:10:16 +01:00
Francisco Molina
97472047d7
tests/driver_io1_xplained: use ztimer
2021-12-09 14:00:39 +01:00
Francisco Molina
7cffaab47a
drivers/sdcard_spi: factorize timeout code
2021-12-09 14:00:39 +01:00
Alexandre Abadie
ea71155b9b
Merge pull request #17364 from fjmolinas/pr_cpu_unused_xtimer
...
cpu: remove unused `xtimer.h` headers
2021-12-09 13:54:46 +01:00
7b9a6850a3
sys/ztimer64: make _del_entry_from_list() safe for uninit ztimer64_t
2021-12-09 13:40:21 +01:00
benpicco
ccc97db715
Merge pull request #17360 from viktorbatista/debug_fixes
...
core/include/debug.h: minor fix in debug.h
2021-12-09 12:41:33 +01:00
Francisco Molina
43b3b3991a
cpu/atxmega/include/cpu_conf: ztimer64 arithmetic idle stack fix
2021-12-09 12:15:15 +01:00
Francisco Molina
9438c20c59
cpu/stm32/periph: remove unused xtimer includ
2021-12-09 12:14:42 +01:00
Francisco Molina
111e7d906b
cpu/sam0_common: remove unused xtimer dependency
2021-12-09 12:14:42 +01:00
Francisco
622fca0235
Merge pull request #17304 from MrKevinWeiss/pr/depmips
...
cpu/mips: deprecate mips cpu
2021-12-09 11:57:20 +01:00
Benjamin Valentin
624fd7672f
ut_process: add ; after DEBUG()
2021-12-09 11:20:44 +01:00
Francisco
e8d8759a69
Merge pull request #17358 from aabadie/pr/drivers/ztimer_bis
...
drivers: migrate mpu9x50 and si70xx to ztimer
2021-12-09 10:39:52 +01:00
Koen Zandberg
d959ce7eea
Merge pull request #16928 from kaspar030/ztimer64
...
sys/ztimer64: initial PR
2021-12-09 10:17:15 +01:00
MrKevinWeiss
cf74b26c55
cpu/mips: deprecate mips cpu
...
Add deprecate note in the mips cpu.
Add warning in make when any mips based board is being used (6lowpan-clicker, pic32-wifire).
2021-12-09 10:14:52 +01:00
Benjamin Valentin
4b9bdc61b2
gnrc_netif/lorawan: add ; after DEBUG()
2021-12-09 10:14:07 +01:00
Kevin "Tristate Tom" Weiss
285e1e61cf
Merge pull request #17346 from gschorcht/cpu/esp32/esp_i2c_sw_clear_bus
...
cpu/esp32: add clear bus during init to the I2C software implementation
2021-12-09 10:13:17 +01:00
Alexandre Abadie
5c99f951cd
Merge pull request #17315 from aabadie/pr/drivers/ztimer
...
drivers: migrate some drivers to ztimer
2021-12-09 09:49:47 +01:00
Alexandre Abadie
3a8a543a0c
drivers/mpu9x50: migrate to ztimer
2021-12-09 09:32:31 +01:00
Alexandre Abadie
f4474ed817
drivers/si70xx: migrate to ztimer
2021-12-09 09:32:31 +01:00
Francisco Molina
74fc764a41
drivers/sdcard_spi: convert to ztimer_usec
2021-12-09 08:02:06 +01:00
Francisco Molina
8a4e7bf7fe
drivers/sdcard_spi: uncrustify
2021-12-09 07:58:49 +01:00
benpicco
3bdb2e8053
Merge pull request #17356 from leandrolanzieri/pr/boards/slwstk6000b-based/kconfig_fix
...
boards/slwstk6000b-based: select common module in Kconfig
2021-12-08 22:30:16 +01:00
Benjamin Valentin
75a6892480
drivers/stmpe811: add ; after DEBUG()
2021-12-08 21:47:29 +01:00
Leandro Lanzieri
31e386bee1
boards/slwstk600b-based/kconfig: select common module
2021-12-08 21:22:50 +01:00
Benjamin Valentin
cbc8251874
gnrc_tcp: add ; after DEBUG()
2021-12-08 21:09:31 +01:00
benpicco
e8cbf1ea90
Merge pull request #16681 from benpicco/drivers/dose-collision
...
drivers/dose: make use of UART collision detection feature
2021-12-08 20:48:28 +01:00
Benjamin Valentin
1db8ab4f72
sys/net/gcoap: add ; after DEBUG()
2021-12-08 20:41:21 +01:00
Benjamin Valentin
8c5b898ed4
drivers/mtd_spi_nor: add ; after DEBUG()
2021-12-08 18:30:43 +01:00
Benjamin Valentin
55454e9301
cpu/gd32v: timer: add ; after DEBUG()
2021-12-08 18:30:24 +01:00
Benjamin Valentin
39e6e19c9c
drivers/nrf802154: add ; after DEBUG()
2021-12-08 18:28:49 +01:00
Benjamin Valentin
780e87325b
tests/driver_dose: use USEMODULE +=
2021-12-08 17:35:00 +01:00
Benjamin Valentin
9f63f80747
tests/periph_uart: add test for periph_uart_collision feature
2021-12-08 17:35:00 +01:00
Benjamin Valentin
0c5631bd52
drivers/dose: make use of periph_uart_collision feature
2021-12-08 17:35:00 +01:00
Benjamin Valentin
a51fb298dc
cpu/sam0_common: implement periph_uart_collision feature
2021-12-08 17:35:00 +01:00
Vitor Batista
921fdd0975
core/include/debug.h: minor debug fix
2021-12-08 17:09:17 +01:00
Karl Fessel
08ef57fbd0
Merge pull request #16126 from kfessel/p-mix-schedrr
...
sys/sched_rr: Add a round robin scheduler module
2021-12-08 16:01:57 +01:00
Benjamin Valentin
41a5b7ef7a
core: change return type of irq_is_in(), irq_is_enabled() to bool
...
This only cleans up the API, no change in behavior or users of the API
is expected.
2021-12-08 15:53:15 +01:00
Alexandre Abadie
2a1be13f17
drivers/ccs811: migrate to ztimer
2021-12-08 15:15:30 +01:00
Alexandre Abadie
1acdec389e
drivers/lsm6dsl: migrate to ztimer
2021-12-08 15:15:30 +01:00
Alexandre Abadie
40a1dcb35b
drivers/tsl2561: migrate to ztimer
2021-12-08 15:15:30 +01:00
Alexandre Abadie
aa65feab25
drivers/si114x: migrate to ztimer
2021-12-08 15:15:30 +01:00
Alexandre Abadie
0076eb83fc
drivers/stmpe811: migrate to ztimer
2021-12-08 15:15:30 +01:00
Leandro Lanzieri
15165bfdf7
Merge pull request #17299 from fjmolinas/pr_nrf52_boards_kconfig
...
boards: model nrf52 boards
2021-12-08 14:45:03 +01:00
b7e9d4fad2
cpu/atmega_common: also enlarge idle stack for ztimer64
2021-12-08 13:49:25 +01:00
Francisco Molina
766bfeace4
boards: model nrf52 boards
2021-12-08 13:25:29 +01:00
Francisco Molina
76b7069779
boards/thingy52: explicit lis2dh12 I2C selection
2021-12-08 13:25:29 +01:00
Francisco Molina
e25076e370
boards/common/particle-mesh: use nrf52/bootloader_nrfutil.dep.mk
2021-12-08 13:25:29 +01:00
Francisco Molina
7a1758d7f4
boards/particle: use FEATURES_REQUIRED for periph_uart_hw_fc
2021-12-08 13:25:29 +01:00
Francisco Molina
48777f5ba4
boards/common/nrf52xxxdk: align module name with dirname
2021-12-08 13:25:29 +01:00
Francisco Molina
69ac014664
drivers/*: add HAVE*
2021-12-08 13:25:26 +01:00
Francisco Molina
738ec239b1
drivers/saul/Kconfig: fix autoselection based on SAUL_DEFAULT
2021-12-08 13:25:26 +01:00
Francisco Molina
39cfa43262
drivers/apds99xx/Kconfig: fix multimodel selection
2021-12-08 13:25:26 +01:00
Francisco Molina
2dab9eeb32
drivers/lpsxxx: fix variant selection
2021-12-08 13:25:26 +01:00
Karl Fessel
2594032163
test/sys_sched_round_robin: use sleep instead of mutex
...
to avoid priority-inversion screwing up the test
2021-12-08 13:14:27 +01:00
Karl Fessel
64b783b9fa
examples/thread-duel: improve duelling threads example
2021-12-08 13:13:48 +01:00
Karl Fessel
fc3f5f562b
test/sys_sched_round_robin: add test for sys_sched_round_robin
...
with README.md
2021-12-08 13:13:48 +01:00
Francisco
b96f94bfb8
Merge pull request #17037 from MrKevinWeiss/pr/tests/turo
...
tests/turo_txt: Basic test for txt turo variant
2021-12-08 11:10:47 +01:00
Francisco Molina
cfdd941f9b
drivers/lis2dh12: explicit bus variant selection
2021-12-08 10:39:55 +01:00
Francisco Molina
0080a27636
sys/Kconfig.stdio: add stdio_rtt
2021-12-08 10:39:55 +01:00
86efedd786
tests/ztimer64_msg: initial commit
2021-12-08 10:33:37 +01:00
benpicco
536f7e23c8
Merge pull request #17276 from fjmolinas/pr_event_periodic_count
...
sys/include/event/periodic: add count
2021-12-08 00:09:57 +01:00
1830d8bd1c
tests/unittests: add ztimer64 unittests
...
Co-authored-by: Francisco Molina <femolina@uc.cl>
2021-12-07 23:57:56 +01:00
439fcbf392
sys/ztimer64: initial implementation
...
Co-authored-by: Francisco Molina <femolina@uc.cl>
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-12-07 23:57:56 +01:00
Francisco
97b4dd3a57
Merge pull request #17216 from bergzand/pr/ps_schedstatistics/ztimer
...
schedstatistics: Convert to ztimer
2021-12-07 20:22:58 +01:00
benpicco
d109627fa4
Merge pull request #17352 from benpicco/tests/ieee802154_hal-rng_fix
...
tests/ieee802154_hal: fix default RNG selection
2021-12-07 19:53:28 +01:00
Francisco Molina
b65ab31971
sys/ztimer/periodic: always set timer->last, no ztimer_now on last call
2021-12-07 19:42:45 +01:00
Francisco Molina
7d084a43ff
sys/include/event/periodic: add count
2021-12-07 19:42:32 +01:00
Benjamin Valentin
84135ede91
tests/ieee802154_hal: fix default RNG selection
2021-12-07 19:08:49 +01:00
José Alamos
ce8cda2fd8
Merge pull request #16932 from benpicco/socket_zep-hal
...
socket_zep: port to radio HAL
2021-12-07 18:24:33 +01:00
Francisco
07e7a6edce
Merge pull request #17336 from HendrikVE/pr/isrpipe_write
...
sys/isrpipe: add isrpipe_write
2021-12-07 17:10:44 +01:00
Francisco
9e5facf3b2
Merge pull request #17122 from bergzand/pr/stdio_rtt/ztimer
...
stdio_rtt: Convert to ztimer
2021-12-07 17:08:38 +01:00
Alexandre Abadie
d69ab922e4
Merge pull request #17347 from fjmolinas/pr_ucglib_sdl
...
tests/pkg_ucglib: add missing function declaration
2021-12-07 16:56:01 +01:00
Koen Zandberg
a6910f1660
tests/periph_spi: Convert to ztimer
2021-12-07 16:31:15 +01:00
Koen Zandberg
7015392170
tests/ps_schedstatistics: Generate load using ztimer
2021-12-07 16:31:15 +01:00
Koen Zandberg
4b95459483
schedstatistics: Convert to ztimer
2021-12-07 16:31:15 +01:00
Francisco
b5085db348
Merge pull request #17326 from benpicco/dist/tools/zep_dispatch-foren6
...
tools/zep_dispatch: document foren6 usage
2021-12-07 15:22:28 +01:00
Francisco
f618c9758a
Merge pull request #17018 from kaspar030/picolibc_stdio_strong_reference
...
sys/picolibc_syscalls_default: make stdin and stderr strong refs
2021-12-07 15:10:55 +01:00
Hendrik van Essen
774e765d59
sys/isrpipe: add isrpipe_write
2021-12-07 13:00:58 +01:00
Benjamin Valentin
78dae6b9e6
tools/zep_dispatch: document foren6 usage
2021-12-07 11:59:43 +01:00
Benjamin Valentin
5ef70dbee9
tools/zep_dispatch: replace sniffer instead of ignoring it
...
There can only be a single sniffer, but instead of ignoring any subsequent
sniffers, replace the existing one.
This avoids the silly behaviour that you can't attach the sniffer anymore
should you ever quit it.
2021-12-07 11:59:42 +01:00
Leandro Lanzieri
46765caa35
.murdock: add subset of kinetis boards to test Kconfig
2021-12-07 11:33:24 +01:00
Leandro Lanzieri
8337d6d762
boards/kinetis: model Kconfig
2021-12-07 11:33:24 +01:00
Leandro Lanzieri
421bc95cc6
cpu/kinetis: model Kconfig
2021-12-07 11:32:16 +01:00
Leandro Lanzieri
9bfa652f9e
makefiles/features_modules: don't generate init for kinetis periphs
2021-12-07 11:32:16 +01:00
Leandro Lanzieri
4aebed2d46
sys/constfs: model Kconfig
2021-12-07 11:32:16 +01:00
Leandro Lanzieri
109b336833
sys/devfs: model Kconfig
2021-12-07 11:32:16 +01:00
Leandro Lanzieri
e04169d2d6
drivers/tmp00x/kconfig: rework modelling
2021-12-07 11:32:16 +01:00
Leandro Lanzieri
2c35ab234e
drivers/tcs37727/kconfig: add hardware feature
2021-12-07 11:32:15 +01:00
Leandro Lanzieri
2d27b993d7
drivers/mpl3115a2/kconfig: add hardware feature
2021-12-07 11:32:15 +01:00
Leandro Lanzieri
a223847621
drivers/mma8x5x/kconfig: add hardware feature
2021-12-07 11:32:15 +01:00
Leandro Lanzieri
3e1ba5af2d
drivers/mag3110/kconfig: add hardware feature
2021-12-07 11:32:15 +01:00
Leandro Lanzieri
88e4c1e5f9
drivers/lis3dh/kconfig: add hardware feature
2021-12-07 11:32:15 +01:00
Leandro Lanzieri
ef71ff5199
drivers/hdc1000/kconfig: add hardware feature
2021-12-07 11:32:14 +01:00
Leandro Lanzieri
e2a78efb42
drivers/fxos8700/kconfig: add hardware feature
2021-12-07 11:32:14 +01:00
Francisco
b8dab00303
Merge pull request #17322 from aabadie/pr/tests/periph_adc_ztimer
...
tests/periph_adc: migrate to ztimer
2021-12-07 11:29:33 +01:00
benpicco
228ba83dc6
Merge pull request #17184 from benpicco/drivers/dose-standby_fix
...
drivers/dose: fix standby mode
2021-12-07 11:09:43 +01:00
495a48af0f
sys/ztimer: add ZTIMER_PERIPH_TIMER_OFFSET
2021-12-07 11:06:07 +01:00
Koen Zandberg
11ac994224
test/unittest: no auto ztimer_periph_rtt
2021-12-07 10:07:55 +01:00
Francisco Molina
3bea71affd
tests/event: fix ztimer_usec ifdef
2021-12-07 10:04:04 +01:00
Koen Zandberg
265185ffea
stdio_rtt: Add unit clarification to poll define
2021-12-07 10:04:04 +01:00
Koen Zandberg
aa17621279
stdio_rtt: Convert to ztimer
2021-12-07 10:03:54 +01:00
Alexandre Abadie
1e5f84ef71
tests/periph_adc: migrate to ztimer
2021-12-07 09:28:58 +01:00
Francisco
6749b71066
Merge pull request #17337 from HendrikVE/pr/tsrb_init
...
sys/tsrb: add tsrb_clear
2021-12-07 09:20:22 +01:00
Francisco
de7df7201a
Merge pull request #17309 from aabadie/pr/pkg/ztimer
...
pkg: migrate some packages to ztimer
2021-12-07 09:13:39 +01:00
Francisco Molina
d6ae3705c0
tests/pkg_ucglib: add missing function declaration
2021-12-07 09:13:31 +01:00
Francisco
c2341c934c
Merge pull request #17321 from aabadie/pr/cpu/qn908x_adc_ztimer
...
cpu/qn908x: migrate ADC periph to ztimer
2021-12-07 08:29:09 +01:00
Alexandre Abadie
3ca1a10217
Merge pull request #17319 from aabadie/pr/sys/trace_ztimer
...
sys/trace: migrate to ztimer
2021-12-06 23:07:04 +01:00
Gunar Schorcht
2cbd6d19cb
drivers/aip31068: remove dependeny of I2C implementation on ESP32
...
On the ESP32 it is often not possible with the I2C software implementation to communicate with an AIP31068 based LCD module. Therefore, the I2C hardware implementation is enabled when the AIP31068 driver is used, but it is more buggy than stable. The timing of the two implementations seems to be almost identical. The only difference is that the hardware implementation clears the bus before each access by sending 10 clock pulses on the SCL line while SDA is LOW. Using the same mechanism during I2C initialization for the software implementation solves the communication problem with the AIP31068. The special dependency on I2C hardware implementation for AIP31068 is removed therefore.
2021-12-06 22:02:30 +01:00
Gunar Schorcht
a66fef5bf5
cpu/esp_common: add bus clear for I2C on ESP32
...
On the ESP32 it is often not possible with the I2C software implementation to communicate with an AIP31068 based LCD module. Therefore, the I2C hardware implementation is enabled when the AIP31068 driver is used, but it is more buggy than stable. The timing of the two implementations seems to be almost identical. The only difference is that the hardware implementation clears the bus before each access by sending 10 clock pulses on the SCL line while SDA is LOW. Using the same mechanism during I2C initialization for the software implementation solves the communication problem with the AIP31068.
The same software implementation works reliably with the AIP31068 on the ESP8266.
2021-12-06 22:02:30 +01:00
Alexandre Abadie
6bb78e544e
Merge pull request #17345 from fjmolinas/pr_pkg_uwb_core_dot_h
...
pkg/uwb-core: fix wrong header include
2021-12-06 18:28:45 +01:00
Francisco Molina
6bf244250f
pkg/uwb-core: fix wrong header include
2021-12-06 17:20:43 +01:00
benpicco
1efc53b598
Merge pull request #17344 from haukepetersen/opt_nimble_statconnerrno
...
nimble/statconn: use errno return values
2021-12-06 14:11:23 +01:00
Karl Fessel
d7d1f7acad
test/unittest: init ztimer, work around ztimer_t uint64_t
2021-12-06 13:31:18 +01:00
Karl Fessel
0433548346
test/unittest: no auto ztimer_periph_rtt
2021-12-06 13:31:18 +01:00
Karl Fessel
1d4933a513
example/cord_epsim: include xtimer.h
2021-12-06 13:31:18 +01:00
Karl Fessel
9195a4f02b
net/gcoap: most ZITMER_USEC to ZTIMER_MSEC
2021-12-06 13:31:18 +01:00
Karl Fessel
f56eb9bb83
net/gcoap: port to ztimer_usec
2021-12-06 13:31:18 +01:00
Karl Fessel
2dd0cec4e9
net/gcoap: clean xtimer include from header
2021-12-06 13:31:18 +01:00
Hendrik van Essen
de4b32ef54
sys/tsrb: add tsrb_clear
2021-12-06 11:53:59 +01:00
Francisco
9c5391e262
Merge pull request #17334 from haukepetersen/fix_nimble_scanning
...
nimble: fix nimble_scanner regression bugs
2021-12-06 11:44:01 +01:00
Hauke Petersen
c7e11d5904
shell/sc_nimble_statconn: adapt to new return vals
2021-12-06 11:28:04 +01:00
Hauke Petersen
d36879c6bc
nimble/statconn: return errno values
2021-12-06 11:27:46 +01:00
Leandro Lanzieri
4f51174eb4
Merge pull request #17331 from MrKevinWeiss/pr/kconfig/samd5x
...
boards/adafruit-itsybitsy-m4: Model kconfig
2021-12-06 10:22:37 +01:00
Hauke Petersen
40579c6598
nimble/rpble: fix scanning
2021-12-06 09:48:32 +01:00
Hauke Petersen
ca98df258c
nimble/autoconn: fix scanning
2021-12-06 09:48:32 +01:00
Hauke Petersen
2f70f17962
nimble/scanner: fix scan duration for HS_FOREVER
2021-12-06 09:48:32 +01:00
MrKevinWeiss
d184043540
.murdock: Add adafruit-itsybitsy-m4 to kconfig test
2021-12-06 09:06:34 +01:00
MrKevinWeiss
b6e7ab3443
boards/adafruit-itsybitsy-m4: Model kconfig
2021-12-06 09:06:12 +01:00
MrKevinWeiss
05dd46936b
sys/usb_board_reset: Model kconfig
2021-12-06 09:05:37 +01:00
Alexandre Abadie
884f0e7a5b
Merge pull request #17343 from gschorcht/drivers/pcf857x_fix_pseudmoules_mk
...
makefiles: remove PCF857x pseudomodule definitions
2021-12-05 16:52:47 +01:00
Gunar Schorcht
912bb604ee
makefiles: remove PCF857x pseudomodule definition
...
The pseudomodules used by the PCF7857x driver are correctly defined by `Makfefile.include` of the driver. However, by mistake they were left in `makefiles/pseudomodules.mk` when the very old PR was rebased to the current master. That is, they were only leftovers that have been overseen after rebasing an squashing dozens of fixup commits.
2021-12-05 15:57:34 +01:00
Alexandre Abadie
7c34d69b84
cpu/qn908x: migrate ADC periph to ztimer
2021-12-04 17:49:57 +01:00
Alexandre Abadie
2e0c02b25d
Merge pull request #17340 from gschorcht/driver/fix_css811_read_status
...
driver/css811: fix read status
2021-12-04 17:41:02 +01:00
benpicco
0646862421
Merge pull request #10430 from gschorcht/drivers_pcf857x
...
drivers: add PCF857X I2C I/O expander driver
2021-12-04 16:57:01 +01:00
Gunar Schorcht
4d3cc8d2d2
tests: add PCF957X driver test application
2021-12-04 14:11:04 +01:00
Gunar Schorcht
a471d947f0
drivers/saul: add PCF857X driver
2021-12-04 14:11:04 +01:00
Gunar Schorcht
dae1da051b
makefiles: add PCF957X driver pseudomodules
2021-12-04 14:11:04 +01:00
Gunar Schorcht
7eb599e765
drivers: add PCF857X I/O expander driver
2021-12-04 14:11:04 +01:00
Gunar Schorcht
23724816be
tests/drivers_ccs811: small cleanups in documentation
2021-12-04 13:43:31 +01:00
Gunar Schorcht
6bdc590516
drivers/ccs811: small cleanups in documentation
2021-12-04 13:43:31 +01:00
Gunar Schorcht
27265095cd
drivers/ccs811: fix the data ready check
...
When the measurement results are read from the `ALG_RESULT_DATA` register set including the STATUS register, the `DATA_RDY` flag in the STATUS register is already cleared during reading. Therefore it is not possible to check this flag after the `ALG_RESULT_DATA` has been read. Therefore the function `ccs811_read_iaq` always returned `CCS811_ERROR_NO_NEW_DATA` although the data were valid either after checking for new data with the function `ccs811_data_ready` or after triggering the Data Ready interrupt.
2021-12-04 13:43:31 +01:00
Alexandre Abadie
9bbc620488
Merge pull request #17339 from benpicco/boards/iotlab-m3-mtd
...
boards/iotlab-m3: add MTD definition
2021-12-04 12:34:56 +01:00
Alexandre Abadie
2b91e896ec
.murdock: add tests/trace in Kconfig test apps
2021-12-04 12:03:14 +01:00
Alexandre Abadie
7cf93cb78b
tests/trace: add Kconfig
2021-12-04 12:03:14 +01:00
Alexandre Abadie
563e3efe8e
sys/trace: model in Kconfig
2021-12-04 12:03:14 +01:00
Alexandre Abadie
13a7aaf1d7
sys/trace: migrate to ztimer
2021-12-04 11:55:47 +01:00
benpicco
f9f95534f6
Merge pull request #17333 from benpicco/gnrc/rpl-auto_init
...
gnrc/rpl: auto-init RPL if there is only a single interface
2021-12-04 11:07:01 +01:00
529cc2d9ad
Merge pull request #17329 from miri64/ieee802154/fix/resv-src
...
ieee802154 / tests/unittests: fix all-asan reported errors
2021-12-04 02:27:27 +01:00
Benjamin Valentin
f2ebb5178a
boards/iotlab-m3: add MTD definition
...
The board comes with a 16 MiB SPI-NOR flash (N25Q128).
Provide the needed MTD definitions to support it.
2021-12-04 00:44:55 +01:00
Alexandre Abadie
8329112c45
Merge pull request #17088 from fjmolinas/pr_stmpe811_spi
...
drivers/stmpe811: add spi mode
2021-12-03 21:37:46 +01:00
benpicco
8be9fe73f6
Merge pull request #17297 from nmeum/pr/sock_dns_string.h
...
sock_dns: include string.h for strlen(3) function prototype
2021-12-03 19:45:36 +01:00
Francisco
3afa47d8f2
Merge pull request #14955 from maribu/cflags-cast-align
...
makefiles/cflags.inc.mk: Add -Wcast-align
2021-12-03 17:47:24 +01:00
Francisco Molina
e17fe0aee2
drivers/stmpe811: add spi mode
2021-12-03 17:12:03 +01:00
d94a53e593
Merge pull request #17239 from maribu/dist/tools/ci
...
dist/tools/ci: add can_fast_ci_run.py
2021-12-03 16:43:14 +01:00
Benjamin Valentin
11672ac5e4
gnrc/rpl: auto-init RPL if there is only a single interface
2021-12-03 15:34:17 +01:00
Marian Buschsieweke
63b54b5e84
makefiles/cflags.inc.mk: Add -Wcast-align
2021-12-03 14:22:17 +01:00
Marian Buschsieweke
e071098d26
cpu/stm32/periph: use uintptr_t instead uintptr_t *
2021-12-03 14:21:54 +01:00
Dylan Laduranty
9f7ff95d73
Merge pull request #17328 from leandrolanzieri/pr/boards/nrf9160dk/fix_leds
...
boards/nrf9160dk: fix LED macros
2021-12-03 12:57:41 +01:00
MrKevinWeiss
f0790ebca1
sys/kconfig: Update todo
2021-12-03 12:16:32 +01:00
Francisco
6475609440
Merge pull request #17323 from maribu/tests/malloc
...
tests/malloc: fix counting bugs
2021-12-03 12:01:49 +01:00
Francisco
5ba215f9c5
Merge pull request #16843 from haukepetersen/add_nimble_scannerext
...
nimble_scanner: rework to enable scanning BLE5 PHYs and extended advertisements
2021-12-03 12:00:10 +01:00
Martine Lenders
7631dd19fc
tests/unittests: fix test vectors
...
In the tests fixed in this commit, the header tells that there is a PAN
ID in the header, but no PAN ID was provided in the test vector. This
amends the test vector with the PAN ID (as done in other tests in this
test suite) and adds a check if the PAN was correct.
2021-12-03 11:32:29 +01:00
Martine Lenders
1eda5b80b9
ieee802154: fix reserved source address handling
...
This fixes the handling when the source address is neither short nor
long. For the reserved address mode no PAN behavior is defined, so
rather check, if the source address is in reserved mode before trying to
read the destination PAN.
2021-12-03 11:31:06 +01:00
Marian Buschsieweke
d571f150ec
sys/usb/usbus/dfu: use container_of()
2021-12-03 10:12:39 +01:00
Marian Buschsieweke
c67d86108e
pkg/libhydrogen: add -Wno-cast-align
2021-12-03 10:12:39 +01:00
Marian Buschsieweke
db41e3a58b
pkg/tensorflow-lite: add -Wno-cast-align
2021-12-03 10:12:38 +01:00
Marian Buschsieweke
b005e8fce6
pkg/flatbuffers: add -Wno-cast-align
2021-12-03 10:12:38 +01:00
Marian Buschsieweke
a6eaddb818
pkg/ucglib: silence -Wcast-align
2021-12-03 10:12:38 +01:00
Marian Buschsieweke
c50c5ea436
pkg/spifs: silence -Wcast-align
2021-12-03 10:12:38 +01:00
Marian Buschsieweke
724d4f6429
pkg/lvgl: add -Wno-cast-align
2021-12-03 10:12:38 +01:00
Marian Buschsieweke
3a07baf8e6
tests/pkg_utensor: fix alignment bug
2021-12-03 10:12:38 +01:00
Marian Buschsieweke
1193785a11
pkg/cn-cbor: add -Wno-cast-align
2021-12-03 10:12:37 +01:00
Marian Buschsieweke
d91c2e95fc
pkg/libb2: add -Wno-cast-align
2021-12-03 10:12:37 +01:00
Marian Buschsieweke
c20c0b98ad
pkg/qdsa: add -Wno-cast-align
2021-12-03 10:12:37 +01:00
Marian Buschsieweke
588126115c
tests/pkg_emlearn: fix compilation with -Wcast-align
2021-12-03 10:12:37 +01:00
Marian Buschsieweke
1e088dcdd7
pkg/elk: add -Wno-cast-align
2021-12-03 10:12:37 +01:00
Marian Buschsieweke
d16f5366da
pkg/cryptoauthlib: add -Wno-cast-align
...
Also split compiler flags into individual lines and sort them
alphabetically.
2021-12-03 10:12:37 +01:00
Marian Buschsieweke
afdaa2fed9
tests/pkg_openwsn_sock_udp: silence -Wcast-align
2021-12-03 10:12:36 +01:00
Marian Buschsieweke
c4346f7db1
pkg/openwsn: add -Wno-cast-align
...
Also sort flags alphabetically
2021-12-03 10:12:36 +01:00
Marian Buschsieweke
be42be9d15
sys/shell: use container_of in sc_gnrc_netif
2021-12-03 10:12:36 +01:00
Marian Buschsieweke
e4c627d252
tests/pkg_cmsis-nn: add -Wno-cast-align
...
This should be reverted and properly fixed.
2021-12-03 10:12:36 +01:00
Marian Buschsieweke
92d333a6b7
pkg/cmsis-nn: add -Wno-cast-align
2021-12-03 10:12:36 +01:00
Marian Buschsieweke
d41d2b4b22
pkg/wakaama: add -Wcast-align
2021-12-03 10:12:36 +01:00
Marian Buschsieweke
2cb06525d6
pkg/paho-mqtt: add -Wno-cast-align
2021-12-03 10:12:35 +01:00
Marian Buschsieweke
87c90322aa
pkg/uwb-dw1000: add -Wno-cast-align
...
Also sort disabled CFLAG warnings alphabetically.
2021-12-03 10:12:35 +01:00
Marian Buschsieweke
4e9121ef20
pkg/mynewt-core: add -Wno-cast-align
2021-12-03 10:12:35 +01:00
Marian Buschsieweke
c97a2119f3
drivers/mcp2515: use container_of()
...
This silences false positives of -Wcast-align
2021-12-03 10:12:35 +01:00
Marian Buschsieweke
509ced8abb
cpu/stm32/periph_can: use container_of()
...
This silences false positives of -Wcast-align
2021-12-03 10:12:35 +01:00
Marian Buschsieweke
d59d9c27d7
cpu/esp32/periph_can: use container_of()
...
This silences false positives of -Wcast-align
2021-12-03 10:12:35 +01:00
Marian Buschsieweke
7a6a7015cd
pkg/ndn-riot: add -Wno-cast-align
2021-12-03 10:12:34 +01:00
Marian Buschsieweke
1bbcb5ef6e
pkg/lua: add -Wno-cast-align
2021-12-03 10:12:34 +01:00
Marian Buschsieweke
196ba5e3ff
pkg/tlsf: add -Wno-cast-align
2021-12-03 10:12:34 +01:00
Marian Buschsieweke
4726e419c8
pkg/jerryscript: add -Wno-cast-align
2021-12-03 10:12:34 +01:00
Marian Buschsieweke
b433183e0e
cpu/kinetis: silence -Wcast-align
2021-12-03 10:12:34 +01:00
Marian Buschsieweke
b9c07f9622
core/sched: silence -Wcast-align
2021-12-03 10:12:34 +01:00
Marian Buschsieweke
b7269c39e8
sys/net/gnrc_pktbuf_static: fix compilation with -Wcast-align
...
Comparing the pointers as `uintptr_t` won't hurt but makes the compiler
happy.
2021-12-03 10:12:34 +01:00
Marian Buschsieweke
83f86d471b
pkg/fatfs/fatfs_vfs: silence -Wcast-align
...
The -Wcast-align warnings are false positives. Hence, document
the reason why unaligned accesses cannot occur and silence the
warning.
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
79103d3156
pkg/nimble: add -Wno-cast-align
...
Also brutally silence -Wcast-align warnings in OS_MBUF_PKTHDR()
and OS_MBUF_PKTHDR_TO_MBUF(), as those are used by nimble users.
It might make sense to check if the silenced / disabled warnings do
indeed point out unaligned memory accesses.
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
4ac6820860
pkg/wolfssl: add -Wno-cast-align
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
939e206d58
pkg/cmsis-dsp: Disable -Wcast-align
...
We cannot debug vendor code.
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
b1114b0674
sys/net/gnrc/netif: use container_of()
...
Using `container_of()` to translate from `netif_t *` to the containing
`gnrc_netif_t *` adds a bit of plausibility: It will fail when `gnrc_netif_t`
stops to contain `netif_t` as member. Additionally, this silences false
positives of -Wcast-align
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
581aa6b70b
sys/net/netif: allow const in netif_iter()
...
For consistency with `gnrc_netif_iter()`, add the `const` qualifier to the
parameter of `netif_iter()`. This allows calling it on `const` pointers without
having to cast `netif_t *`, which (apart of dropping the `const` qualifier)
disables a lot of type safety checks offered by the compiler.
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
be09ba67a6
pkg/ccn-lite: suppress -Wcast-align
2021-12-03 10:12:32 +01:00
Marian Buschsieweke
7cd9d615fa
cpu/stm32/periph: Use uintptr_t for periph addr
...
The peripheral register addresses are fixed, properly aligned addresses. Storing
them as uintptr_t makes live easier when casting them to helper structs, as no
intermediate cast to uintptr_t is needed to silence -Wcast-align.
2021-12-03 10:12:32 +01:00
Marian Buschsieweke
c9eb0ae3de
pkg/gecko_sdk: Disable -Wcast-align
2021-12-03 10:12:32 +01:00
Marian Buschsieweke
d31b1f4854
cpu/esp32: disable -Wcast-align for vendor code
2021-12-03 10:12:32 +01:00
Marian Buschsieweke
a6ceeec29f
tests/malloc: fix counting bug
...
There is a corner cases in which the counting of allocated memory
previously was wrong: When the allocation of the chunk succeeded but the
allocation of the next struct node fails. This was relatively unlikely
to happen, as the chunk size was much bigger than the memory required by
the struct node. But it happens on the ESP32 boards resulting in failing
nightlies. This fixes the issue.
2021-12-03 10:09:46 +01:00
Francisco
1ec9bfdec4
Merge pull request #17287 from leandrolanzieri/pr/sys/vfs/model_kconfig
...
sys/vfs: model Kconfig
2021-12-03 09:11:57 +01:00
Leandro Lanzieri
228c90f6e1
boards/nrf9160dk: fix LED macros
...
LED macros were inverted, so LEDn_ON would turn the LED off and LEDn_OFF
would turn it on.
2021-12-03 08:51:30 +01:00
Hauke Petersen
ad8ddf5748
nimble/rpble: adapt to scanner API changes
2021-12-03 08:43:31 +01:00
Hauke Petersen
650445812a
nimble/autoconn: adapt to scanner API changes
2021-12-03 08:43:14 +01:00
Leandro Lanzieri
d7bf363517
Merge pull request #17290 from fjmolinas/pr_kconfig_msp430
...
cpu/msp430: add Kconfig
2021-12-03 08:37:11 +01:00
Francisco
215fb49446
Merge pull request #17288 from leandrolanzieri/pr/drivers/ili9341/add_kconfig_feature
...
drivers/ili9341/Kconfig: add feature to indicate hardware
2021-12-03 00:46:29 +01:00
Hauke Petersen
d2c46e8a4b
nimble/npl: add hfxo_request wrappers
2021-12-02 23:31:33 +01:00
Hauke Petersen
b65c80c37b
nimble_netif: remove l2cap_ping from API
...
Upstream NimBLE removed the l2cap ping call from its L2CAP API,
as it was not standard conformant, so we can't use it for
nimble_netif...
2021-12-02 23:31:33 +01:00
Hauke Petersen
47d1f72a6c
shell/sc_nimble_netif: remove ping sub-command
2021-12-02 23:31:33 +01:00
Hauke Petersen
97780b3610
shell/sc_nimble_netif: adapt to scanner changes
2021-12-02 23:31:33 +01:00
Hauke Petersen
853395cd8e
tests: add test for NimBLE ext adv scanner config
2021-12-02 23:31:33 +01:00
Hauke Petersen
79eea21b77
pkg/nimble: version bump to include ext adv fixes
2021-12-02 23:31:33 +01:00
Hauke Petersen
4b3111ea3a
examples/nimble_scanner: adapt to scanner changes
2021-12-02 23:31:33 +01:00
Hauke Petersen
4520fc67a5
pkg/nimble/scanlist: adapt to scanner changes
2021-12-02 23:31:33 +01:00
Hauke Petersen
586ba70c5b
pkg/nimble/scanner: rework to enable BLE5 scanning
2021-12-02 23:31:32 +01:00
Hauke Petersen
34b009fcc1
pkg/nimble: add config options for BLE5 PHYs
2021-12-02 23:31:32 +01:00
Hauke Petersen
f5e7de2564
pkg/nimble: improve readablility in Makefile.dep
2021-12-02 23:31:32 +01:00
Hauke Petersen
00393e8214
kconfig: add ble_phy_x feature and mapping
2021-12-02 23:31:32 +01:00
Hauke Petersen
96163aa380
cpu/nrf52: add features for coded and 2Mbit PHYs
2021-12-02 23:31:32 +01:00
Alexandre Abadie
4d96c1f8e0
Merge pull request #17281 from dylad/pr/cpu/stm32/usbdev_fs_support
...
cpu/stm32: add new usbdev FS support
2021-12-02 21:57:49 +01:00
Marian Buschsieweke
d643bd8d2b
dist/tools/ci: add script to check if fast run is possible
2021-12-02 21:05:12 +01:00
Marian Buschsieweke
ec39b8e3aa
Merge pull request #17320 from aabadie/pr/cpu/stm32_ztimer
...
cpu/stm32: migrate adc and eth periphs to ztimer
2021-12-02 20:05:43 +01:00
benpicco
a5c5a5d284
Merge pull request #16879 from benpicco/tools/zep_dispatch-sniffer
...
tools/zep_dispatch: add support for foren6 sniffer
2021-12-02 19:10:46 +01:00
Francisco Molina
7ab05fa129
cpu/msp430: add Kconfig
2021-12-02 16:33:19 +01:00
Francisco
fea525f019
Merge pull request #17286 from leandrolanzieri/pr/sys/log/model_kconfig
...
sys/log: model Kconfig
2021-12-02 15:42:30 +01:00
Francisco
662aba4680
Merge pull request #17307 from leandrolanzieri/pr/sys/ztimer/kconfig/fix_compat_deps
...
sys/ztimer/kconfig: enable xtimer compat only with timer backend
2021-12-02 14:52:30 +01:00
dylad
83f4f4a4aa
boards/p-nucleo-wb55: update Kconfig with usbdev support
2021-12-02 14:26:03 +01:00
dylad
66451042eb
boards/p-nucleo-wb55: enable usbdev feature
2021-12-02 14:26:03 +01:00
dylad
f5cd2d1438
cpu/stm32: enable HSI48 when needed for L4/Wx
2021-12-02 14:26:03 +01:00
dylad
083e53406d
cpu/stm32: add support for a new USBDEV periph
...
Also rename the other usbdev driver to avoid conflicts
2021-12-02 14:26:03 +01:00
Alexandre Abadie
924c2fd6da
cpu/stm32/adc: migrate to ztimer
2021-12-02 13:44:03 +01:00
Alexandre Abadie
0c7d2a0f55
cpu/stm32/eth: migrate to ztimer
2021-12-02 12:22:41 +01:00
Alexandre Abadie
9cf22c699e
Merge pull request #17318 from fjmolinas/pr_event_periodic_dep
...
sys/Makefile.dep: fix event periodic dependency
2021-12-02 11:51:18 +01:00
Alexandre Abadie
b6cc07009f
Merge pull request #17284 from fjmolinas/pr_ztimer_no_periph_rtt
...
sys/ztimer: add 'ztimer_no_periph_rtt'
2021-12-02 11:02:24 +01:00
Dylan Laduranty
97f7b67b49
Merge pull request #17291 from fjmolinas/pr_nrf9160_kconfig
...
cpu/nrf9160: add Kconfig dependencies
2021-12-02 09:59:16 +01:00
Leandro Lanzieri
59130252de
tests/log_printfnoformat: add kconfig configuration
2021-12-02 09:41:46 +01:00
Leandro Lanzieri
983d2d2a9c
tests/log_color: add kconfig configuration
2021-12-02 09:41:46 +01:00
Leandro Lanzieri
2b811ba1b9
sys/log: model in Kconfig
2021-12-02 09:41:46 +01:00
Leandro Lanzieri
004da59672
sys/ztimer/kconfig: enable xtimer compat only with timer backend
...
This also moves the selection of MODULE_ZTIMER_PERIPH_TIMER from
MODULE_ZTIMER_USEC to the visible symbol ZTIMER_USEC.
2021-12-02 09:38:06 +01:00
Leandro Lanzieri
58b3c07423
Merge pull request #17317 from gschorcht/sys/benchmark/kconfig/cleanup_ztimer_dependency
...
sys/benchmark/kconfig: cleanup ztimer dependency
2021-12-02 08:57:08 +01:00
Francisco Molina
6c029bced6
sys/Makefile.dep: fix event periodic dependency
2021-12-02 07:59:14 +01:00
Francisco Molina
638373eec5
sys/ztimer: add ztimer_periph_rtt module conflict warning
2021-12-02 07:54:38 +01:00
Francisco Molina
84ba92a99b
tests: remove uneeded explicit inclusion of ztimer_periph_rt*
2021-12-02 07:54:38 +01:00
Francisco Molina
7c3360e4d6
sys/ztimer: add 'ztimer_no_periph_rtt'
...
This is a temporary fix for Issue #17060 . It allows to disable
auto inclusion of `ztimer_periph_rtt` in cases where another
module or application requires direct access.
Limitations:
- as ifeq are involved order of inclusion matters, therefore
these modules should be included early in the build at application
level and not in modules `Makefile.dep`
- this does not disallow direct inclusions of `ztimer_periph_rtt`,
since this only disables auto inclusion of these modules
This is a temporary solution since this is already possible with
Kconfig, but not in make.
2021-12-02 07:54:38 +01:00
Francisco Molina
4aaf8f12a0
cpu/nrf9160: add Kconfig dependencies
2021-12-02 07:51:21 +01:00
Gunar Schorcht
d13da373f8
tests/periph_gpio: cleanup ztimer dependency
...
Module benchmark already pulls in ztimer_usec. It is not necessary to pull it in again in application.
2021-12-02 07:04:06 +01:00
Gunar Schorcht
83e9fdce7c
sys/benchmark/kconfig: cleanup ztimer dependency
2021-12-02 07:00:01 +01:00
Gunar Schorcht
891a0aae17
cpu/esp8266: fix esp_sw_timer compile problem
2021-12-02 06:17:48 +01:00
Gunar Schorcht
7da115f9e6
cpu/esp32: fix esp_hw_counter compile problem
2021-12-02 06:17:48 +01:00
Gunar Schorcht
9bf85a951b
cpu/esp8266: use optional modules when compiled in CI
...
To test compilation of optional ESP8266 modules, these modules are enabled for the `esp8266-olimex-mod` board when compiled in CI. The use of some of these optional modules depend on the use of other modules.
2021-12-02 06:17:48 +01:00
Gunar Schorcht
b74c456595
cpu/esp32: use optional modules when compiled in CI
...
To test compilation of optional ESP32 modules, these modules are enabled for the `esp32-wrover-kit` borad when compiled in CI. The use of some of these optional modules depend on the use of other modules.
2021-12-02 06:17:48 +01:00
Gunar Schorcht
6123cde033
cpu/esp32: cleanup of pseudomodule definition
2021-12-02 06:17:48 +01:00
Dylan Laduranty
48e71b2d8c
Merge pull request #17302 from aabadie/pr/cpu/stm32_usb_l4
...
cpu/stm32: enable USB OTG FS on high end L4
2021-12-01 20:56:07 +01:00
Alexandre Abadie
24ff8f7ece
pkg/ucglib: migrate to ztimer
2021-12-01 17:54:55 +01:00
Alexandre Abadie
4f3a61c7dc
pkg/u8g2: migrate to ztimer
2021-12-01 17:54:55 +01:00
Alexandre Abadie
25d1e2daa2
pkg/driver_bme680: migrate to ztimer
2021-12-01 17:54:55 +01:00
Alexandre Abadie
bb5aaa38ad
pkg/cryptoauthlib: migrate to ztimer
2021-12-01 17:54:54 +01:00
Alexandre Abadie
8056eafffd
Merge pull request #17310 from aabadie/pr/board/stm32f746g-disco-doc
...
boards/stm32f746g-disco: extend documentation
2021-12-01 17:27:48 +01:00
Marian Buschsieweke
48fc63e0ae
Merge pull request #17294 from benpicco/doc-ping
...
doc: replace ping6 with ping
2021-12-01 17:00:09 +01:00
benpicco
7155fb82d0
Merge pull request #17194 from maribu/sys/net/fib
...
sys/net/fib: fix compilation with -Wcast-align
2021-12-01 16:29:00 +01:00
Alexandre Abadie
b6d1e09448
boards/stm32f746g-disco: extend documentation
2021-12-01 15:55:59 +01:00
Alexandre Abadie
52ce34a23f
Merge pull request #17306 from gschorcht/cpu/esp32/esp_wifi/fix_enterprise_compilation
...
cpu/esp32: fix esp_wifi_enterprise compilation problem
2021-12-01 15:31:40 +01:00
Alexandre Abadie
19018760a5
drivers/mhz19: migrate to ztimer
2021-12-01 14:32:41 +01:00
Francisco
7a8f840627
Merge pull request #17303 from aabadie/pr/drivers/remove_useless_xtimer_includes
...
drivers: remove some useless xtimer includes
2021-12-01 13:46:08 +01:00
Alexandre Abadie
a2cfbe95cc
Merge pull request #17279 from leandrolanzieri/pr/cpu/lpc23xx/model_kconfig
...
cpu/lpc23xx: model kconfig
2021-12-01 13:32:12 +01:00
Francisco
791c327127
Merge pull request #16970 from haukepetersen/opt_nimble_hostnetifpriooverride
...
nimble: allow to override host and netif thread priorities
2021-12-01 12:16:56 +01:00
Alexandre Abadie
1e2d53987b
drivers/si114x: remove useless xtimer include
2021-12-01 11:29:32 +01:00
Gunar Schorcht
09c0341442
cpu/esp32: fix esp_wifi_enterprise compilation problem
...
With the change from using archive files to using object files in PR #14754 , the module `esp_wifi_enterprise` was no longer compilable. The reason for this was that the file `bignum.c` was present in two different vendor sub-directories and created two identical object files, which then led to a symbol conflict when linking. This commit removes one of these identical files. The one that is used in all `esp_wifi` variants is kept, the one that is only used in `esp_wifi_enterprise` is dropped.
2021-12-01 11:25:57 +01:00
Leandro Lanzieri
eb4bbb86d3
tests/pkg_fatfs_vfs: adapt test to work with mtd_mci and SD card
2021-12-01 11:15:16 +01:00
Leandro Lanzieri
afb0f0f3ba
boards/{mcb2388,msba2}: use mtd_mci as default MTD
2021-12-01 11:15:14 +01:00
Alexandre Abadie
337b99002a
cpu/stm32/stmclk: enable 48MHz when usbdev is used
2021-12-01 10:15:19 +01:00
Alexandre Abadie
f07696e7a2
cpu/stm32/usbdev: poweron USB during initialization
2021-12-01 10:15:19 +01:00
Koen Zandberg
046394db91
p-l496g-cell02: add usbdev feature
2021-12-01 10:15:19 +01:00
Koen Zandberg
01eb420ad9
b-l475e-iot01a: add usbdev feature
2021-12-01 10:15:19 +01:00
Koen Zandberg
297724a381
stm32l476g-disco: add usbdev feature
2021-12-01 10:15:19 +01:00
Koen Zandberg
68a7bae0e8
nucleo-l4r5zi: add usbdev feature
2021-12-01 10:15:18 +01:00
Koen Zandberg
4a4091c46b
nucleo-l496zg: add usbdev feature
2021-12-01 10:15:18 +01:00
Leandro Lanzieri
a476e43568
.murdock: add subset of lpc23xx boards to test Kconfig
2021-12-01 10:15:01 +01:00
Leandro Lanzieri
d1c79eef42
boards/lpc23xx-based: model Kconfig
2021-12-01 10:14:35 +01:00
Leandro Lanzieri
7b35d6e0f0
drivers/sht1x: rework Kconfig
2021-12-01 10:14:35 +01:00
Leandro Lanzieri
371161548c
drivers/ltc4150/kconfig: add feature
2021-12-01 10:14:35 +01:00
Leandro Lanzieri
5054bdc786
cpu/lpc23xx: model Kconfig
2021-12-01 10:14:34 +01:00
Leandro Lanzieri
81d646ea03
cpu/arm7_common: model Kconfig
2021-12-01 10:14:32 +01:00
Alexandre Abadie
a079ec818b
drivers/sds011: remove useless xtimer include
2021-12-01 10:06:25 +01:00
Alexandre Abadie
c6bf3fc897
drivers/hmc5883l: remove useless xtimer include
2021-12-01 10:06:24 +01:00
Alexandre Abadie
51638c0ba1
drivers/hts221: remove useless xtimer include
2021-12-01 10:06:24 +01:00
Alexandre Abadie
f2dcaee7bd
drivers/grove_ledbar: remove useless xtimer include
2021-12-01 10:06:24 +01:00
Alexandre Abadie
9ad52ec7eb
drivers/feetech: remove useless xtimer include
2021-12-01 10:06:24 +01:00
Alexandre Abadie
06211f967b
drivers/dfplayer: remove useless xtimer include
2021-12-01 10:06:24 +01:00
Alexandre Abadie
03770e36e7
drivers/tsl2561: remove useless xtimer include
2021-12-01 10:06:24 +01:00
Alexandre Abadie
557e929bdb
drivers/vcnl40x0: remove useless xtimer include
2021-12-01 10:06:23 +01:00
Alexandre Abadie
e4ab484bcb
drivers/veml6070: remove useless xtimer include
2021-12-01 10:06:23 +01:00
Alexandre Abadie
86a388a280
drivers/ws281x: remove useless xtimer include
2021-12-01 10:06:23 +01:00
Martine Lenders
2cf0fca4e2
Merge pull request #17157 from maribu/sys/net/gnrc
...
sys/net/gnrc: fix compilation with -Wcast-align
2021-12-01 09:49:21 +01:00
d3666102db
Merge pull request #17283 from MrKevinWeiss/pr/fix/fstring/nightly
...
tests/*: Fix nightly failures due to f-string
2021-12-01 08:54:19 +01:00
benpicco
bab6f8960c
Merge pull request #17293 from aabadie/pr/cpu/stm32_cmsis_update
...
cpu/stm32: bump cmsis repositories to latest releases + extend CPU models kconfig
2021-12-01 08:23:39 +01:00
Alexandre Abadie
8136a265d8
Merge pull request #17296 from fjmolinas/pr_nanosleep_deprecate
...
sys/include/xtimer.h: deprecate nanosleep
2021-12-01 07:34:02 +01:00
Francisco
cb07027b39
Merge pull request #17277 from leandrolanzieri/pr/cpu/qn908x/model_kconfig
...
cpu/qn908x: model kconfig
2021-12-01 01:03:30 +01:00
Martine Lenders
76bda73235
Merge pull request #17261 from benpicco/shell/gnrc_icmpv6_echo-hang
...
shell/gnrc_icmpv6_echo: Fix hang with no msg queue
2021-12-01 00:16:30 +01:00
benpicco
207964265a
Merge pull request #17188 from benpicco/sys/random-musl_lcg-default
...
sys/random: default to musl LCG instead of TinyMT
2021-11-30 23:28:48 +01:00
Marian Buschsieweke
6907bdf140
sys/net/gnrc: make cppcheck happy
2021-11-30 11:20:20 +01:00
Marian Buschsieweke
50be359a96
sys/net/gnrc: fix compilation with -Wcast-align
...
Also ensure that the alignment requirement is indeed matched.
2021-11-30 11:20:17 +01:00
Francisco Molina
92a003fcdc
sys/include/xtimer.h: deprecate nanosleep
2021-11-30 10:31:22 +01:00
Francisco Molina
1ef9ca8a6f
drivers/soft_spi: remove nanosleep
2021-11-30 10:31:22 +01:00
Marian Buschsieweke
050b024b79
sys/net/fib: make CI happy
2021-11-30 10:27:46 +01:00
Marian Buschsieweke
9356a7d561
sys/net/fib: fix compilation with -Wcast-align
2021-11-30 10:16:39 +01:00
Francisco Molina
92c3b0ffb0
pkg/u8g2: remove nanosleep
2021-11-30 09:32:42 +01:00
Marian Buschsieweke
44ebc38cac
Merge pull request #17292 from kaspar030/base64url_tmp_buffer
...
tests/unittests/tests-base64: enlarge test buffer for worst case
2021-11-30 09:13:37 +01:00
Hauke Petersen
1a570caacc
nimble: allow to override netif thread priority
2021-11-30 08:21:27 +01:00
Hauke Petersen
d94b4af0d3
nimble: allow to override host thread priority
2021-11-30 08:21:27 +01:00
Gunar Schorcht
8794b357a1
Merge pull request #17289 from leandrolanzieri/pr/drivers/sx126x/kconfig/rework
...
drivers/sx126x/Kconfig: rework model selection
2021-11-30 06:01:01 +01:00
Sören Tempel
dc1b6d0436
sock_dns: include string.h for strlen(3) function prototype
...
Needed by the following code in `dns.c`:
e8cbc6da85/sys/net/application_layer/sock_dns/dns.c (L39-L41)
The include was probably wrongfully removed by accident in
e8cbc6da85c2f5c39f2f970e058ff7747bcd2ad2 (CC: @miri64).
2021-11-30 01:12:40 +01:00
benpicco
05b9c84369
Merge pull request #17255 from MrKevinWeiss/pr/kconfig/sam54
...
.murdock: Add same54-xpro to kconfig tests
2021-11-29 23:22:23 +01:00
Benjamin Valentin
c4ad82f5e6
pythonlib/riotctrl_shell: use ping instead of ping6
2021-11-29 17:39:12 +01:00
Benjamin Valentin
a23fa5253f
doc: replace ping6 with ping
2021-11-29 17:32:37 +01:00
benpicco
0d5d5a2e6e
Merge pull request #17285 from aabadie/pr/boards/stm32f746g-disco-usbdev
...
boards/stm32f746g-disco: add usbdev feature
2021-11-29 16:43:36 +01:00
Alexandre Abadie
6c60326612
cpu/stm32/kfconfigs: add new CPU from L4 family
2021-11-29 14:26:00 +01:00
Alexandre Abadie
a9106719c2
cpu/stm32/kfconfigs: add new CPUs from G4 family
2021-11-29 14:20:20 +01:00
Alexandre Abadie
658fa5d048
cpu/stm32/kfconfigs: add new CPUs from G0 family
2021-11-29 14:19:16 +01:00
Alexandre Abadie
16db45f77e
cpu/stm32: fix missing clock configuration defines for g0
2021-11-29 14:12:18 +01:00
Alexandre Abadie
d09f2e99e3
cpu/stm32/kfconfigs: add new CPUs from WB family
2021-11-29 13:57:20 +01:00
Leandro Lanzieri
ea247d2216
.murdock: add qn9080dk to test Kconfig
2021-11-29 13:56:44 +01:00
Leandro Lanzieri
14ef4e7aed
boards/qn908x: model Kconfig
2021-11-29 13:56:43 +01:00
Leandro Lanzieri
07871d072e
makefiles/features_modules: avoid init for qn908x periphs
2021-11-29 13:56:43 +01:00
Leandro Lanzieri
c5e9e08de8
cpu/qn908x: model Kconfig
2021-11-29 13:56:43 +01:00
Leandro Lanzieri
922fca3962
cpu/qn908x: add periph_flexcomm as SPI dependency
2021-11-29 13:56:43 +01:00
Alexandre Abadie
1746bf9e6f
cpu/stm32/dist: fix bug in gen_kconfig.py script
2021-11-29 13:52:26 +01:00
Benjamin Valentin
87e0032902
tests: default to musl LCG
2021-11-29 13:46:26 +01:00
a4575507c1
tests/unittests/tests-base64: enlarge test buffer for worst case
2021-11-29 13:24:40 +01:00
Alexandre Abadie
6a219d7cfa
cpu/stm32: bump cmsis versions to latest release
2021-11-29 13:22:59 +01:00
Benjamin Valentin
b5ea78ad47
core/msg: make msg_avail() return 0 on no queue
...
For the caller there should be no difference if there is no message
in the queue and if there can't be a message in the queue.
The current API works as one would expect if there is a message queue,
but once called from a thread that does not have a message queue
configured, code that does
while (msg_avail())
will end up in an infinite loop.
Remove this foot-gun from the API by making the return value of
msg_avail() independend of the availability of a message queue.
2021-11-29 12:04:16 +01:00
benpicco
c84a40abc4
Merge pull request #17275 from gschorcht/drivers/periph_i2c_acquire_void
...
drivers/periph_i2c: let i2c_acquire return void
2021-11-29 11:44:59 +01:00
Leandro Lanzieri
f979ec5812
drivers/sx126x/Kconfig: rework model selection
2021-11-29 10:45:10 +01:00
Leandro Lanzieri
4512a25427
drivers/ili9341/Kconfig: add feature to indicate hardware
2021-11-29 10:38:48 +01:00
Leandro Lanzieri
fe2d239a0c
tests/vfs_plus_stdio: add Kconfig configuration
2021-11-29 10:33:56 +01:00
Leandro Lanzieri
368ccdf3f8
sys/vfs: model Kconfig
2021-11-29 10:30:49 +01:00
Kevin "Tristate Tom" Weiss
7f649aa505
Merge pull request #17270 from leandrolanzieri/pr/boards/saml21/model_kconfig
...
boards/saml21-based: model kconfig
2021-11-29 09:57:15 +01:00
Alexandre Abadie
1f372ba0e6
boards/stm32f746g-disco: add usbdev feature
2021-11-29 09:35:43 +01:00
MrKevinWeiss
7c2311534c
tests/thread_pthread_barrier: Remove f string in test
...
This causes nightlies to fail as the HiL test runners don't have python3.6+
2021-11-29 09:29:06 +01:00
MrKevinWeiss
5a3f08e75b
tests/thread_float: Remove f string in test
...
This causes nightlies to fail as the HiL test runners don't have python3.6+
2021-11-29 09:28:35 +01:00
MrKevinWeiss
1b3374ca25
.murdock: Add same54-xpro to kconfig test
2021-11-29 09:12:30 +01:00
MrKevinWeiss
c26640e82d
boards/adafruit-itsybitsy-m4: Model mtd_spi_nor in kconfig
2021-11-29 09:12:29 +01:00
MrKevinWeiss
9d5e2b808c
boards/avr_rss2: Use at24mac for mtd in make
2021-11-29 09:12:29 +01:00
MrKevinWeiss
fba9cad987
periph/gpio: Model TAMPER_WAKE for kconfig
2021-11-29 09:12:28 +01:00
MrKevinWeiss
f98128f0fb
boards/same54-xpro: Kconfig mtd model
2021-11-29 09:12:28 +01:00
MrKevinWeiss
51f92fa816
drivers/periph_spi: Kconfig SPI_ON_QSPI model
2021-11-29 09:12:27 +01:00
MrKevinWeiss
f6b9637c82
boards/same54-xpro: Add SAUL_GPIO to kconfig
2021-11-29 09:12:23 +01:00
Gunar Schorcht
b7dda22d6e
tests: update to new I2C API
2021-11-29 06:35:25 +01:00
Gunar Schorcht
818c127513
sys/shell: update sc_i2c_scan to new I2C API
2021-11-29 06:35:25 +01:00
Gunar Schorcht
d00141b1d4
sys/arduino: update TwoWire class to new I2C API
2021-11-29 06:35:25 +01:00
Gunar Schorcht
312c31dce5
drivers: update to new I2C API
2021-11-29 06:35:25 +01:00
Gunar Schorcht
007e29ebb5
cpu/periph/i2c: update implementations to new I2C API
...
Make all `spi_acquire` implementations return `void` and add assertions to check for valid device identifier where missing.
2021-11-29 06:35:25 +01:00
Gunar Schorcht
3d93b2bcf0
drivers/periph/i2c: i2c_acquire() returns void
...
Since all implementations simply return 0 and most drivers do not check the return value, it is better to return void and use an assert to ensure that the given device identifier and given device parameters are correct.
2021-11-29 06:35:25 +01:00
7d4a2503c6
Merge pull request #17282 from benpicco/cppcheck-disable
...
static-tests: disable cppcheck
2021-11-29 00:28:19 +01:00
Benjamin Valentin
d9387fd82d
static-tests: disable cppcheck
...
cppcheck produces too many false positives to be useful.
This is likely due to a configuration error (not all header files are included?)
but until this is sorted out, disable the tool as it currently does more harm
than good.
2021-11-28 21:43:34 +01:00
Francisco
e8ac26dd67
Merge pull request #17259 from luojia65/pandora-board
...
boards: add board support for Alientek Pandora
2021-11-26 17:31:13 +01:00
Leandro Lanzieri
d962787043
Merge pull request #17274 from fjmolinas/pr_kconfig_nrf51
...
cpu/nrf51: model kconfig
2021-11-26 12:55:27 +01:00
Leandro Lanzieri
f3b3336d43
Merge pull request #17094 from MrKevinWeiss/pr/kconfig/showinfom
...
.murdock: Add modules/pkgs diff of make/kconfig
2021-11-26 11:19:37 +01:00
Leandro Lanzieri
d19e9c4b97
.murdock: add subset of saml21 boards to test Kconfig
2021-11-26 11:06:50 +01:00
Leandro Lanzieri
dbb57ca9c2
boards/saml21-based: model Kconfig
2021-11-26 11:06:50 +01:00
Leandro Lanzieri
e44ff31560
drivers/sx127x/kconfig: rework modelling
2021-11-26 11:06:50 +01:00
Leandro Lanzieri
398df91a99
sys/usb/usbus: model cdc acm stdio in Kconfig
2021-11-26 11:06:47 +01:00
luojia65
de32f3a8bb
boards/alientek-pandora: Add support for Alientek Pandora
...
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-11-26 01:49:25 -08:00
Francisco Molina
b69513a58f
tests/board_calliope-mini: merge into tests/microbit, add Kconfig
2021-11-26 10:39:40 +01:00
Francisco Molina
3a4f30ec80
drivers/periph_common: add periph_uart_hw_fc
2021-11-26 10:39:40 +01:00
Francisco Molina
272ebd73f4
drivers/bmx055: add saul_default Kconfig selection
2021-11-26 10:39:40 +01:00
Francisco Molina
2ec6a00734
tests/saul: add Kconfig
2021-11-26 10:39:40 +01:00
Francisco Molina
cfb53fef39
boards/common/nrf51: add initial Kconfig modeling
...
- add airfy-beacon
- add calliope-mini
- add microbit
- add nrf51dk
- add nrf51dongle
- add nrf6310
- add yunjia-nrf51822
2021-11-26 10:39:40 +01:00
MrKevinWeiss
ecb0b17910
makefiles/kconfig: Prevent pkg-prepare for info-packages
...
As the packages need to be downloaded before they can be included in menuconfig it becomes a bit pointless.
This also messes around with make info-packages, adding unwanted output
2021-11-26 09:26:25 +01:00
MrKevinWeiss
fb6b929cec
Makefile.include: Hide kconfig warning for CI
2021-11-26 09:26:25 +01:00
MrKevinWeiss
e191887450
.murdock: Add modules/pkgs diff of make/kconfig
2021-11-26 09:26:24 +01:00
bab0514af7
Merge pull request #17272 from fjmolinas/pr_ztimer_auto_init
...
sys/ztimer: remove double ztimer indirection
2021-11-26 08:51:32 +01:00
Francisco Molina
56b14d5e80
boards/calliope-mini: add nrf51 common dependencies
2021-11-26 08:48:23 +01:00
Francisco
16b881dcff
Merge pull request #17266 from fjmolinas/pr_tsrb_peek
...
sys/tsrb: add peek functions
2021-11-26 08:20:34 +01:00
Francisco
1fda5b3501
Merge pull request #17269 from fjmolinas/pr_result_output_sort
...
sys/test_utils/result_output: add sort to multiple output check
2021-11-26 08:20:09 +01:00
Gunar Schorcht
86e5374393
Merge pull request #17271 from yarrick/cppcheck
...
Fix some cppcheck errors
2021-11-26 08:14:55 +01:00
Dylan Laduranty
8138a3ed69
Merge pull request #17263 from leandrolanzieri/pr/boards/saml1x/model_kconfig
...
boards/common/saml1x: model kconfig
2021-11-25 17:34:37 +01:00
Martine Lenders
1b9146ec21
Merge pull request #17134 from miri64/cppcheck/enh/all-errors
...
cppcheck: output all annotations as error
2021-11-25 13:12:53 +01:00
Erik Ekman
7825512d18
cpu/riscv_common: Suppress cppcheck error
...
cpu/riscv_common/thread_arch.c:188: error (comparePointers): Subtracting pointers that point to different objects
2021-11-25 13:08:51 +01:00
Erik Ekman
b5f96d2040
cpu/cortexm_common: Suppress cppcheck errors
...
cpu/cortexm_common/thread_arch.c:262: error (comparePointers): Comparing pointers that point to different objects
cpu/cortexm_common/thread_arch.c:266: error (comparePointers): Subtracting pointers that point to different objects
2021-11-25 13:08:51 +01:00
Erik Ekman
46f599c1a9
tests/fault_handler: Suppress cppcheck errors
...
This code is supposed to hit the null pointer.
tests/fault_handler/main.c:43: error (nullPointer): Null pointer dereference: (volatile unsigned int*)(0x00000000u)
tests/fault_handler/main.c:44: error (nullPointer): Null pointer dereference: (volatile unsigned int*)(0x00000000u)
2021-11-25 13:08:51 +01:00
Erik Ekman
e5d60176e4
cpu/esp: Suppress cppcheck errors
...
cpu/esp_common/syscalls.c💯 error (memleak): Memory leak: mtx
cpu/esp_common/syscalls.c:131: error (memleak): Memory leak: rmtx
cpu/esp_common/syscalls.c:365: error (comparePointers): Subtracting pointers that point to different objects
cpu/esp_common/thread_arch.c:355: error (comparePointers): Comparing pointers that point to different objects
cpu/esp8266/startup.c:59: error (comparePointers): Subtracting pointers that point to different objects
2021-11-25 13:08:51 +01:00
Francisco Molina
dbdaa776e4
drivers/mma8x5x: add HAVE_MMA8X5X
2021-11-25 12:33:40 +01:00
Francisco Molina
bbda5fabfe
boards/*microbit*: move saul_gpio inclusion to common
2021-11-25 11:55:28 +01:00
Leandro Lanzieri
776875a94c
boards/common/saml1x: model Kconfig
2021-11-25 11:37:26 +01:00
Francisco Molina
d0758b5a7e
sys/ztimer: remove double ztimer indirection
...
To avoid confusions between `auto_init_ztimer` and `ztimer_auto_init`
rename `ztimer_auto_init` to `ztimer_init`.
This allows for similar handling as `saul_init_devs` and
`auto_init_devs`. Dependencies are therefore done against the USEMODULE
and not DEFAULT_MODULE or checking DISABLE_MODULE. For this, both
`ztimer_init` and `auto_init_ztimer` are added to DEFAULT_MODULE and
both need disabling if the user does not want that module in.
With this, the comment in Kconfig no longer applies.
2021-11-25 11:26:34 +01:00
Erik Ekman
c0004920ec
tests/malloc: Fix cppcheck error
...
tests/malloc/main.c:123: error (preprocessorErrorDirective): Bad suppression attribute '(should'.
You can write comments in the comment after a ; or //. Valid suppression attributes; symbolName=sym
2021-11-25 11:13:30 +01:00
Francisco Molina
dd47953178
sys/test_utils/result_output: add sort to multiple output check
2021-11-25 10:44:55 +01:00
Alexandre Abadie
0149a860c9
Merge pull request #17264 from fjmolinas/pr_pkg_uwb_core_fixes
...
pkg/uwb-core: multiple cleanups
2021-11-25 10:21:17 +01:00
Marian Buschsieweke
9535447e6f
core/kernel_defines.h: drop ALIGN_OF()
...
Since we moved to C11 now for all platforms, using `alignof()` provided
by `<stdalign.h>` has become the better option.
2021-11-25 09:20:22 +01:00
Erik Ekman
0de8bfaadc
Merge pull request #17175 from yarrick/dualstack
...
pkg/lwip: Don't control IPv6 via IPv4 flag
2021-11-25 00:59:07 +01:00
Francisco Molina
857f3c3c51
sys/tsrb: add peek functions
2021-11-24 17:54:44 +01:00
Alexandre Abadie
97758b8169
Merge pull request #17120 from aabadie/pr/pkg/openthread_ztimer
...
pkg/openthread: migrate to ztimer
2021-11-24 17:34:25 +01:00
Francisco Molina
c860fc99bf
pkg/uwb_core: configure and set autoack in init
2021-11-24 17:01:47 +01:00
Francisco Molina
1704c7e686
pkg/uwb-dw1000: enable frame filtering by default
2021-11-24 17:01:47 +01:00
Francisco Molina
d0e8d3aa24
pkg/uwb-core: allow using event-thread
2021-11-24 17:01:47 +01:00
Alexandre Abadie
c31dae311a
pkg/openthread: migrate to ztimer
2021-11-24 14:00:44 +01:00
Benjamin Valentin
be8a364bb4
shell/gnrc_icmpv6_echo: fix duplicate datalen check
2021-11-24 12:07:14 +01:00
Benjamin Valentin
7d1dd27756
shell/gnrc_icmpv6_echo: Fix hang with no msg queue
...
`msg_avail()` will return -1 if the thread has no message queue.
Casting this to unsigned will result in the `ping` command to try
receiving 4294967295 messages, which hangs the shell.
Drop the cast to `unsigned` and the loop behaves as intended.
But then it's still wrong: If new messages become available, they
would be ignored.
So change the `for` loop to a `while` loop. The index variable is
not used at all.
2021-11-24 12:00:14 +01:00
Marian Buschsieweke
45add49342
Merge pull request #17195 from maribu/tests/unittests
...
tests/unittests: fix unaligned access
2021-11-24 08:04:40 +01:00
benpicco
e46bd4b903
Merge pull request #17258 from benpicco/dist/tools/radvd-help
...
tools/radvd: fix help text
2021-11-23 20:38:35 +01:00
Benjamin Valentin
851906763b
tools/radvd: fix help text
...
radvd can be started on any interface, not just tap devices.
The help text is confusing.
2021-11-23 20:02:47 +01:00
Marian Buschsieweke
3bb5588b28
Merge pull request #17256 from maribu/sys/atomic_utils
...
sys/atomic_utils: add atomic_{load,store}_ptr()
2021-11-23 18:15:31 +01:00
Alexandre Abadie
6c8181aa7e
Merge pull request #17110 from aabadie/pr/drivers/dsp0401_ztimer
...
drivers/dsp0401: migrate to ztimer
2021-11-23 17:03:28 +01:00
Alexandre Abadie
f47db6f2c2
drivers/dsp0401: migrate to ztimer
2021-11-23 15:58:56 +01:00
Marian Buschsieweke
c360b13e60
tests/sys_atomic_utils_unittests: Extend test coverage
2021-11-23 14:24:15 +01:00
Marian Buschsieweke
78ded2dd08
sys/atomic_utils: add atomic_{load,store}_ptr()
2021-11-23 14:23:50 +01:00
Kevin "Tristate Tom" Weiss
0ddbe042eb
Merge pull request #17240 from leandrolanzieri/pr/boards/common/arduino-due/model_kconfig
...
boards/common/arduino due: model kconfig
2021-11-23 13:09:08 +01:00
Kevin "Tristate Tom" Weiss
e0b8238e79
Merge pull request #17106 from kaspar030/fmt_s32_dfp_tenmap_independance
...
sys/fmt: make fmt_s32_dfp() string based
2021-11-23 12:51:17 +01:00
Leandro Lanzieri
b279a7b091
.murdock: add arduino-due to Kconfig tests
2021-11-23 11:57:35 +01:00
Leandro Lanzieri
3de4b395df
boards/common/arduino-due: model Kconfig
2021-11-23 11:08:40 +01:00
Marian Buschsieweke
68e1d29e90
Merge pull request #16929 from leandrolanzieri/pr/cpu/avr8/model_kconfig
...
cpu/avr8: model kconfig
2021-11-23 09:24:03 +01:00
Alexandre Abadie
6cd9f84cbb
Merge pull request #16948 from aabadie/pr/pkg/openthread_20200818
...
pkg/openthread: bump version to 20200818 + adapt to use CMake to configure the build
2021-11-23 08:17:55 +01:00
Francisco
075677e883
Merge pull request #17251 from aabadie/pr/tools/openocd_verify_fix
...
tools/openocd: check OPENOCD_VERIFY after IMAGE_OFFSET is computed
2021-11-22 21:50:48 +01:00
Alexandre Abadie
4b72bc0ddb
pkg/doc: update due to openthread package out-of-source build
2021-11-22 15:22:27 +01:00
Alexandre Abadie
e05f8967d9
examples/openthread: adapt to update in package support
2021-11-22 15:22:27 +01:00
Alexandre Abadie
421508dc64
pkg/openthread: bump to 20200818
2021-11-22 15:22:27 +01:00
62772ab3f9
sys/fmt: add some documentation about out
2021-11-22 14:11:02 +01:00
2902e31ff8
tests/unittests/tests-fmt: add large scale test for fmt_s32_dfp()
2021-11-22 14:11:02 +01:00
61c62c2ed6
sys/fmt: make fmt_s32_dfp() string based
2021-11-22 14:11:01 +01:00
Kevin "Tristate Tom" Weiss
770fe2feb7
Merge pull request #17237 from leandrolanzieri/pr/boards/ek-lm4f120xl/model_kconfig
...
boards/ek-lm4f120xl: model kconfig
2021-11-22 13:18:11 +01:00
Alexandre Abadie
68bfd8e257
tools/openocd: check OPENOCD_VERIFY after IMAGE_OFFSET is computed
2021-11-22 13:03:32 +01:00
Leandro Lanzieri
43c567ab53
sys/shell/commands/sc_dfplayer: make cppcheck happy
2021-11-22 12:25:58 +01:00
Leandro Lanzieri
5abe0032cc
pkg/nanocbor/kconfig: remove architecture dependency
2021-11-22 12:25:58 +01:00
Leandro Lanzieri
27a62efb63
sys/arduino/kconfig: do not imply arduino_pwm
2021-11-22 12:25:58 +01:00
Leandro Lanzieri
37b0e30a71
pkg/qdsa: use pseudomodules to select implementation
2021-11-22 12:25:58 +01:00
Leandro Lanzieri
6769101c34
sys/arduino: add pseudomodule for the arduino_pwm feature
2021-11-22 12:25:58 +01:00
Leandro Lanzieri
584052ec6e
pkg/libfixmath: add compile options to Kconfig
...
The option list has been taken from
https://code.google.com/archive/p/libfixmath/wikis/CompilationOptions.wiki .
The defaults are the current ones.
2021-11-22 12:25:57 +01:00
Leandro Lanzieri
7036388769
drivers/periph_common: add RTC ms module to Kconfig
2021-11-22 12:25:57 +01:00
Leandro Lanzieri
3bdbd67b70
tests/driver_ili9341: add NO_RIOT_IMAGE option to Kconfig
2021-11-22 12:25:57 +01:00
Leandro Lanzieri
e525e23143
drivers/dfplayer: add no_strerror option to Kconfig
2021-11-22 12:25:57 +01:00
Leandro Lanzieri
92b7e5ea53
cpu/atxmega: fix dependency
2021-11-22 12:25:57 +01:00
Leandro Lanzieri
845681448d
cpu/atmega_common: move PCINT documentation from boards
2021-11-22 12:25:57 +01:00
Leandro Lanzieri
3fc6d4247d
.murdock: add subset of avr-boards for Kconfig test
2021-11-22 12:25:55 +01:00
Leandro Lanzieri
0a19e58fcb
driver/at30tse75x/Kconfig: enable as default sensor when present
2021-11-22 12:25:31 +01:00
Leandro Lanzieri
e6789198f8
drivers/at24mac/Kconfig: enable as EUI provider when present
2021-11-22 12:25:31 +01:00
Leandro Lanzieri
7c5630032f
drivers/bmx280: refactor Kconfig model
2021-11-22 12:25:31 +01:00
Leandro Lanzieri
347fb256d5
drivers/at24mac: add Kconfig feature
2021-11-22 12:25:31 +01:00
Leandro Lanzieri
f684ecfd5c
boards: model avr-based boards Kconfig
...
Modelled boards:
arduino-duemilanove
arduino-leonardo
arduino-mega2560
arduino-nano
arduino-uno
atmega1284p
atmega256rfr2-xpro
atmega328p-xplained-mini
atmega328p
atxmega-a1-xplained
atxmega-a1u-xpro
atxmega-a3bu-xplained
avr-rss2
derfmega128
derfmega256
mega-xplained
microduino-corerf
zigduino
2021-11-22 12:25:30 +01:00
Leandro Lanzieri
e5164ca970
boards/common/{atmega,atxmega,arduino-atmega}: model Kconfig
2021-11-22 12:25:30 +01:00
Leandro Lanzieri
538327805b
sys/{x,z}timer: add file to use ztimer when xtimer is present
...
This introduces a Kconfig file for boards that cannot reach a timer frequency
compatible with xtimer. For those boards, in the case xtimer is pulled,
ztimer is used instead (as backend) with a compatibility module.
2021-11-22 12:25:30 +01:00
Leandro Lanzieri
39ebbfd460
makefile.include: add RIOTKCONFIG
2021-11-22 12:25:30 +01:00
Leandro Lanzieri
3854db364a
sys/stdio/kconfig: associate symbol to implementation
2021-11-22 12:25:30 +01:00
Leandro Lanzieri
45b6116c4c
sys/cxx_ctor_guards: model Kconfig
2021-11-22 12:25:30 +01:00
Leandro Lanzieri
659d3f93de
cpu: model atmega-based CPUs Kconfig
2021-11-22 12:25:30 +01:00
Leandro Lanzieri
a37f59b109
cpu/atxmega: model Kconfig
2021-11-22 12:25:29 +01:00
Leandro Lanzieri
b8e2e3ce66
cpu/atmega_common: model Kconfig
2021-11-22 12:25:29 +01:00
Leandro Lanzieri
b534f26e17
cpu/avr8_common: model Kconfig
2021-11-22 12:25:29 +01:00
Kevin "Tristate Tom" Weiss
4ffeb65213
Merge pull request #17238 from leandrolanzieri/pr/cpu/lpc1768/model_kconfig
...
cpu/lpc1768: model kconfig
2021-11-22 10:46:54 +01:00
638b86e749
Merge pull request #17243 from benpicco/random_cmd
...
sys/shell: hide random commands behind random_cmd pseudo-module
2021-11-22 10:24:25 +01:00
MrKevinWeiss
4337f97662
tests/turo_txt: Add turo_txt tests
2021-11-22 09:30:01 +01:00
Leandro Lanzieri
21f87efaaf
boards/ek-lm4f120xl: model Kconfig
2021-11-22 09:08:53 +01:00
Leandro Lanzieri
7eaa15ca8c
.murdock: add subset of lpc1768 boards to test Kconfig
2021-11-22 09:07:45 +01:00
Leandro Lanzieri
3c4792441a
boards/lpc1768: model Kconfig
2021-11-22 09:07:45 +01:00
Leandro Lanzieri
96f31ec39b
cpu/lpc1768: add Kconfig configuration
2021-11-22 09:07:42 +01:00
Benjamin Valentin
e6a06501b8
sys/riotboot: serial: add bootloader LED
2021-11-21 23:09:24 +01:00
Benjamin Valentin
f53a398bfb
riotboot: serial: enter bootloader mode by pin
2021-11-21 23:09:22 +01:00
Benjamin Valentin
4be2829537
makefiles: riotboot_serial: default to STDIO BAUD for PROG_BAUD
...
If $(PROG_BAUD) is not set, default to the boards $(BAUD).
2021-11-21 23:08:31 +01:00
Benjamin Valentin
e17cce41b4
bootloaders/riotboot_dfu: move bootloader_selection.h to common place
2021-11-21 23:08:31 +01:00
Jean Pierre Dudey
7ab6729b04
Merge pull request #17236 from leandrolanzieri/pr/cpu/cc26xx_cc13xx/model_kconfig
...
cpu/{cc26xx, cc13xx}: model kconfig
2021-11-21 17:45:57 +01:00
Alexandre Abadie
a8ad67358f
Merge pull request #17244 from fjmolinas/pr_lorae5_dev_doc_again
...
boards/lora-e5-dev: extended documentation
2021-11-21 15:47:33 +01:00
benpicco
2d882c3521
Merge pull request #16737 from JKRhb/uncrustify
...
treewide: Address uncrustify suggestions
2021-11-21 15:42:05 +01:00
Francisco Molina
d5fed21277
boards/lora-e5-dev: extended documentation
2021-11-21 15:22:04 +01:00
Marian Buschsieweke
7a2ebfbde6
Merge pull request #16934 from wosym/dht11fix
...
drivers/dht: correct interpreting raw values
2021-11-20 16:33:58 +01:00
Wouter Symons
7476891223
update DHT CODEOWNERS
2021-11-20 14:55:04 +01:00
Wouter Symons
5055d0993e
drivers/dht: correct interpreting raw values
2021-11-20 14:55:02 +01:00
Dylan Laduranty
69dc79efe8
Merge pull request #17245 from Ollrogge/pr/usbus/fix_usb_hid
...
usbus/hid: fix ep_out readyness
2021-11-20 11:24:25 +01:00
benpicco
6439d7d5de
Merge pull request #16926 from benpicco/cpu/sam0_common-dma_treshold
...
cpu/sam0_common: SPI: don't perform DMA transfer for small buffers
2021-11-20 00:27:45 +01:00
Ollrogge
6f9a21503b
usbus/hid: fix ep_out readyness
2021-11-19 22:20:12 +01:00
benpicco
9e8d718a43
Merge pull request #17178 from aabadie/pr/pkg/lz4
...
pkg/lz4: add support for LZ4 compression/decompression
2021-11-19 17:48:57 +01:00
Benjamin Valentin
669104d841
cpu/sam0_common: SPI: don't perform DMA transfer for small buffers
...
Setting up a DMA transfer can take longer than sending out a buffer
byte by byte if the buffer is small.
DMA only shows advantages for large buffers, using it for every transfer
will cause a net slowdown.
Since we did not come up with a good way to determine the treshold based
on the SPI frequency, just use a fixed buffer for now so that DMA can be
used without slowing things down overall.
2021-11-19 17:22:51 +01:00
Benjamin Valentin
f362a19eed
sys/shell: hide random commands behind random_cmd pseudo-module
...
These commands cost 248 bytes of memory, we don't want to always
include them when the `random` module is selected.
2021-11-19 16:53:46 +01:00
benpicco
e0b3cba571
Merge pull request #17226 from dylad/pr/boards/nrf9160dk/add_riotboot_support
...
boards/nrf9160dk: add riotboot support
2021-11-19 15:45:05 +01:00
4c03d10f7b
Merge pull request #17234 from fjmolinas/pr_cocci_ztimer_fixes
...
sys/ztimer/xtimer2ztimer.cocci: extend and fix api replacements
2021-11-19 15:18:07 +01:00
Alexandre Abadie
2226dc6e4d
Merge pull request #17212 from aabadie/pr/cpu/stm32_cmsis_build
...
cpu/stm32: clone cmsis header in build/stm32
2021-11-19 15:16:42 +01:00
Alexandre Abadie
bc1e826c01
Merge pull request #17214 from luisan00/stm32f469i-disco
...
boards/stm32f469i-disco: Add DAC
2021-11-19 14:55:41 +01:00
Alexandre Abadie
06530c4297
cpu/stm32: clone cmsis header in build/stm32
2021-11-19 13:24:57 +01:00
luisan00
ea2e1393b8
boards/stm32f469i-disco: Add DAC
2021-11-19 13:18:22 +01:00
Alexandre Abadie
0ee3a00f62
tests: add test application for lz4 package
2021-11-19 11:39:37 +01:00
Leandro Lanzieri
279b0aacc3
.murdock: add subset of cc26xx and cc13xx boards to test Kconfig
2021-11-19 10:53:59 +01:00
Leandro Lanzieri
667e5d38ea
boards/cc26xx_cc13xx: model Kconfig
2021-11-19 10:52:41 +01:00
Leandro Lanzieri
05224def47
cpu/cc26x2_cc13x2: model Kconfig
2021-11-19 10:52:23 +01:00
Leandro Lanzieri
7237002ead
cpu/cc26x0_cc13x0: model Kconfig
2021-11-19 10:52:08 +01:00
Leandro Lanzieri
c68fce0850
cpu/cc26xx_cc13xx: model Kconfig
2021-11-19 10:50:50 +01:00
Alexandre Abadie
03ea09b699
pkg: add support for lz4 fast compression library
2021-11-19 09:59:27 +01:00
Jan Romann
9f4e839ceb
sys/riotboot: uncrustify
2021-11-19 09:54:17 +01:00
Jan Romann
3056b89252
cpu/riscv_common: uncrustify
2021-11-19 00:20:12 +01:00
Dylan Laduranty
fe76b3f64d
boards/nrf9160: enable RIOTBOOT support in Kconfig
2021-11-18 23:05:42 +01:00
Dylan Laduranty
25b168c34f
boards/nrf9160dk: add riotboot to FEATURES_PROVIDED
2021-11-18 23:05:42 +01:00
benpicco
09e0692a85
Merge pull request #17201 from bergzand/pr/nrf5x/periph_qdec
...
nrf5x_common: Add qdec peripheral implementation
2021-11-18 22:30:58 +01:00
benpicco
2ffbcecbe1
Merge pull request #17225 from dylad/pr/cpu/nrf91/add_periph_flashpage_support
...
cpu/nrf9160: add periph_flashpage support
2021-11-18 22:10:18 +01:00
16c9236a65
Merge pull request #17231 from kfessel/p-ztimer-static-head-update
...
sys/ztimer: make internal head update static
2021-11-18 21:36:08 +01:00
Francisco Molina
e6a79c8729
sys/ztimer/xtimer2ztimer.cocci: extend and fix api replacements
2021-11-18 18:27:23 +01:00
benpicco
24aa7eb6bf
Merge pull request #17191 from benpicco/drivers/periph-byte_type
...
drivers/periph: use uint_fast8_t as default type
2021-11-18 17:21:55 +01:00
Jan Romann
bd7b277f7e
cpu/fe310: uncrustify
2021-11-18 15:44:17 +01:00
Jan Romann
3c86b74dc6
core: uncrustify
2021-11-18 15:44:00 +01:00
Alexandre Abadie
73c286b472
Merge pull request #17179 from aabadie/pr/pkg/uzlib
...
pkg/uzlib: add support for zlib compression/decompression
2021-11-18 14:51:03 +01:00
Koen Zandberg
f123341057
tests/periph_qdec: Add modded qdec-enabled nrf52840dk variant
2021-11-18 14:23:30 +01:00
Leandro Lanzieri
c5f9d50a57
socket_zep: add Kconfig
2021-11-18 14:17:29 +01:00
Karl Fessel
eb11e463df
sys/ztimer: make internal head update static
2021-11-18 13:45:49 +01:00
Benjamin Valentin
2a12820dc6
tests/gnrc_netif_ieee802154: explicitely use netdev
2021-11-18 11:51:14 +01:00
Benjamin Valentin
82e3aefebf
tests/ieee802154_submac: add support for socket_zep
2021-11-18 11:51:14 +01:00
Benjamin Valentin
17fdf61cbe
ieee802154/submac: handle write of NULL buffer
...
tests/socket_zep tests for this condition, so we better handle it
gracefully instead of crashing.
2021-11-18 11:51:14 +01:00
Benjamin Valentin
558010e8eb
tests/ieee802154_hal: add support for socket_zep
2021-11-18 11:51:14 +01:00
Benjamin Valentin
fa2d9bde56
socket_zep: port to radio HAL
2021-11-18 11:51:14 +01:00
Leandro Lanzieri
b9c743cde3
Merge pull request #17224 from leandrolanzieri/pr/makefiles/use_arch_core_features_first
...
makefile.dep: require `arch_%` `cpu_core_%` features first
2021-11-18 11:33:01 +01:00
Francisco
d573401319
Merge pull request #16912 from leandrolanzieri/pr/cpu/efm32/model_kconfig
...
cpu/efm32: model kconfig
2021-11-18 11:02:29 +01:00
chrysn
69af236d50
Merge pull request #17217 from maribu/core/bitarithm
...
core/bitarthm: suppress false positives
2021-11-18 10:31:21 +01:00
Benjamin Valentin
1768e93710
drivers/periph: use uint_fast8_t as default type
...
The default driver type is just an index into a device array defined
by the board.
If a platform wants to encode additional information in the device type,
it can define a custom type.
This means we can just set the default type to whatever fits the target
CPU best.
On ARM this will still be a 32 bit word, but on AVR it will by a 8 bit byte.
2021-11-18 10:29:50 +01:00
Benjamin Valentin
3dac8a5493
tests/periph_qdec: fix periph type cast
2021-11-18 10:29:50 +01:00
Benjamin Valentin
55f2eda956
tests/periph_uart: fix periph type cast
2021-11-18 10:14:51 +01:00
Benjamin Valentin
4664e63ad4
drivers/soft_uart: fix type usage
2021-11-18 10:14:51 +01:00
Benjamin Valentin
3d8e0d7f43
cpu/esp32: fix cast to periph type
2021-11-18 10:14:51 +01:00
Benjamin Valentin
eabc9a8042
cpu/nrf5x_common: fix cast to periph type
2021-11-18 10:14:51 +01:00
Benjamin Valentin
90a6d90df8
cpu/gd32v: uart: fix function parameter
2021-11-18 10:14:51 +01:00
Francisco
691601fbe2
Merge pull request #17087 from gschorcht/cpu/esp32/fix_code_placement
...
cpu/esp32: place freertos and periph in IRAM
2021-11-18 10:05:25 +01:00
Marian Buschsieweke
d7a0ea1eec
core/bitarthm: suppress false positives
...
Co-authored-by: chrysn <chrysn@fsfe.org>
2021-11-18 09:45:22 +01:00
Koen Zandberg
8159f73b1f
Merge pull request #17230 from dylad/pr/usbus/hid/fix_ep_out_readyness
...
usbus/hid: fix ep_out readyness
2021-11-18 09:18:28 +01:00
Leandro Lanzieri
6a1340da26
drivers/si70xx/kconfig: rework
2021-11-18 09:03:07 +01:00
Leandro Lanzieri
a8d679062a
drivers/ccs811/kconfig: add feature symbol
2021-11-18 09:03:07 +01:00
Leandro Lanzieri
ab84ec5134
drivers/bmx280: rework Kconfig model
2021-11-18 09:03:07 +01:00
Leandro Lanzieri
07ce49e25e
.murdock: add efm32-base boards for Kconfig test
2021-11-18 09:03:07 +01:00
Leandro Lanzieri
2b20e66bc5
pkg/cmsis-dsp: model Kconfig
2021-11-18 09:03:07 +01:00
Leandro Lanzieri
0a3f603cf1
pkg/cmsis-dsp: use lowercase modules
2021-11-18 09:03:06 +01:00
Leandro Lanzieri
f1902b30ff
pkg/gecko_sdk: model Kconfig
2021-11-18 09:03:06 +01:00
Leandro Lanzieri
0e62d83edb
boards: model efm32 boards Kconfig
2021-11-18 09:03:06 +01:00
Leandro Lanzieri
805a77b13a
cpu/efm32: model Kconfig
2021-11-18 09:03:06 +01:00
Leandro Lanzieri
0764d61921
tests/pkg_arduino_sdi_12: add some insufficient memory boards
2021-11-18 09:00:35 +01:00
Leandro Lanzieri
c5b29916eb
makefile.dep: require arch_ cpu_core_ features first
2021-11-18 09:00:35 +01:00
Leandro Lanzieri
44e7e82fad
Merge pull request #17227 from leandrolanzieri/pr/cpu/atmega1281/fix_pcint
...
cpu/atmega1281: fix pcint
2021-11-18 08:55:30 +01:00
Gunar Schorcht
be1532d935
Merge pull request #17221 from maribu/cpu/esp32
...
cpu/esp32: make CI happy
2021-11-18 06:45:30 +01:00
Alexandre Abadie
31c531c904
Merge pull request #17218 from maribu/cpu/arm7_common
...
cpu/arm7_common: suppress false positives of cppcheck
2021-11-18 06:30:46 +01:00
dylad
f0a8bf9239
usbus/hid: fix ep_out readyness
2021-11-17 20:46:41 +01:00
Dylan Laduranty
6671aada97
cpu/nrf9160: add FLASHPAGE* feature to Kconfig
2021-11-17 17:25:36 +01:00
Martine Lenders
d4f7f9182b
gnrc_pktbuf_cmd: add od dependency with gnrc_pktbuf_static
2021-11-17 15:52:44 +01:00
Martine Lenders
35b7ea44ac
tests/gnrc_udp: remove od from used modules
...
The test does not use the module, it is merely used as a dependency for
`gnrc_pktbuf_cmd`.
2021-11-17 15:51:48 +01:00
Alexandre Abadie
1010c49b4e
.murdock: add pkg_uzlib to TEST_KCONFIG list
2021-11-17 15:37:12 +01:00
Alexandre Abadie
c3b4150cdb
tests: add test for the uzlib package
2021-11-17 15:37:12 +01:00
Alexandre Abadie
9123095194
pkg: add uzlib package
2021-11-17 15:31:17 +01:00
Leandro Lanzieri
1035620b38
cpu/atmega1281: fix pcint
2021-11-17 15:05:25 +01:00
Karl Fessel
5a84a2513f
Merge pull request #16958 from fjmolinas/wip/event_timeout_ztimer_no_usec
...
event/timeout: remove forced ZTIMER_USEC dependency
by separating event_timeout_ztimer interface into its own pseudo module
2021-11-17 14:25:59 +01:00
Dylan Laduranty
cc440bc296
cpu/nrf9160: add flashpage configuration
2021-11-17 14:06:04 +01:00
Dylan Laduranty
b734622944
cpu/nrf5x_common: update periph_flashpage for nRF9160 support
2021-11-17 14:05:51 +01:00
Marian Buschsieweke
b2f9e2c226
cpu/esp32: fix wrong control flow
2021-11-17 13:10:37 +01:00
Marian Buschsieweke
e46c1f732e
cpu/esp32: make CI happy
2021-11-17 13:10:37 +01:00
Francisco Molina
c74e35c483
tests/event_ztimer: add missing ztimer_usec dependency
2021-11-17 10:15:16 +01:00
Francisco Molina
73babe546c
tests/events: add Kconfig
2021-11-17 10:15:16 +01:00
Francisco Molina
39b896e933
examples/nimble_heart_rate_sensor: use event_timeout_ztimer
2021-11-17 10:15:11 +01:00
Francisco Molina
81c5d5dbcc
sys/event/timeout: split xtimer, ztimer backends, don't force usec
...
This PR makes `event_timeout` and `event_timeout_ztimer` two distinct
pseudomodules, where the only api difference is in the init function.
If only `event_timeout_ztimer` is selected then no default ZTIMER
backend is selected and the old init function is not implemented.
If only `event_timeout` is selected then `xtimer` is used unless
`ztimer_usec` is included. In which case the `xtimer` wrapper on top
of `ztimer` is used and `xtimer` is not directly selected. This
allows for the legacy api to be supported with `ztimer_usec` as
a drop-in replacement.
If `event_timeout` and `event_timeut_ztimer` are selected then
`event_timeout` SRC file is excluded from compilation.
2021-11-17 10:15:11 +01:00
Alexandre Abadie
9f9ecca95e
Merge pull request #17219 from maribu/cpu/atmega_common
...
cpu/atmega_common: make cppcheck happy
2021-11-17 10:10:20 +01:00
Alexandre Abadie
19a5310ca2
Merge pull request #17220 from maribu/cpu/cortexm_common
...
cpu/cortexm_common: make CI happy
2021-11-17 10:07:30 +01:00
Alexandre Abadie
9e2e015e9c
Merge pull request #17222 from fjmolinas/pr_submodules_src_no_select
...
Makefile.base: add SUBMODULE_NO_SRC to excluded a selected SUBMODULE *.c
2021-11-17 10:07:11 +01:00
Dylan Laduranty
aa8608eff5
Merge pull request #17064 from bergzand/pr/usbdev/xmit
...
USB: refactor to xmit-based API
2021-11-17 09:07:00 +01:00
Francisco
74cdb11bd1
Merge pull request #17203 from bergzand/pr/usbus/check_setup_length
...
usbus: check received setup request data amount
2021-11-17 08:59:07 +01:00
Francisco Molina
cc001a81e1
Makefile.base: add SUBMODULE_NO_SRC to excluded a selected SUBMODULE *.c
...
This allows for SUBMODULE PSEUDOMODULES to conditionally not be linked
to an existing *.c file.
2021-11-16 22:40:11 +01:00
Marian Buschsieweke
7885130809
cpu/cortexm_common: make CI happy
2021-11-16 21:52:55 +01:00
Marian Buschsieweke
fcba75d86d
cpu/arm7_common: suppress false positives of cppcheck
2021-11-16 21:51:48 +01:00
Alexandre Abadie
83c2f2d367
Merge pull request #17155 from maribu/cpu/native
...
cpu/native: align stack in thread_stack_init()
2021-11-16 20:48:32 +01:00
Koen Zandberg
587d25a38e
USBUS/hid: Adapt to xmit API
2021-11-16 20:17:05 +01:00
Koen Zandberg
5455c40c7a
USBUS/cdc_ecm: Adapt to xmit API
2021-11-16 20:17:04 +01:00
Koen Zandberg
1a0bc3d8bc
USBUS/cdc_acm: Adapt to xmit API
2021-11-16 20:17:04 +01:00
Koen Zandberg
7d9a177f25
USBUS: Adapt to xmit API
...
Converts the control endpoint to xmit API
2021-11-16 20:17:04 +01:00
Koen Zandberg
a6b6f43ce2
sam0_common/usbdev: Adapt to xmit API
2021-11-16 20:17:04 +01:00
Koen Zandberg
c81df904ea
stm32/usbdev: Adapt to xmit API
2021-11-16 20:17:04 +01:00
Koen Zandberg
617027ab5c
nrf52/usb: Adapt to xmit API
2021-11-16 20:17:03 +01:00
Koen Zandberg
f8e7e2f557
usbdev_mock: Adapt to xmit API
...
Includes the adaptations needed in the test application
2021-11-16 20:16:59 +01:00
Alexandre Abadie
0c9240125e
Merge pull request #17189 from kaspar030/update_security_guide
...
SECURITY.md: add gpg key information
2021-11-16 19:17:11 +01:00
Alexandre Abadie
eb8513f375
Merge pull request #17173 from kaspar030/native_guard_motor_driver
...
boards: native: guard motor driver simulation code
2021-11-16 19:15:23 +01:00
Leandro Lanzieri
b0c380a9a9
Merge pull request #17039 from MrKevinWeiss/pr/turodefault
...
sys/turo: Allow default selection of json
2021-11-16 18:22:55 +01:00
Marian Buschsieweke
d91c9cdc5a
cpu/atmega_common: make cppcheck happy
2021-11-16 16:20:26 +01:00
Koen Zandberg
3b1bdd6b3c
nrf5x_common: Add qdec peripheral implementation
2021-11-16 15:21:51 +01:00
Marian Buschsieweke
fa3d0ad0f1
tests/unittests: fix unaligned access
2021-11-16 14:23:45 +01:00
06929c1a9b
boards: native: guard motor driver simulation code
2021-11-16 14:08:14 +01:00
chrysn
69dadf61e9
Merge pull request #17152 from maribu/sys/posix/sockets
...
sys/posix/socket: align struct sockaddr{,_storage}
2021-11-16 13:55:27 +01:00
Alexandre Abadie
427ae33acd
Merge pull request #17198 from aabadie/pr/boards/stm32f746disco
...
boards: add support for stm32f746g-disco
2021-11-16 13:51:45 +01:00
3873046682
SECURITY.md: add gpg key information
2021-11-16 13:36:15 +01:00
Koen Zandberg
597f1d19aa
usbdev: Refactor to xmit API
...
This API change refactors the usbdev API to supply buffers via the
usbdev_ep_xmit function. This changes from the usbdev_ep_ready call to allow
separate buffers per call. An usbdev_ep_buf_t pseudotype is available and must
be used when defining buffers used for endpoints to adhere to the DMA alignment
restrictions often required with usb peripherals.
Main advantage is that the usbdev peripherals no longer have to allocate
oversized buffers for the endpoint data, potentially saving multiple KiB
of unused buffer space. These allocations are now the responsibility of
the individual USB interfaces in the firmware
2021-11-16 11:21:07 +01:00
Koen Zandberg
59e85cf921
usbdev: Refactor to xmit API
...
This API change refactors the usbdev API to supply buffers via the
usbdev_ep_xmit function. This changes from the usbdev_ep_ready call to allow
separate buffers per call. An usbdev_ep_buf_t pseudotype is available and must
be used when defining buffers used for endpoints to adhere to the DMA alignment
restrictions often required with usb peripherals.
Main advantage is that the usbdev peripherals no longer have to allocate
oversized buffers for the endpoint data, potentially saving multiple KiB
of unused buffer space. These allocations are now the responsibility of
the individual USB interfaces in the firmware
2021-11-16 11:21:00 +01:00
Koen Zandberg
76215adef1
Merge pull request #17154 from maribu/cpu/stm32/periph_usb
...
cpu/stm32/periph/usbdev: fix alignment issues
2021-11-16 11:20:34 +01:00
Alexandre Abadie
dba0dab1b1
doccheck: add stm32f746g-disco warning to exclude patterns
2021-11-16 10:51:48 +01:00
Alexandre Abadie
c452ab183f
tests: add stm32f746g-disco to boards with netif
2021-11-16 10:51:48 +01:00
Alexandre Abadie
9e79afb412
boards: add support for stm32f746g-disco
2021-11-16 10:51:48 +01:00
Martine Lenders
3c402d88a8
Merge pull request #16774 from miri64/lwip/enh/v2.1.3
...
lwip: bump to v2.1.3
2021-11-16 10:25:50 +01:00
Francisco
6dd0521203
Merge pull request #17196 from maribu/tests/pthread_barrier
...
tests/pthread_barrier: fix test script
2021-11-16 10:21:06 +01:00
Alexandre Abadie
3bf4ef88fe
Merge pull request #17181 from fjmolinas/pr_examples_lorawan_ztimer
...
examples/lorawan: use ztimer_msec if not rtc
2021-11-16 09:51:59 +01:00
MrKevinWeiss
6f345d5bee
unittests/turo: Fix turo to use check
2021-11-16 08:37:46 +01:00
MrKevinWeiss
56cb210722
tests/turo: Remove OUTPUT_FORMAT and use default
2021-11-16 08:37:45 +01:00
MrKevinWeiss
5a66307314
sys/turo: Allow default selection of json
2021-11-16 08:37:45 +01:00
Francisco
5f119e3b6c
Merge pull request #17200 from bergzand/pr/usbus_cdc_ecm/check_max_frame_len
...
cdc_ecm: Truncate frames at max ethernet size
2021-11-16 07:54:01 +01:00
chrysn
d7559cc121
Merge pull request #17205 from benpicco/create-Makefile.ci
...
Makefile.include: rename Makefile.ci target to create-Makefile.ci
2021-11-15 21:59:12 +01:00
Dylan Laduranty
8f4ef1eb75
Merge pull request #17186 from benpicco/cpu/sam0_common/uart-frac
...
cpu/sam0_common: uart: set oversampling based on baud rate
2021-11-15 21:53:19 +01:00
Benjamin Valentin
3303b8c16a
Makefile.include: rename Makefile.ci target to create-Makefile.ci
...
If we
-include Makefile.ci
and `Makefile.ci` does not exist, but we provide `make` with a way
on how to do so, it will try to create `Makefile.ci`.
This is not what we want, but I don't know how to disable this automagic.
So rename the target to `create-Makefile.ci` to avoid the conflict.
2021-11-15 20:20:11 +01:00
chrysn
5a1c5ad096
Merge pull request #17202 from Ollrogge/doxygen_fix_pr
...
periph/flashpage: fix wrong doxygen group
2021-11-15 19:43:32 +01:00
Koen Zandberg
4573d5f9dc
usbus_control: check received setup request data amount
...
This adds a check to the usbus control stack to ensure that the amount
of data received with a setup request does not exceed the amount
indicated within the setup request
2021-11-15 19:38:16 +01:00
Koen Zandberg
2ba022221b
cdc_acm: Abort line coding request on incorrect size
...
This adds a sanity check to the line coding request of the CDC ACM code
to chcek the length parameter in the setup request with the size of the
expected payload struct
2021-11-15 19:36:03 +01:00
Francisco
72abac66f1
Merge pull request #17183 from fjmolinas/pr_stm32wl_adc
...
cpu/stm32/wl: initial periph_adc implementation
2021-11-15 19:06:24 +01:00
3871948015
Merge pull request #17126 from bergzand/pr/benchmark/ztimer
...
sys/benchmark: Convert to ztimer
2021-11-15 18:56:18 +01:00
benpicco
7c8504186e
Merge pull request #16109 from benpicco/dist/tools/create_makefile.ci.sh
...
tools/insufficient_memory: add create_makefile.ci.sh and Makefile.ci make target
2021-11-15 18:12:01 +01:00
Alexandre Abadie
1855b9e9bd
Merge pull request #17199 from aabadie/pr/boards/stm32f769i-disco-cleanup
...
boards/stm32f769i-disco: fix and cleanup default configuration
2021-11-15 17:58:51 +01:00
Benjamin Valentin
0b3e4cd43f
tools/insufficient_memory: add create_makefile.ci.sh
2021-11-15 17:41:54 +01:00
Ollrogge
37403c09eb
periph/flashpage: fix wrong doxygen group
2021-11-15 17:25:59 +01:00
Francisco Molina
6346fc8613
boards/lora-e5-dev: map a4, a5 analog inputs
2021-11-15 17:07:21 +01:00
Koen Zandberg
cd489cebd1
cdc_ecm: Truncate frames at max ethernet size
...
This truncates the incomming frames to ETHERNET_FRAME_LEN and silently
discards the rest of the frame until the end of the frame. This should
be modified to an endpoint halt condition after #17090 is merged, but
for now this should be good enough.
Stalling the endpoint with the current stall implementation could cause
a ping of death scenario, so for now the data is truncated until the
above solution can be implemented.
2021-11-15 16:04:13 +01:00
Alexandre Abadie
2f6b7bc651
Merge pull request #17082 from kaspar030/add_doxy_pattern_script
...
dist/tools/doccheck: add create_pattern.sh
2021-11-15 15:35:59 +01:00
Alexandre Abadie
556160b9a3
Merge pull request #17182 from ML-PA-Consulting-GmbH/fix/20211111__sys-suit__deps
...
sys/suit: adjust dependencies for CoAP transport
2021-11-15 15:27:47 +01:00
Alexandre Abadie
600adb8ec6
Merge pull request #17197 from fjmolinas/pr_dwm1001_spi0_pins
...
boards/dwm1001: fix SPI0 miso/mosi pins
2021-11-15 15:25:41 +01:00
Koen Zandberg
f1feaa2063
tests/periph_gpio: Convert to ztimer
2021-11-15 15:24:38 +01:00
Alexandre Abadie
d9c78201cc
boards/stm32f769i-disco: remove wrong DMA configuration
2021-11-15 15:09:04 +01:00
benpicco
70ae34a448
Merge pull request #16979 from ospoco/master
...
cpu/stm32: Add hardening changes to stm32
2021-11-15 15:09:01 +01:00
Alexandre Abadie
527d321533
boards/stm32f769i-disco: fix mistake in Kconfig clock config
2021-11-15 15:08:20 +01:00
Koen Zandberg
8c2f0dd2af
sys/benchmark: Convert to ztimer
2021-11-15 14:14:23 +01:00
Francisco Molina
2b842a9ec5
boards/dwm1001: fix SPI0 miso/mosi pins
2021-11-15 10:53:36 +01:00
Francisco
6dbf1c3013
Merge pull request #17102 from aabadie/pr/drivers/ads101x_ztimer
...
drivers/ads101x: migrate to ztimer
2021-11-15 09:56:14 +01:00
Francisco Molina
63c51d4add
cpu/stm32/wl: initial periph_adc implementation
2021-11-15 09:52:45 +01:00
Marian Buschsieweke
e78a45b319
tests/pthread_barrier: fix test script
...
Previously the test script relied on the exact sequence of numbers
returned by the used PRNG. This resulting e.g. in
```
$ USEMODULE=prng_musl_lcg make -C tests/pthread_barrier flash test
```
to fail, only because the order in which the children completed is
slightly different due to different sleep durations. This fixes the
issue.
2021-11-15 09:10:03 +01:00
Marian Buschsieweke
5e925e1906
Merge pull request #17192 from maribu/sys/fido2
...
sys/fido2: fix CBOR parsing
2021-11-13 21:43:57 +01:00
Marian Buschsieweke
8a178f49e7
sys/fido2: fix CBOR parsing
...
The TinyCBOR library takes a `size_t *` length argument in many
functions which at function call contains the length of a buffer, and
at exit the actual size of the data. The FIDO-2 code however uses
`uint8_t` fields in `struct`s to store the data. Previously, a pointer
to that `uint8_t` filed was just casted to `size_t *`, resulting in
three neighboring bytes also being interpreted as being part of the
buffer size - which could result in undetected buffer overflows.
Similar, upon exit of the function not only the `uint8_t` sized length
`struct` member but also three neighboring bytes were written to.
I didn't care to investigate, but this really looks like crafted CBOR
payloads send to the FIDO2 implementation could result in arbitrary
code execution on the device.
2021-11-13 20:32:02 +01:00
benpicco
7da50b05a9
Merge pull request #17190 from benpicco/drivers/dose-padding
...
drivers/dose: reduce struct padding
2021-11-12 20:45:24 +01:00
Karl Fessel
3d33cee551
Merge pull request #17137 from kfessel/p-ztimer-at30tse75x
...
driver/at30tse75x: port to ztimer_usec
2021-11-12 17:12:11 +01:00
Benjamin Valentin
b34b67feee
drivers/dose: reduce struct padding
...
By moving all the single byte struct elements to the end, we can reduce
padding inside `dose_t` and ensure that `recv_buf` is always aligned.
This saves some RAM:
master
------
text data bss dec hex filename
36384 136 12944 49464 c138 tests/driver_dose/bin/samr21-xpro/tests_driver_dose.e
this patch
----------
text data bss dec hex filename
36484 136 12936 49556 c194 tests/driver_dose/bin/samr21-xpro/tests_driver_dose.elf
2021-11-12 16:19:20 +01:00
Marian Buschsieweke
c18dc7157d
Merge pull request #17177 from maribu/sys/architecture
...
sys/architecture: add HAS_ALIGNMENT_OF() helper
2021-11-12 14:12:08 +01:00
benpicco
6f4c354461
Merge pull request #17139 from fjmolinas/pr_static_cocci_remove
...
dist/tools/coccinelle/force: remove static.cocci
2021-11-12 13:53:37 +01:00
benpicco
1c3ceb2bd6
Merge pull request #17185 from fjmolinas/pr_lora_e5_dev_warning
...
boards/lora-e5-dev: add warning in doc
2021-11-12 13:42:17 +01:00
benpicco
046ecf221e
Merge pull request #17187 from fjmolinas/pr_i2c_stm32wl_typo
...
cpu/stm32/include/cpu_conf_stm32_common.h: fix typo in macro
2021-11-12 13:41:58 +01:00
VanL
ee832148b3
cpu/stm32: Add hardening changes to stm32
...
Initialize STM32 RDP in a glitch-resistant fashion to prevent
debugger use when restrictions are set by the designer.
2021-11-11 15:58:52 -06:00
Benjamin Valentin
39b8cdf760
sys/random: default to musl LCG
...
In [0] the paper concludes with
> The Knuth LCG is the most efficient general purpose generator that
> provides decent statistical quality.
> It is simple and lean enough to run on very constrained devices.
So let's select `prng_musl_lcg` to be the default PRNG instead of
`prng_tinymt32`.
This gives a good chunk of memory on e.g. `samr21-xpro`:
prng_tinymt32
-------------
text data bss dec hex filename
26452 136 2824 29412 72e4 tests/rng/bin/samr21-xpro/tests_rng.elf
prng_musl_lcg
-------------
text data bss dec hex filename
26208 136 2808 29152 71e0 tests/rng/bin/samr21-xpro/tests_rng.elf
[0] https://sci-hub.se/10.1145/3453159
2021-11-11 19:59:26 +01:00
Francisco Molina
ec0e3d242e
cpu/stm32/include/cpu_conf_stm32_common.h: fix typo in macro
2021-11-11 19:58:34 +01:00
Francisco Molina
b247dbca97
examples/lorawan: use ztimer_msec if not rtc
2021-11-11 18:03:04 +01:00
Alexandre Abadie
a85853ae30
Merge pull request #17125 from aabadie/pr/cpu/native_rtc_ztimer
...
cpu/native: migrate periph_rtc to ztimer
2021-11-11 17:26:10 +01:00
Benjamin Valentin
18cdd100a9
cpu/sam0_common: uart: set oversampling based on baud rate
...
In Asynchronous Fractional baud rate mode, the baud rate can not be
greater than the source frequency divided by the oversampling (8, 16).
Currently we are always using 16x oversampling.
This makes it impossible to e.g. set a 2 MHz UART baud rate on the 16 MHz
`saml10-xpro`.
With this change, the oversampling is automatically reduced to 8x which
allows us to set 16 MHz / 8 -> 2 MHz baud rate.
2021-11-11 17:03:05 +01:00
Francisco Molina
773d576bdc
boards/lora-e5-dev: add warning in doc
2021-11-11 16:51:51 +01:00
Benjamin Valentin
965fa3ef10
drivers/dose: clarify timeout calculation
2021-11-11 14:43:07 +01:00
Benjamin Valentin
32c29bf062
drivers/dose: fix standby mode
...
Previously we would not disable the sense pin, this meant that
a node could still wake up if the standby pin is not connected.
Properly disable sensing when in standby and wait for a state
transition to IDLE to avoid aborting a reception and messing up the
DOSE internal state.
2021-11-11 14:33:55 +01:00
Benjamin Valentin
1ef458a701
cpu/sam0_common: uart: wait for synchronisation done after powerup
...
Otherwise we lose settings if we write to it right after uart_poweron()
2021-11-11 14:32:42 +01:00
Daniel Lockau
201e42a497
examples/suit: remove automatic deps
2021-11-11 14:00:31 +01:00
Daniel Lockau
9e1e7be77e
sys/suit: adjust dependencies for CoAP transport
2021-11-11 13:58:32 +01:00
Karl Fessel
be2aa39ea2
examples/thread-duel: add a duelling threads example
2021-11-11 13:18:53 +01:00
Karl Fessel
8c3aad1c25
sys/sched_round_robin: Add a round robin scheduler module
2021-11-11 13:18:52 +01:00
1772628483
Merge pull request #16186 from kaspar030/fix_native_notext
...
cpu/native: add `-no-pie` to LINKFLAGS
2021-11-11 11:50:54 +01:00
Francisco
b609646961
Merge pull request #17138 from fjmolinas/pr_sx126x_fixes
...
drivers/sx126x: fix sync word and TX PA configuration
2021-11-11 10:59:08 +01:00
Marian Buschsieweke
7b06e665ee
sys/architecture: add HAS_ALIGNMENT_OF() helper
2021-11-11 10:57:26 +01:00
Marian Buschsieweke
673299b1cf
Merge pull request #17176 from maribu/core/declare_constant
...
core: add WITHOUT_PEDANTIC() and DECLARE_CONSTANT()
2021-11-11 10:56:47 +01:00
Alexandre Abadie
326b0c980a
cpu/native: migrate periph_rtc to ztimer
2021-11-11 10:54:30 +01:00
Marian Buschsieweke
7703b37c6f
sys/posix/socket: align struct sockaddr{,_storage}
...
Align the first member of `struct sockaddr` and
`struct sockaddr_storage` as `uint32_t` to elevate the alignment of the
structure to level of `uint32_t`. This is needed as
`struct sockaddr_in` uses an `uint32_t` to store the IPv4 address,
previously resulting in `struct sockaddr_in` currently having a greater
alignment requirement that `struct sockaddr_storage`.
2021-11-11 09:55:24 +01:00
Marian Buschsieweke
de2bd172f8
pkg/ccn-lite: use -std=c11 instead of -std=c99
...
RIOT switched to C11, so packages need to follow suit to use RIOT's
headers.
2021-11-11 09:55:24 +01:00
Marian Buschsieweke
4b02d0fbc1
makefiles/arch: use -std=gnu11 also for MIPS
...
This brings MIPS back in line with the other archs.
2021-11-11 09:55:24 +01:00
Kevin "Tristate Tom" Weiss
da60ba5fff
Merge pull request #17165 from leandrolanzieri/pr/sys/ztimer_kconfig_entry
...
sys/ztimer: rework Kconfig
To eliminate circular dependencies based in periph_rtc and xtimer_ztimer_compatibility the following changes are applied:
- Change entrypoint of ztimer as a specific backend is always required
- Add a non-module symbol for ztimer_usec that bring in the ztimer and ztimer_usec module which allows the xtimer ztimer compatibility layer to only select the ztimer_usec module preventing circular dependency issues
2021-11-11 09:21:33 +01:00
Martine S. Lenders
3c6e87c18f
lwip: bump to v2.1.3
2021-11-10 22:36:19 +01:00
937a0014c8
tests/backtrace: make test regexp a bit more loose
2021-11-10 20:38:25 +01:00
a78689874a
cpu/native: add -no-pie to LINKFLAGS
...
This fixes the following warning on newer gcc/ld:
```
/usr/bin/ld: examples/hello-world/bin/native/cpu/tramp.o: warning: relocation against `_native_saved_eip' in read-only section `.text'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
```
2021-11-10 20:38:25 +01:00
Francisco
05593911bf
Merge pull request #16955 from haukepetersen/fix_nimble_scannereventtypes
...
pkg/nimble: fix scan event type define usage
2021-11-10 16:35:17 +01:00
Benjamin Valentin
f89d0c7c25
drivers/periph/uart: add periph_uart_collision feature
2021-11-10 15:57:45 +01:00
Marian Buschsieweke
f2a53c8fb3
tets/unittests: add test for DECLARE_CONSTANT()
2021-11-10 15:22:48 +01:00
Marian Buschsieweke
58e197098d
core: add WITHOUT_PEDANTIC() and DECLARE_CONSTANT()
...
`WITHOUT_PEDANTIC(expr)` disables `-Wpedantic` for `expr`, but switches
back to the previous diagnostic settings afterwards. This helps defining
macros that are not strictly ISO compliant without having to drop the
`-Wpedantic` flag entirely.
`DECLARE_CONSTANT(identifier, const_expr)` declares an anonymous `enum`
constant named `identifier` and assigns it the value `const_expr`. Here,
`const_expr` has to be a compile time constant, but is not needed to be
an integer constant expression. It basically is a tool to magically
convert a non-integer constant expression into a integer constant
expression.
2021-11-10 15:22:47 +01:00
e89eebc6bf
Merge pull request #17163 from maribu/pkg/libcoap
...
pkg/libcoap: remove
2021-11-10 13:42:59 +01:00
Francisco
0838ea392a
Merge pull request #17143 from aabadie/pr/pkg/paho_mqtt_ztimer
...
pkg/paho-mqtt: migrate to ztimer
2021-11-10 13:14:48 +01:00
benpicco
026d6cfba1
Merge pull request #16768 from benpicco/drivers/dose-timeout_bytes
...
drivers/dose: calculate timeout based on symbol rate
2021-11-10 12:40:13 +01:00
Erik Ekman
1a73fee720
Merge pull request #17174 from yarrick/arp_build
...
pkg/lwip: Fix dualstack build when only using 6lowpan
2021-11-10 10:15:58 +01:00
Kevin "Tristate Tom" Weiss
ff8983c155
Merge pull request #17161 from kaspar030/update_pkg_relic
...
pkg/relic: bump to current master
2021-11-10 09:15:23 +01:00
Francisco
fc4a3d3363
Merge pull request #17171 from kaspar030/uhcp_modules
...
net/uhcp[cd]: use modules to select client/server code
2021-11-10 08:59:08 +01:00
Francisco
035ee0a595
Merge pull request #17172 from kaspar030/drivers_ds18_missing_stdint.h
...
drivers/ds18.h: add missing stdint.h include
2021-11-10 08:42:03 +01:00
Francisco
fb4947937f
Merge pull request #17169 from gschorcht/doc/fix_ccs811_doc
...
drivers/ccs811: fix of documentation
2021-11-10 08:41:26 +01:00
Francisco
24794676ca
Merge pull request #16901 from maribu/tests/thread_float
...
tests/thread_float: improve and add script
2021-11-10 08:34:55 +01:00
Erik Ekman
5b2c20dbf7
tests/lwip: Don't control IPv6 usage from IPv4
2021-11-09 23:26:26 +01:00
Erik Ekman
02c840af2a
pkg/lwip: Fix 6lowpan build when IPv4 is active
2021-11-09 23:16:33 +01:00
Erik Ekman
3aee2dde9d
pkg/lwip: Only enable ARP if Ethernet is supported
2021-11-09 23:09:35 +01:00
5d3a4d63d8
drivers/ds18.h: add missing stdint.h include
2021-11-09 21:48:48 +01:00
dba51edc69
net/uhcp[cd]: use modules to select client/server code
2021-11-09 21:42:45 +01:00
Marian Buschsieweke
f62b662b08
tests/thread_float: improve and add test script
...
- Perform the same computation over and over again. If the results
differ, context switches have an impact on the calculation (e.g.
when the FPU internally uses more bits than a float, but that bits
are not saved / restored on context switch)
- Give the three threads the names "t1", "t2", and "t3" and print them
on console, instead of the process ID. This makes interpretation of
the output easier, as the process IDs depend e.g. on whether a given
platforms requires an idle thread or not.
- Do not use the thread ID in the calculation, but the number at the
end of the thread name. This will result in the number printed only
depending on the precision of the (software) FPU and the printf()
implementation, and not on which threads are created in which order
(including the idle thread)
- Add a script to support running `make test`
Update tests/thread_float/tests/01-run.py
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2021-11-09 19:57:59 +01:00
Gunar Schorcht
8e88906445
drivers/ccs811: fix of documentation
2021-11-09 19:50:07 +01:00
benpicco
12ade5a8b5
Merge pull request #16752 from benpicco/drivers/dose-standby
...
drivers/dose: enable standby pin
2021-11-09 18:20:17 +01:00
Marian Buschsieweke
f2d914dad9
Merge pull request #17167 from RIOT-OS/gh/enh/del-security-bug
...
.github/ISSUE_TEMPLATE: remove security_bug.md
2021-11-09 17:57:22 +01:00
Martine Lenders
b4193be4dd
.github/ISSUE_TEMPLATE: remove security_bug.md
...
We have a [security policy](./SECURITY.md) now, so this template might confuse people more than it helps.
2021-11-09 16:48:42 +01:00
Leandro Lanzieri
703e66b4c1
sys/ztimer/kconfig: change entry point
2021-11-09 15:32:34 +01:00
Leandro Lanzieri
3837286750
sys/{x,z}timer/Kconfig: fix compatibility modules
2021-11-09 15:32:33 +01:00
Marian Buschsieweke
d52077207e
Merge pull request #17151 from maribu/pkg/littlefs2
...
pkg/littlefs{,2}: fix compilation with -Wcast-align
2021-11-09 15:24:07 +01:00
Benjamin Valentin
6c1481b6ee
drivers/dose: enable standby pin
...
Some CAN transceivers have a standby pin that has to be pulled low
in order to use it.
If the interface is disabled we can set it to high again to save some
power.
2021-11-09 15:19:35 +01:00
Marian Buschsieweke
4148af742b
LOSTANDFOUND.md: add details about removal of libcoap
2021-11-09 13:51:27 +01:00
55d5cdea04
tests/pkg_relic: update for bumped upstream
2021-11-09 13:48:49 +01:00
Marian Buschsieweke
d83d08f099
pkg/libcoap: remove
...
The pkg has not been updated in ages and upstream libcoap provides means
to build with RIOT. Users are better served using the upstream libcoap
approach to use RIOT + libcoap rather than this outdated pkg.
2021-11-09 13:47:11 +01:00
Martine Lenders
4b2ca7a702
Merge pull request #16986 from benpicco/uhcp-debug
...
sys/net/uhcp: use LOG_DEBUG instead of LOG_INFO
2021-11-09 12:58:16 +01:00
7151992b5c
pkg/relic: bump to current master (e3f82e36 from 08.11.21)
2021-11-08 23:18:30 +01:00
Francisco Molina
15b22f83c1
dist/tools/doccheck/exclude_patterns: add lora-e5-dev
2021-11-08 20:01:52 +01:00
Francisco Molina
002df1c5c2
boards/lora-e5-dev: set tx_pa_mode to HPA
2021-11-08 18:42:34 +01:00
Francisco Molina
e17e3254e1
drivers/sx126x: add tx_pa_mode
...
BOARDs with RF switch might only support one of the TX modes, and
on init the BOARD needs to be configured accordingly and the correct
mode selected on TX.
2021-11-08 18:42:05 +01:00
Marian Buschsieweke
78810d736c
pkg/littlefs2/fs: fix compilation with -Wcast-align
2021-11-08 14:24:32 +01:00
Marian Buschsieweke
3a5a13e343
pkg/littlefs/fs: fix compilation with -Wcast-align
2021-11-08 14:24:18 +01:00
Francisco
70744a7a92
Merge pull request #17158 from fjmolinas/pr_lora_e5_dev_power_outpur
...
boards/lora-e5-dev: enable 3.3V and 5V output by default
2021-11-08 12:49:29 +01:00
Marian Buschsieweke
73fc2c215a
Merge pull request #17150 from maribu/cpu/esp_common/periph_flashpage
...
cpu/esp_common: fix unaligned access in periph_flashpage
2021-11-08 10:49:40 +01:00
Francisco Molina
c208300f2b
boards/lora-e5-dev: add lm75a to saul default
2021-11-08 09:37:51 +01:00
Francisco Molina
c393efd360
boards/lora-e5-dev: enable 3.3V and 5V output by default
2021-11-08 09:37:51 +01:00
Marian Buschsieweke
cb6525b033
cpu/esp_common: fix unaligned access in periph_flashpage
2021-11-07 22:06:27 +01:00
benpicco
358abcf133
Merge pull request #17156 from maribu/drivers/encx24j600
...
drivers/encx24j600: fix unaligned memory access
2021-11-07 18:55:58 +01:00
Marian Buschsieweke
4c22716001
drivers/encx24j600: make cppcheck happy
...
Rename cmd buffer to cmd_buf to avoid shadowing outer function.
2021-11-07 08:46:06 +01:00
Marian Buschsieweke
f7bed004ff
Merge pull request #17153 from maribu/sys/net/dns
...
sys/net/dns: mark dns_hdr_t as packed
2021-11-07 07:52:16 +01:00
Marian Buschsieweke
6a7ace798e
Merge pull request #17149 from maribu/drivers/lis3dh
...
drivers/lis3dh: fix unaligned memory access
2021-11-07 07:48:20 +01:00
830dbe6156
Merge pull request #17146 from kaspar030/murdock_redis_host
...
murdock: allow specifying redis host
2021-11-06 21:03:58 +01:00
Marian Buschsieweke
9f1cece6ee
drivers/encx24j600: fix unaligned memory access
2021-11-06 20:33:43 +01:00
Marian Buschsieweke
09b8387df4
cpu/native: align stack in thread_stack_init()
...
Unaligned accesses on x86(_64) are allowed, but slow. However, some host systems
might not be that forgiving. Aligning the stack to sizeof(uintptr_t) should be
a pretty safe safety measure.
And with this done, all casts of the stack pointer that increase alignment
requirements are now intermediately casted to `uintptr_t` to silence
warnings from -Wcast-align - after all the stacks are now manually aligned.
2021-11-06 20:22:10 +01:00
Marian Buschsieweke
825a598ca7
cpu/stm32/periph/usbdev: fix alignment issues
...
Make sure in `_usbdev_new_ep()` that `usbdev_ep_t::buf` is always aligned to 4
bytes. With this in mind, add intermediate casts to `uintptr_t` before casting
`usbdev_ep_t::buf` to `uint32_t *` to silence `-Wcast-align`, as we now manually
enforced correct alignment.
2021-11-06 20:19:39 +01:00
Marian Buschsieweke
2e6eca1918
sys/net/dns: mark dns_hdr_t as packed
...
This structure is used to parse data from unaligned buffers, so make
sure the compiler issues instructions suitable for unaligned memory
access.
2021-11-06 20:16:56 +01:00
Marian Buschsieweke
5e75047a2b
drivers/lis3dh: fix unaligned memory access
...
The bogus packed attribute added to lis3dh_data_t resulted in the
structure being aligned two 1 byte. It was later casted to an
uint16_t pointer (which is aligned two 2 bytes). By dropping the
packed attribute the alignment mismatch is fixed.
2021-11-06 20:05:05 +01:00
Erik Ekman
4944294d45
examples/paho-mqtt: Don't control IPv6 usage from IPv4
2021-11-06 18:02:53 +01:00
Erik Ekman
691bd46aae
tests/lwip_sock: Don't control IPv6 usage from IPv4
...
Require less hacks to use dual stack
2021-11-06 18:01:06 +01:00
Martine Lenders
3677a93d96
Merge pull request #17145 from yarrick/core_lock
...
tests/lwip_sock: Take lock before calling etharp
2021-11-06 13:53:39 +01:00
benpicco
1f11780c02
Merge pull request #17119 from spectraphilic/sdi12-remote
...
pkg/arduino_sdi_12: support the remote-revb board
2021-11-06 11:32:54 +01:00
benpicco
2b43675ded
Merge pull request #17148 from benpicco/index_of
...
core/include/kernel_defines.h: Fix index_of()
2021-11-06 11:32:43 +01:00
Benjamin Valentin
e2639cb53a
core/include/kernel_defines.h: Fix index_of()
...
Calculate the size of the element based on the array given, not based
on the element pointer.
The element might as well be given as a `void *` via a callback.
In that case, if the user forgets to cast the `void *` to the array
element type, the calculation returns false values.
Disarm this foot gun by basing the element size off the given array.
2021-11-06 00:35:39 +01:00
benpicco
4c61a99125
Merge pull request #17127 from benpicco/riscv-none-embed
...
makefiles: RISC-V: prefer target triple from riotdocker
2021-11-05 23:20:12 +01:00
benpicco
cf8ec62b94
Merge pull request #17007 from dylad/pr/sam0/call_disabled_irq
...
cpu/sam0: prevent disabled irq from being called
2021-11-05 23:19:52 +01:00
benpicco
321918ce02
Merge pull request #17142 from benpicco/index_of
...
core/include/kernel_defines.h: add index_of() macro
2021-11-05 23:19:37 +01:00
d67a3d567f
murdock: allow specifying redis host
2021-11-05 23:15:57 +01:00
Erik Ekman
91be3adac8
tests/lwip_sock: Take lock before calling etharp
...
Fixes #17144
2021-11-05 18:45:04 +01:00
dylad
8842377e93
cpu/sam0: prevent disabled irq from being called
...
Reported-by: biboc <bapclenet@gmail.com>
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2021-11-05 18:21:21 +01:00
Alexandre Abadie
7c3bade90d
examples/paho-mqtt: migrate to ztimer
2021-11-05 16:50:53 +01:00
Alexandre Abadie
52edeb3c09
pkg/paho-mqtt: migrate to ztimer
2021-11-05 16:50:46 +01:00
Benjamin Valentin
a803cab439
tests/unittests: add test for index_of()
2021-11-05 16:42:38 +01:00
Benjamin Valentin
01a49d3d19
core/include/kernel_defines.h: add index_of() macro
2021-11-05 16:42:38 +01:00
Alexandre Abadie
26346188b9
Merge pull request #17105 from aabadie/pr/drivers/ata8520e_ztimer
...
drivers/ata8520e: migrate to ztimer
2021-11-05 16:22:59 +01:00
Francisco
2947a8c669
Merge pull request #17108 from MrKevinWeiss/pr/stk3200/spi
...
boards/stk3200: Fix spi config
2021-11-05 15:08:24 +01:00
Alexandre Abadie
baa1ed38cc
drivers/ata8520e: migrate to ztimer
2021-11-05 12:49:37 +01:00
benpicco
bfb8d1d3fd
Merge pull request #17014 from benpicco/periph/gpio-cb_not_NULL
...
drivers/periph/gpio: state that interrupt callback must not be NULL
2021-11-05 12:47:16 +01:00
Karl Fessel
314bc00902
driver/at30tse75x: cleanup for static tests
2021-11-05 12:19:35 +01:00
Karl Fessel
fc8e6f01bd
driver/at30tse75x: port to ztimer_usec
2021-11-05 12:19:35 +01:00
Francisco
c739516ac4
Merge pull request #17132 from miri64/core/enh/activate-SCHED_TEST_STACK
...
core: make SCHED_TEST_STACK boolean and default to 1 with DEVELHELP
2021-11-05 11:11:36 +01:00
J. David Ibáñez
77df3eedbd
sys/arduino: millis() expected to have C linkage
...
This fixes building tests/pkg_arduino_sdi_12 for the hifive1b board.
The problem is, in build/pkg/arduino_api/api/Common.h millis is defined
within an extern "C" block. While in sys/arduino/include/arduino.hpp it
was not.
2021-11-05 10:21:26 +01:00
Martine Lenders
2955288b8b
tests: update Makefile.ci for SCHED_STACK_TEST extension of DEVELHELP
2021-11-05 09:27:01 +01:00
Martine Lenders
098eeb1a2c
cpu/esp_common: suppress cppcheck false positives
2021-11-05 09:27:00 +01:00
Martine Lenders
e27fd3018e
core/thread.h: fix new uncrustify error
2021-11-05 09:27:00 +01:00
Martine Lenders
f08989a3c8
core: make SCHED_TEST_STACK boolean and default to 1 with DEVELHELP
2021-11-05 09:27:00 +01:00
Alexandre Abadie
a281499082
Merge pull request #17131 from fjmolinas/pr_openwsn_update_doc
...
pkg/openwsn: update doc
2021-11-05 09:25:42 +01:00
Francisco Molina
acde16465a
dist/tools/coccinelle/force: remove static.cocci
...
The rule is not behaving as it should and flagging all 'static'
variables based only on initialization (if the variable is initialized
before usage), but fails to recognize if 'static' is used to limit
visibility.
2021-11-05 08:45:55 +01:00
eaa007d412
Merge pull request #17135 from bergzand/pr/usbdev/fix_cppcheck_vera
...
usb(dev|bus): Fix static-check issues
2021-11-05 08:36:53 +01:00
J. David Ibáñez
98a61d06e1
pkg/arduino_sdi_12: move BOARD_INSUFFICIENT_MEMORY to Makefile.ci
2021-11-05 07:55:16 +01:00
Alexandre Abadie
9e853a6a79
Merge pull request #17124 from aabadie/pr/boards/microbit_mineplex
...
boards/{calliope-mini,microbit*}: factorize common microbit module, use ztimer
2021-11-05 00:39:35 +01:00
Alexandre Abadie
7ce5d8a5dd
Merge pull request #17112 from aabadie/pr/drivers/rn2xx3_ztimer
...
drivers/rn2xx3: migrate to ztimer
2021-11-05 00:38:55 +01:00
Dylan Laduranty
037260a5b3
Merge pull request #17136 from bergzand/pr/usbus_hid/fix_null_dereference
...
usbus_hid: Fix possible null pointer dereference
2021-11-04 20:02:10 +01:00
Alexandre Abadie
233cc0928a
Merge pull request #16887 from aabadie/pr/pkg/elk
...
pkg: add support for Elk Tiny Javascript engine
2021-11-04 17:52:44 +01:00
Francisco Molina
89da5f0add
pkg/openwsn: update doc
2021-11-04 17:25:09 +01:00
Alexandre Abadie
03acd1fafc
tests/driver_ads101x: exclude nucleo-l011k4 because of low memory
2021-11-04 16:21:08 +01:00
J. David Ibáñez
d2c9caae2b
pkg/arduino_sdi_12: skip nucleo-l011k4 in CI
...
Because it does not have enough memory.
2021-11-04 16:05:06 +01:00
J. David Ibáñez
c9062c2e23
pkg/arduino_sdi_12: use blacklist instead of whitelist
2021-11-04 16:05:06 +01:00
J. David Ibáñez
1d2ac15396
pkg/arduino_sdi_12: cpp11-compat for all but atmega
...
Doesn't work.
2021-11-04 16:05:06 +01:00
J. David Ibáñez
3e73c5f6e3
pkg/arduino_sdi_12: support the remote-revb board
...
Patch the library to use micros() for timing, when sending a command,
for boards not supported by the library.
Use cpp11-compat with the remote-revb board. This fixes the link error
"undefined reference to __dso_handle"
2021-11-04 16:05:06 +01:00
Martine Lenders
ca32d7704f
cppcheck: output all annotations as error on script error
...
`cppcheck` has a non-zero exit code even on warnings, so to not confuse
contributors, align the annotation output with that.
2021-11-04 15:43:02 +01:00
Alexandre Abadie
2f44452d78
boards/microbit: migrate to ztimer
2021-11-04 15:39:58 +01:00
Francisco
f08c5da7aa
Merge pull request #17101 from aabadie/pr/drivers/bmp180_ztimer
...
drivers/bmp180: migrate to ztimer
2021-11-04 15:25:48 +01:00
Karl Fessel
4d552e7e4a
driver/at30tse75x: avoid direct use of xtimer_ticks
2021-11-04 14:16:07 +01:00
Koen Zandberg
673fa4bd5b
tests/usbus: resolve vera++ issue
2021-11-04 13:49:35 +01:00
Koen Zandberg
9f510fb1ab
usbus/cdc_acm: resolve vera++ issues
2021-11-04 13:49:35 +01:00
Koen Zandberg
df39337ebf
usbopt: resolve vera++ issues
2021-11-04 13:49:34 +01:00
Koen Zandberg
c918630e5e
usbdev_mock: Uncrustified and fixed static-check issues
2021-11-04 13:49:34 +01:00
Koen Zandberg
d9dd0cc3b1
cpu/sam0_common: Uncrustified and fixed static-check issues
2021-11-04 13:49:34 +01:00
Koen Zandberg
aba81ffa5c
cpu/nrf52: Uncrustified and fixed static-check issues
2021-11-04 13:49:34 +01:00
Koen Zandberg
86aa665cbc
usbus_hid: Fix possible null pointer dereference
2021-11-04 13:45:19 +01:00
benpicco
2f1258f60b
Merge pull request #17130 from kfessel/p-gcoap-example-lwip
...
example/gcoap: add LWIP make option
2021-11-04 13:36:34 +01:00
Alexandre Abadie
f3d2acb1ee
.murdock: add tests/pkg_elk test kconfig group
2021-11-04 12:38:21 +01:00
Alexandre Abadie
ce28a54ed9
tests: add test application for Elk package
2021-11-04 12:38:21 +01:00
Alexandre Abadie
4989258ae1
pkg: add support for Elk tiny JS engine
2021-11-04 12:38:20 +01:00
Alexandre Abadie
295092bc29
drivers/rn2xx3: migrate to ztimer
2021-11-04 10:39:36 +01:00
Benjamin Valentin
b4dc8a5366
makefiles: RISC-V: prefer target triple from riotdocker
2021-11-04 10:02:04 +01:00
Koen Zandberg
b0d5e9a027
Merge pull request #17128 from dylad/pr/usbus/dfu/fix_underflow_condition
...
usbus/dfu: fix underflow condition while updating firmware
2021-11-04 09:50:18 +01:00
Alexandre Abadie
6ec259533d
Merge pull request #17121 from aabadie/pr/pkg/wolfssl_minor_issues
...
pkg/wolfssl: fix minor issues
2021-11-04 09:47:48 +01:00
MrKevinWeiss
9d2647ec8b
boards/stk3200: Fix spi config
...
The spi bus for the stk3200 doesn't actually work.
Other efm32 based boards do work.
After some guessing and some checking it turns out that the .loc is wrong.
The original was USART_ROUTE_LOCATION_LOC1, which appears in other periph_conf.
After changing it to USART_ROUTE_LOCATION_LOC2 the spi bus actually outputs data.
2021-11-04 09:35:45 +01:00
José Alamos
1218a635e7
Merge pull request #17117 from fjmolinas/pr_semtech_loramac_get_set_dr
...
pkg/semtech-loramac: fix get/set dr command
2021-11-04 09:16:48 +01:00
Dylan Laduranty
64a82c9a78
usbus/dfu: fix underflow condition while updating firmware
...
Reports dfuERROR if underflow is detected or if flash write failed
Implement DFU control CLRSTATUS while at it to clear dfuERROR by the host
2021-11-03 17:06:27 +01:00
Karl Fessel
5cc59eb490
example/gcoap: add LWIP make option
2021-11-03 16:51:10 +01:00
Koen Zandberg
1fa8bcc9d2
Merge pull request #17123 from bergzand/pr/stdio_semihosting/ztimer
...
stdio_semihosting: Convert to ztimer
2021-11-03 16:22:45 +01:00
Alexandre Abadie
0c42c3690c
pkg/wolfssl: ignore array-parameter warning with gcc 11
2021-11-03 15:40:29 +01:00
Alexandre Abadie
fc9562bf25
pkg/wolfssl: remove unnecessary dependency to xtimer
2021-11-03 15:40:29 +01:00
benpicco
47029055a6
Merge pull request #8954 from zhuoshuguo/gnrc_gomach/adapt_duty_recode_para_name
...
gnrc_gomach: adapt duty recording parameters' namings.
2021-11-03 12:56:39 +01:00
Alexandre Abadie
e7d62df21c
Merge pull request #17118 from waehlisch/security.md
...
SECURITY.md: fix broken email reference
2021-11-03 12:34:54 +01:00
Alexandre Abadie
d71388c58e
tests/board_calliope-mini: use microbit common module
2021-11-03 12:10:14 +01:00
Alexandre Abadie
b0fa356ec6
boards/calliope-mini: use microbit common mineplex module
2021-11-03 12:10:14 +01:00
Koen Zandberg
4cfb155397
stdio_semihosting: Add unit clarification to poll define
2021-11-03 11:39:26 +01:00
Koen Zandberg
2b696fd770
stdio_semihosting: Convert to ztimer
2021-11-03 11:39:26 +01:00
Alexandre Abadie
67add34e75
boards/microbit: put mineplex dependency resolution in common
2021-11-03 11:25:56 +01:00
Martine Lenders
67f67bfe62
Merge pull request #17076 from jenswet/feature/add-fff-package
...
pkg/fff: Add fake functions framework package
2021-11-03 11:00:56 +01:00
Matthias Waehlisch
6118786e10
SECURITY.md: fix broken email reference
2021-11-03 10:21:23 +01:00
Francisco Molina
8177563f74
pkg/semtech-loramac: fix cppcheck comments
2021-11-03 10:05:46 +01:00
Francisco
f6012e1bcb
Merge pull request #17114 from fjmolinas/pr_xbee_ztimer_msec
...
drivers/xbee: migrate to ztimer_msec
2021-11-03 09:05:27 +01:00
Francisco
c3226ba865
Merge pull request #17107 from miri64/treewide/fix/pycryptodome
...
pycrypto: use pycryptodome instead
2021-11-02 22:09:08 +01:00
Francisco
8e0d5efaa2
Merge pull request #17113 from fjmolinas/pr_ztimer_sec_no_rtc
...
sys/ztimer: don't default to rtc for ztimer_sec
2021-11-02 22:08:37 +01:00
Francisco Molina
c29e900c42
pkg/semtech-loramac: fix get/set dr command
2021-11-02 22:03:16 +01:00
Francisco
555c8b2418
Merge pull request #17103 from leandrolanzieri/pkg/wakaama/use_ztimer
...
pkg/wakaama: use ztimer
2021-11-02 21:46:48 +01:00
Francisco Molina
3dd0829c82
tests/driver_xbee: uncrustify, format Makefile
2021-11-02 21:46:19 +01:00
Francisco Molina
5579fd2220
drivers/xbee: uncrustify
2021-11-02 21:46:19 +01:00
Francisco Molina
472f6495a8
drivers/xbee: migrate to ztimer_msec
2021-11-02 21:46:19 +01:00
Marian Buschsieweke
ed9bf358c5
sys/shell: Add nice shell command via module nice
2021-11-02 20:44:32 +01:00
Hauke Petersen
3d7d797a57
core/sched: add sched_change_priority() function
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2021-11-02 20:44:32 +01:00
Jens Wetterich
14f90f3c5e
pkg/fff: Add fake functions framework package
2021-11-02 18:01:21 +01:00
Alexandre Abadie
ea1f41038e
Merge pull request #17100 from maribu/boards/common/silabs
...
boards/common/silabs: fix dependencies
2021-11-02 17:57:10 +01:00
Francisco
0bbcf4863f
Merge pull request #17006 from yarrick/ifconfig_help
...
sys/shell/gnrc_netif: Allow 'ifconfig help'
2021-11-02 16:32:59 +01:00
Francisco Molina
2e4dfa0aac
sys/ztimer: don't default to rtc for ztimer_sec
2021-11-02 15:31:04 +01:00
Alexandre Abadie
546283fd05
tests/driver_bmp180: migrate to ztimer
2021-11-02 14:57:50 +01:00
Alexandre Abadie
9029e1caf9
drivers/bmp180: migrate to ztimer
2021-11-02 14:57:50 +01:00
Alexandre Abadie
bcdbec40e3
tests/driver_ads101x: migrate to ztimer
2021-11-02 14:49:45 +01:00
Alexandre Abadie
3fa2154d48
drivers/ads101x: migrate to ztimer
2021-11-02 14:49:45 +01:00
Martine Lenders
ab9dd8f942
tools/vagrant: FreeBSD 12 updated to python 3.8
2021-11-02 13:45:50 +01:00
Marian Buschsieweke
9893efd96f
boards/common/silabs: fix dependencies
...
The module silabs_pic depends on the feature periph_i2c. However, the
dependency resolution just selected the module implementing that
feature which bypasses feature checks.
2021-11-02 13:34:04 +01:00
Martine Lenders
e38aec72b2
pycrypto: use pycryptodome instead
...
`pycrypto` is unmaintained [[1]] since v2.6.1 (released October 2013).
This version, however, has some severe vulnerabilities [[2]] [[3]].
The recommendation is to use the API-compatible `pycryptodome` library.
[1]: https://github.com/pycrypto/pycrypto/issues/173
[2]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-7459
[3]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6594
2021-11-02 13:28:42 +01:00
Leandro Lanzieri
5aa99c0337
pkg/wakaama: use ztimer
2021-11-02 13:15:35 +01:00
Francisco
1ef44844e0
Merge pull request #17085 from bergzand/pr/cdcacm/stall_on_no_line_coding
...
usbus/cdc_acm: Return stall on line coding not supported
2021-11-02 13:04:26 +01:00
dd0f9e42f9
Merge pull request #17104 from fjmolinas/pr_doxygen_wanrings_supress
...
dist/tools/doccheck/exclude_patterns: add new warnings
2021-11-02 12:43:39 +01:00
Francisco Molina
9a050dc2e8
dist/tools/doccheck/exclude_patterns: add new warnings
2021-11-02 11:48:50 +01:00
Francisco
49cecdbc44
Merge pull request #17071 from maribu/CODING_CONVENTIONS_C++.md
...
CODING_CONVENTIONS_C++.md: Change space after negation
2021-11-02 09:39:13 +01:00
Koen Zandberg
e6b124beac
Merge pull request #17095 from kaspar030/uhcp_project.py
...
dist/tools/uhcpd: remove project.py
2021-11-02 08:43:24 +01:00
72cdaee46f
dist/tools/uhcpd: remove project.py
...
This should never have made it into the repo, it's a build file for an
experimental build system I built years ago.
2021-11-01 21:13:10 +01:00
Leandro Lanzieri
f64b166319
Merge pull request #16845 from MrKevinWeiss/pr/kconfig/supportstms
...
.murdock: Add nucleo boards to kconfig test
2021-11-01 09:55:22 +01:00
Leandro Lanzieri
4011bd9edf
Merge pull request #16780 from fjmolinas/pr_kconfig_uwb
...
pkg/uwb*: add Kconfig dependency modelling
2021-11-01 09:35:29 +01:00
Francisco Molina
9a2c880a60
drivers/stmpe811: use errno
2021-10-30 23:25:50 +02:00
Gunar Schorcht
aecc516ce9
cpu/esp32: place freertos and periph in IRAM
...
The IRAM is much faster, while the IROM is much slower and can only be accessed via a cache, which is also sometimes disabled, e.g. by the WiFi module or when writing to the flash. Therefore, time-critical code as well as code that has to work even when the cache is disabled must be placed in the IRAM.
2021-10-30 14:46:57 +02:00
Koen Zandberg
6a509308fe
usbus/cdc_acm: Return stall on line coding not supported
...
The SetLineCoding request is optional to support (CDC PSTN subclass). No
need to claim to support it to the host and actually discard the data if
it is not supported by the implementation.
2021-10-30 11:56:42 +02:00
9256970517
Merge pull request #17079 from kaspar030/exclude_some_dox_warnings
...
boards/nucleo-g07xrb: fix or exclude some doxygen warnings
2021-10-29 16:38:21 +03:00
Francisco Molina
8efe255829
examples/twr_aloha: add Kconfig
2021-10-29 13:11:56 +02:00
Gunar Schorcht
723c24c1d3
Merge pull request #17080 from gschorcht/cpu/esp8266/fix_freertos_placement_in_irom
...
cpu/esp8266: place freertos functions in IRAM
2021-10-29 13:02:20 +02:00
Francisco Molina
cbd12772f3
pkg/uwb-dw1000: add Kconfig module dependency
2021-10-29 12:23:54 +02:00
3cb3976ae0
dist/tools/doccheck: add create_pattern.sh
2021-10-29 12:21:39 +02:00
Gunar Schorcht
06acd8b420
cpu/esp8266: place freertos functions in IRAM
...
The functions of the `esp*/freetos` libraries must be placed in IRAM because they can be called when the IROM cache is disabled. While the functions implemented in `cpu/esp8266/freetos/*.c` are already placed in IRAM, the functions implemented in `cpu/esp_common/freetos/*.c` are not placed in IRAM. The reason for this is that the object files of these files are created in the `esp_freertos_common` directory, which is not included in the `esp.riot-os.ld` file because the library is named `esp_freertos_common`.
2021-10-29 11:17:24 +02:00
f27fce0eed
doccheck: add nucleo-g07xrb group members to exclude_patterns
2021-10-29 10:49:38 +02:00
6cbc494a96
boards/nucleo-g07xrb: close some ADC doxygen groups
2021-10-29 10:49:02 +02:00
Francisco
6f9b566d5c
Merge pull request #17047 from bergzand/pr/stm32/usbdev_ztimer
...
stm32/usbdev: Use ztimer instead of xtimer
2021-10-29 10:39:43 +02:00
1dfcc6facd
Merge pull request #17077 from benpicco/ztimer_xtimer_compat-trivial
...
ztimer/xtimer_compat: implement trivial functions
2021-10-29 09:44:52 +03:00
Benjamin Valentin
358aa11d48
ztimer/xtimer_compat: implement trivial functions
...
xtimer_ticks64_t / xtimer_ticks32_t is no longer a struct, so these are
even more trivial than on xtimer.
2021-10-29 00:45:01 +02:00
Marian Buschsieweke
e53efa3e7f
Merge pull request #16587 from spectraphilic/sdi12
...
pkg/arduino_sdi_12: add SDI-12 for Arduino as package
2021-10-28 18:21:10 +02:00
J. David Ibáñez
5ce514a105
pkg/arduino_sdi_12: add new package
...
From https://github.com/EnviroDIY/Arduino-SDI-12
2021-10-28 16:19:28 +02:00
J. David Ibáñez
d70ffc69fb
pkg/arduino_api: add new package
...
From https://github.com/arduino/ArduinoCore-API
Required by pkg/arduino_sdi_12
Improves compatibility with Arduino
2021-10-28 16:18:55 +02:00
J. David Ibáñez
a651315fbe
sys/arduino: add interrupts/noInterrupts
...
This fixes the error:
$ BOARD=arduino-mega2560 make -C tests/pkg_arduino_sdi_12/
[...]
[...]/RIOT/build/pkg/arduino_sdi_12/src/SDI12.cpp:379:7: error: ‘interrupts’ was not declared in this scope
2021-10-28 15:59:48 +02:00
J. David Ibáñez
c965ce3de6
boards/common/arduino-atmega: define F_CPU
...
This fixes the following error:
$ BOARD=arduino-mega2560 make -C tests/pkg_arduino_sdi_12/
[...]
[...]/RIOT/build/pkg/arduino_sdi_12/src/SDI12_boards.cpp:35:16: error: ‘preSDI12_TCCR2B’ defined but not used [-Werror=unused-variable
35 | static uint8_t preSDI12_TCCR2B;
2021-10-28 15:59:40 +02:00
Alexandre Abadie
dbbdc8590e
Merge pull request #17031 from fjmolinas/pr_lvgl_ztimer
...
pkg/lvgl: use ztimer instead of xtimer
2021-10-28 11:36:04 +02:00
Alexandre Abadie
cab87ba698
Merge pull request #17069 from aabadie/pr/boards/adafruit_clue_rtt_conf
...
boards/adafruit-clue: use internal RC oscillator
2021-10-28 11:33:48 +02:00
Marian Buschsieweke
57fc4f5f77
CODING_CONVENTIONS_C++.md: Change space after negation
...
Adding a space after a unary operator is pretty uncommon and
inconsistent with what we do in C. Let's better keep the C++ and the C
code style consistent, unless we have a good reason to justify the
difference.
2021-10-28 10:49:51 +02:00
Marian Buschsieweke
577188925d
Merge pull request #17050 from Jnae/getting-started
...
doc/getting-started.md: added beginner friendly instructions
2021-10-28 10:40:58 +02:00
benpicco
6029f2dc92
Merge pull request #17025 from benpicco/2021.10-release-notes.txt
...
release-notes.txt: add 2021.10 release notes
2021-10-28 10:24:16 +02:00
Alexandre Abadie
45c8e3e79e
boards/adafruit-clue: use internal RC oscillator
2021-10-28 10:03:53 +02:00
Benjamin Valentin
b2b9af3e7a
release-notes.txt: add 2021.10 release notes
2021-10-28 09:51:53 +02:00
Francisco
bdd3b80c78
Merge pull request #17067 from jenswet/bugfix/pr-template-typo
...
github/pr: Fix link to coding conventions
2021-10-28 08:43:00 +02:00
Koen Zandberg
766ebf0af5
stm32/usbdev: Use ztimer instead of xtimer
2021-10-27 18:56:42 +02:00
Jens Wetterich
c7b2e351aa
github/pr: Fix link to coding conventions
2021-10-27 16:33:35 +02:00
Benjamin Valentin
a711208a75
tools/zep_dispatch: add support for foren6 sniffer
2021-10-27 14:15:31 +02:00
chrysn
a92cdb535e
Merge pull request #16378 from chrysn-pull-requests/gcoap-handle-truncation
...
sys/net/gcoap: Use socket _buf API to recognize truncated requests
2021-10-27 08:55:52 +02:00
Jnae
5bb4d29aed
doc/getting-started.md: added beginner friendly instructions
2021-10-27 08:15:42 +02:00
benpicco
1b09720149
Merge pull request #16957 from benpicco/tools/zep_dispatch-ack_fix
...
tools/zep_dispatch: forward based on source addr, not MAC addr
2021-10-26 21:07:30 +02:00
benpicco
158bf0e449
Merge pull request #17061 from Ollrogge/flashpage_follow_up
...
periph/flashpage.h: add comment about riotboot impact on flashpage la…
2021-10-26 21:04:25 +02:00
Dylan Laduranty
aa4383104f
Merge pull request #17051 from bergzand/pr/riotboot_dfu/ztimer
...
riotboot_dfu: use ztimer instead of xtimer
2021-10-26 20:49:26 +02:00
Ollrogge
c6e94aa6be
periph/flashpage.h: add comment about riotboot impact on flashpage layout
2021-10-26 14:35:33 +02:00
Koen Zandberg
fa95a39471
bootloaders/riotboot_dfu: Use ztimer instead of ztimer
2021-10-26 14:14:46 +02:00
Koen Zandberg
5dfc4725c8
usbus_dfu: Use ztimer for reboot timeout
2021-10-26 14:14:46 +02:00
Koen Zandberg
5c01e14b7a
riotboot_dfu: Add ztimer_msec dependency
2021-10-26 14:14:45 +02:00
Francisco
7f3344870d
Merge pull request #16972 from Ollrogge/flashpage_pr
...
periph/flashpage: extend API
2021-10-26 12:51:05 +02:00
Francisco
96e2ad1f0e
Merge pull request #16956 from fjmolinas/pr_native_relative_stacksize
...
cpu/native/include: other stacksizes based on default
2021-10-26 09:04:16 +02:00
Koen Zandberg
ec8f56021a
Merge pull request #17042 from PiotrZakrzewski/master
...
Remove merge chance shield (deprecated)
2021-10-26 08:51:43 +02:00
Gunar Schorcht
697c44811a
Merge pull request #16911 from yarrick/esp_jtag
...
cpu/esp32: Add openocd programming support
2021-10-26 01:24:27 +02:00
Koen Zandberg
261a615439
ztimer: Use auto_init for manual init in bootloaders
2021-10-25 22:24:07 +02:00
4bec2f0723
Merge pull request #17034 from fjmolinas/pr_turo_optional_space_after_symbol
...
sys/test_utils/result_output/json: optional space after symbol
2021-10-25 22:31:16 +03:00
Erik Ekman
cbecb4d249
boards/esp32-wrover-kit: Enable esp_jtag module
...
Allows use of openocd by just setting PROGRAMMER.
2021-10-25 21:11:29 +02:00
Piotr Zakrzewski
6bd654dfe2
doc: Remove merge chance shield (deprecated)
2021-10-25 20:47:48 +02:00
Karl Fessel
f54325bb99
gitingnore: *bin -> bin and *.bin to not ignore round_robin
2021-10-25 17:05:30 +02:00
benpicco
2aab2b83bc
Merge pull request #17046 from bergzand/pr/usb/deprecate_fail_report
...
usbdev/USBUS: deprecate transfer failure reporting report
2021-10-25 16:27:01 +02:00
benpicco
83c1db596d
Merge pull request #17048 from miri64/pkg_hacl/fix/gcc-11
...
pkg/hacl: make compilable with GCC 11
2021-10-25 16:26:17 +02:00
Ollrogge
be254d4125
cpu/cc2538: adjust rom size to account for cca region
2021-10-25 15:13:37 +02:00
Ollrogge
cdd9f303cf
cpu/native: extend flashpage API
2021-10-25 15:07:37 +02:00
Ollrogge
4fa25af86c
cpu/lpc23xx: extend flashpage API
2021-10-25 15:07:37 +02:00
Ollrogge
3a11b1fbd2
cpu/riscv_common: extend flashpage API
2021-10-25 15:07:37 +02:00
Ollrogge
741943f021
cpu/msp430_common: extend flashpage API
2021-10-25 15:03:50 +02:00
Martine Lenders
5b88efa419
pkg/hacl: make compilable with GCC 11
2021-10-25 12:34:19 +02:00
Alexandre Abadie
d14f559622
Merge pull request #16915 from aabadie/pr/pythonlibs/black_format
...
tools/pythonlibs/riotctrl_*: add code format check with black
2021-10-25 10:49:16 +02:00
Francisco Molina
d2c09698e0
tests/driver_ili9341: use ztimer_msec instead of xtimer
2021-10-25 10:49:08 +02:00
Francisco Molina
bac1f8c82d
drivers/ili9341: use ztimer instead of xtimer
2021-10-25 10:48:49 +02:00
Francisco Molina
5070489aa6
cpu/native/include: other stacksizes based on default
2021-10-25 09:13:21 +02:00
Koen Zandberg
9f8aee4e95
usbdev: Deprecate USBDEV_EVENT_TR_FAIL
2021-10-24 19:33:29 +02:00
Koen Zandberg
0ce6bfc1a2
usbus: Deprecate USBUS_HANDLER_FLAG_TR_FAIL event
2021-10-24 19:33:29 +02:00
Gunar Schorcht
a06268a5ca
Merge pull request #16425 from iosabi/esp8266_sdk
...
esp8266: Download Espressif RTOS SDK as a new RIOT PKG
2021-10-23 18:00:48 +02:00
iosabi
7b1f083cd8
esp8266: Download Espressif RTOS SDK as a new RIOT PKG
...
RIOT-OS uses part of Espressif ESP8266 RTOS SDK to build support for
this CPU. The SDK includes some vendor-provided closed source
pre-compiled libraries that we need to modify to adapt to RIOT-OS
usage. This library modifications was done once and uploaded to a fork
of the vendor repository and was provided as an environment variable.
This patch changes two things:
1. It installs the SDK as a RIOT PKG from the new pkg/esp8266_sdk
directory instead of requiring the user to download it separately.
2. It performs the library modifications (symbol renames) on the pkg
Makefile removing the need to use a fork with the modifications applied
and simplifying the SDK update and future modifications.
This change sets the SDK package version (git SHA) to the same one that
our fork was using as a parent in the vendor repository, meaning that
the output libraries are exactly the same as before.
Tested with
```
ESP8266_RTOS_SDK_DIR=/dev/null USEMODULE=esp_log_startup make -C tests/shell BOARD=esp8266-esp-12x flash
```
and verified that the program works. The boot message now includes:
```
ESP8266-RTOS-SDK Version v3.1-51-g913a06a9
```
confirming the SDK version used.
`/dev/null` in the test is just to make sure that no evaluation of
`ESP8266_RTOS_SDK_DIR` in make is affected by the environment variable
value which would be set to the SDK for people who followed the set up
instructions before this change.
Tested the checkout size:
```bash
$ du -hs build/pkg/esp8266_sdk/
124M build/pkg/esp8266_sdk/
```
2021-10-23 11:13:38 +00:00
Alexandre Abadie
769dd09234
Merge pull request #17041 from fjmolinas/pr_lostandfound_fox
...
LOSTANDFOUND.md: add boards/fox
2021-10-23 11:47:59 +02:00
Francisco Molina
4f9632ebb8
LOSTANDFOUND.md: add boards/fox
2021-10-23 11:33:42 +02:00
Francisco
3a62c8a4f4
Merge pull request #17038 from fjmolinas/pr_gha_release_python_38
...
gha/workflows/release-test: set python version to 3.8
2021-10-23 11:31:09 +02:00
Francisco
81458c8eed
Merge pull request #17021 from fjmolinas/pr_remove_board_fox
...
boards/fox: remove BOARD
2021-10-23 11:30:35 +02:00
Kevin "Tristate Tom" Weiss
325d3ea743
Merge pull request #17036 from kaspar030/turo_text_float_fix
...
sys/test_utils/result_output: fix turo_float() precision value
2021-10-22 19:07:09 +02:00
Francisco
43befee63c
Merge pull request #17030 from bissell-homecare-inc/nucleo-g431rb-pwm
...
boards/nucleo-g431rb: added PWM configuration
2021-10-22 14:43:56 +02:00
Francisco Molina
acc85bb0af
gha/workflows/release-test: set python version to 3.8
2021-10-22 14:36:39 +02:00
Erik Ekman
ccfe80c844
sys/shell/gnrc_netif: Allow 'ifconfig help'
...
Currently a valid netif name must be passed to show the usage
instructions:
```
> ifconfig help
error: invalid interface given
> ifconfig 6 help
usage: ifconfig
usage: ifconfig <if_id> [up|down]
[...]
```
`ifconfig --help` is also accepted.
2021-10-22 14:14:58 +02:00
Alexandre Abadie
74925c0ab0
Merge pull request #17028 from miri64/citation/doc/initial
...
CITATION.cff: Initial import
2021-10-22 12:58:43 +02:00
Alexandre Abadie
3b4e698b2e
Merge pull request #16907 from aabadie/pr/tools/backport_pr_with_black
...
tools/backport_pr: check code format with black
2021-10-22 12:58:01 +02:00
Alexandre Abadie
1fc45d888b
Merge pull request #16905 from aabadie/pr/tools/compile_and_test_with_black
...
tools/compile_and_test_for_board: apply black automatic code formatter + add format checker in tox
2021-10-22 12:57:42 +02:00
4bee52a693
sys/test_utils/result_output: fix turo_float() precision value
...
`print_float()` only allows values from 0-7.
2021-10-22 12:49:16 +02:00
Francisco Molina
720338b304
sys/test_utils/result_output/json: optional space after symbol
2021-10-22 12:31:03 +02:00
Francisco
abbf798e8e
Merge pull request #17027 from kaspar030/turo_json_fixes
...
turo: some json fixes
2021-10-22 10:48:29 +02:00
Alexandre Abadie
2e7c83f374
tools/flake8: ignore pythonlibs/riotctrl_* directories
...
They are already covered by flake8 with their tox configuration
2021-10-22 10:25:15 +02:00
Alexandre Abadie
b44652c489
pythonlib/riotctrl_shell: reformat with black
2021-10-22 10:25:15 +02:00
Alexandre Abadie
f2bb9242bb
pythonlib/riotctrl_shell: add black testenv in tox
...
Add Flake8 configuration compatible with black
2021-10-22 10:25:15 +02:00
Alexandre Abadie
43550cd853
pythonlib/riotctrl_ctrl: reformat native.py with black
2021-10-22 10:25:15 +02:00
Alexandre Abadie
ba1173409f
pythonlib/riotctrl_ctrl: add black testenv in tox
...
Add Flake8 configuration compatible with black
2021-10-22 10:25:15 +02:00
Martine Lenders
e14cbc1c31
github-labeler: add *.cff files to 'Area: doc'
2021-10-22 10:21:57 +02:00
Martine Lenders
278ea905ce
CITATION.cff: Initial import
2021-10-22 10:21:57 +02:00
Alexandre Abadie
8d4d8f207d
tools/backport_pr: reformat with black
2021-10-22 10:20:52 +02:00
Alexandre Abadie
43a7c8c8f2
tools/backport_pr: add black testenv in tox
...
Add Flake8 and Pylint configuration compatible with black
2021-10-22 10:20:52 +02:00
Alexandre Abadie
8f870a7cb8
tools/compile_and_test_for_board: reformat with black
2021-10-22 10:19:55 +02:00
Alexandre Abadie
c98fc635fc
tools/compile_and_test_for_board: add black testenv in tox
...
Add Flake8 and Pylint configuration compatible with black
2021-10-22 10:19:55 +02:00
Francisco
5abd097abf
Merge pull request #17033 from luisan00/fix_doc/stm32f464i-disco
...
boards/stm32f469i-disco: fix documentation
2021-10-22 09:17:40 +02:00
kl
4b0a28aba2
boards/stm32f469i-disco: fix documentation
2021-10-21 21:58:12 +02:00
Francisco Molina
a4dd3c0147
pkg/lvgl: use ztimer instead of xtimer
2021-10-21 18:23:39 +02:00
Dave VanKampen
eb09d2dafb
boards/nucleo-g431rb: added PWM configuration
2021-10-21 10:25:15 -04:00
99dbed9ce7
turo: fix json toru_float() precision value
2021-10-21 13:02:48 +02:00
1c8a8bf6c4
turo: add space after JSON comma
2021-10-21 13:02:21 +02:00
chrysn
e86370cf4b
Merge pull request #17026 from chrysn-pull-requests/riotboot-serial-docfix
...
sys/riotboot doc: Minor fixes
2021-10-20 19:11:29 +02:00
chrysn
78c12c6626
sys/riotboot doc: Minor fixes
...
Which, in particular, make it build in the first place.
2021-10-20 19:00:18 +02:00
benpicco
ca1ab67a9d
Merge pull request #17002 from maribu/doc/getting-started
...
doc/.../getting-started.md: update software requirements
2021-10-20 14:02:05 +02:00
benpicco
5eb7bd744b
Merge pull request #17019 from kaspar030/add_missing_nrf_includes
...
nrfx: add some missing includes
2021-10-20 14:01:29 +02:00
Francisco Molina
2552c6941e
treewide: remove mentions of 'fox' BOARD
2021-10-20 13:53:26 +02:00
Francisco Molina
e0678e9eb4
boards/fox: remove support
...
Remove support of unavailable BOARD.
2021-10-20 13:51:49 +02:00
Karl Fessel
c9f4d11c52
Merge pull request #16966 from yarrick/net_v6
...
sys/net: Add ipv4/ipv6 pseudomodules
to ease code unification
2021-10-20 11:58:26 +02:00
5e52a0ea4c
cpu/nrf5x_common: nrfx.h: add missing "kernel_defines.h" include
2021-10-20 11:36:55 +02:00
df6ad4b4d0
boards/nrf52840dk: periph_conf.h: include "kernel_defines.h"
2021-10-20 11:36:55 +02:00
b651b29751
sys/picolibc_syscalls_default: make stdin and stderr strong refs
2021-10-20 11:21:57 +02:00
0486c0dba7
Merge pull request #17001 from kaspar030/support_picolibc_stdio_globals
...
sys/picolibc_syscalls_default: support new picolibc stdio globals
2021-10-20 12:17:14 +03:00
Ollrogge
d38f6c68b5
cpu/cortexm_common: extend flashpage API
2021-10-19 22:33:15 +02:00
Ollrogge
72d47013dd
periph/flashpage: extend API
2021-10-19 22:33:09 +02:00
Benjamin Valentin
f624eb473a
drivers/periph/gpio: state that interrupt callback must not be NULL
...
This allows us to use `assert(cb != NULL)` inside `gpio_init_int()`
and save a few cycles of interrupt latency.
2021-10-19 21:26:50 +02:00
Martine Lenders
7ef715bf56
Merge pull request #17009 from fjmolinas/pr_lorawan_parameters_gha
...
gh/workflows/release-tests: update LoRaWAN parameters to ttnv3
2021-10-19 15:47:10 +02:00
Francisco
7086429aef
Merge pull request #17010 from fjmolinas/pr_examples_lorawan_pass_keys_to_docker
...
examples/lorawan: add LoRaWAN keys to DOCKER_ENV_VARS
2021-10-19 15:35:04 +02:00
Francisco Molina
dbf7efac14
examples/lorawan: add LoRaWAN keys to DOCKER_ENV_VARS
2021-10-19 13:30:46 +02:00
Marian Buschsieweke
ba859613d4
doc/.../getting-started.md: update software requirements
2021-10-19 11:26:42 +02:00
Francisco Molina
d55b67326b
gh/workflows/release-tests: update LoRaWAN parameters to ttnv3
2021-10-19 10:57:07 +02:00
benpicco
f57e2f1e99
Merge pull request #16055 from benpicco/soc_init
...
cpu: call cpu_init() from startup code, not from board
2021-10-18 20:52:53 +02:00
Erik Ekman
8b467534fe
boards/esp32-wrover-kit: Add openocd config and docs
2021-10-18 20:11:32 +02:00
Erik Ekman
cbfe502cc6
cpu/esp32: Reset when starting debugging
...
To avoid 'Target not examined yet' error
2021-10-18 20:11:32 +02:00
Francisco
1f00d7a89c
Merge pull request #16961 from jia200x/pr/semtech-loramac/fix_schedule_uplink
...
pkg/semtech-loramac: forward uplink schedule request to upper layer
2021-10-18 17:40:03 +02:00
Benjamin Valentin
3e20e939c6
cpu: drop cpu_init() from public headers
...
Boards are no longer supposed fo call the function, so drop it from
public header files.
2021-10-18 17:31:26 +02:00
Martine Lenders
5310b9855f
Merge pull request #17003 from fjmolinas/pr_riotctrl_expect_mock
...
dist/pythonlibs/riotctrl_shell/tests/common: add expect to mock
2021-10-18 17:18:59 +02:00
benpicco
7a413558db
Merge pull request #16305 from iosabi/esp_rts_dtr
...
boards/common/esp8266: Set RTS and DTR to 0 on pyterm.
2021-10-18 16:42:55 +02:00
Martine Lenders
44927b493f
Merge pull request #16967 from miri64/dsm/enh/peer-sync
...
dsm: rename DTLS_PEER_MAX and make it dependent on CONFIG_DTLS_PEER_MAX
2021-10-18 16:27:26 +02:00
Francisco Molina
3aa6492016
dist/pythonlibs/riotctrl_shell/tests/common: add expect to mock
2021-10-18 15:50:54 +02:00
Jose Alamos
00deef37a9
tests/pkg_semtech-loramac: add pending data indication
2021-10-18 14:07:21 +02:00
Jose Alamos
b11e58f843
pkg/semtech-loramac: forward uplink schedule request to upper layer
2021-10-18 14:07:21 +02:00
Benjamin Valentin
ccae474cf8
doc/porting-boards.md: update documentation of board_init()
2021-10-18 12:33:48 +02:00
benpicco
39c91bbf7d
Merge pull request #16999 from ngandrass/pr/boards/nucleo-l152re/fix-board-name
...
boards/nucleo-l152re: Fix Kconfig board name
2021-10-18 12:27:25 +02:00
27b9c6da06
sys/picolibc_syscalls_default: support new picolibc stdio globals
2021-10-18 12:02:33 +02:00
ngandrass
ac1250786a
boards/nucleo-l152re: Fix Kconfig board name
...
Kconfig board name for the nucleo-l152re contained a "0" (zero) instead
of the capital letter "O". All faulty occurrences were replaced.
2021-10-18 11:22:27 +02:00
Alexandre Abadie
1e1b213439
Merge pull request #16997 from aabadie/pr/pkg/corejson
...
pkg: add support for FreeRTOS coreJSON library
2021-10-17 19:40:12 +02:00
Alexandre Abadie
74b8bd5aa3
tests: add corejson package test application
2021-10-17 18:13:41 +02:00
Alexandre Abadie
4281d4b226
pkg: add support for FreeRTOS coreJSON library
2021-10-17 18:11:24 +02:00
benpicco
525fe24576
Merge pull request #16992 from miri64/dhcpv6_client/bug/fix-retrans-calc
...
dhcpv6_client: keep integers in retransmission calculations signed
2021-10-16 17:47:34 +02:00
benpicco
57a82ff23d
Merge pull request #16991 from benpicco/gnrc_ipv6_auto_subnets-fix
...
gnrc/ipv6_auto_subnets: set RIO priority to ZERO
2021-10-15 17:48:03 +02:00
Martine Lenders
b1b0a9b4f5
dhcpv6_client: add comment on why the division is needed
2021-10-15 17:36:13 +02:00
Martine Lenders
d844de2263
dhcpv6_client: keep integers in retransmission calculations signed
2021-10-15 17:35:46 +02:00
Benjamin Valentin
9d5808d756
gnrc/ipv6_auto_subnets: set RIO priority to ZERO
...
This is required for Linux to accept the RIO
with this patch:
2001:db8:8000::/33 via fe80::d0e7:ffff:fe46:6b52 dev tap0 proto ra metric 1024 expires 86338sec pref medium
2001:db8::/32 dev tap0 proto kernel metric 256 pref medium
before:
2001:db8::/32 dev tap0 proto kernel metric 256 pref medium
2021-10-15 15:57:59 +02:00
Benjamin Valentin
0e7b8d09d5
gnrc_ipv6_nib: fix setting RIO flags
...
We have to use NDP_OPT_RI_FLAGS_MASK, not NDP_OPT_PI_FLAGS_MASK.
This fixes flags always being 0.
2021-10-15 15:49:13 +02:00
Erik Ekman
4911066fb0
board/esp32-ethernet-kit: Document openocd flash/debug
2021-10-15 10:13:29 +02:00
Erik Ekman
1c6d7dcdaf
tools/openocd: Make verifying flashed image optional
...
Checksumming flash is not supported on xtensa platform:
Warn : not implemented yet
make: *** [.../RIOT/examples/saul/../../Makefile.include:796: flash] Error 1
2021-10-15 10:13:25 +02:00
Erik Ekman
2df7d499c8
tools/openocd: Export IMAGE_OFFSET only when flashing
2021-10-15 10:12:40 +02:00
Erik Ekman
739ec44739
board/esp32-ethernet-kit: Set openocd board file
2021-10-15 10:00:59 +02:00
Erik Ekman
d47aa2d550
cpu/esp32: Flash bootloader, partition and app via openocd
...
https://github.com/espressif/openocd-esp32 is needed.
Example config (when compiled from source):
export OPENOCD="~/esp/openocd-esp32/src/openocd -s ~/esp/openocd-esp32/tcl"
2021-10-15 10:00:57 +02:00
Erik Ekman
3d7d211157
cpu/esp: Always create app.elf.bin and partitions.bin
...
Even if programmer is not esptool
2021-10-15 09:59:38 +02:00
Marian Buschsieweke
32be74291c
Merge pull request #16790 from maribu/cpu/avr8_common/ldscripts
...
cpu/avr8_common: Fix link with binutils > 2.35.2
2021-10-15 09:59:14 +02:00
Marian Buschsieweke
696598ff9e
Merge pull request #16985 from gschorcht/cpu/esp/fix_doc
...
cpu/esp8266, boards/*esp*: fix documentation
2021-10-15 07:54:40 +02:00
Gunar Schorcht
de78a827c3
boards/esp32: reformat docs for 80 chars
2021-10-15 02:50:21 +02:00
Gunar Schorcht
4c03e9c113
boards/esp8266: reformat text for 80 chars
2021-10-15 02:50:21 +02:00
Gunar Schorcht
bce0d4cb10
boards/esp32: fix documentation
...
Fixes various issues in documentation:
- replaces HTML anchor tags in markdown headings by markdown heading IDs.
- replaces HTML linebreaks by newline commands
- replaces \htmlonly commands for image resizing by the width argument in \image commands
- uses more unique identifiers for references
- uses stable references for driver documentation
- fix broken links to external HTML documents
- replaces the TOC link in headers by a back to TOC link below each section
- replaces ``` fenced code blocks by ~~~
2021-10-15 02:50:21 +02:00
Gunar Schorcht
39273f74b4
boards/esp8266: fix documentation
...
Fixes various issues in documentation:
- replaces HTML anchor tags in markdown headings by markdown heading IDs.
- replaces HTML linebreaks by newline commands
- replaces \htmlonly commands for image resizing by the width argument in \image commands
- replaces
- uses more unique identifiers for references
- uses stable references for driver documentation
- fix broken links to external HTML documents
- replaces the TOC link in headers by a back to TOC link below each section
- replaces ``` fenced code blocks by ~~~
2021-10-15 02:50:21 +02:00
Gunar Schorcht
a3ca9776c2
cpu/esp8266: fix documentation format
...
Fix various issues with incompatibilities of markdown supported by doxygen.
2021-10-15 02:50:21 +02:00
benpicco
44bc9175cb
Merge pull request #16987 from benpicco/examples/gnrc_border_router-native
...
examples/gnrc_border_router: default to native board
2021-10-14 23:28:40 +02:00
benpicco
ffc452dcbe
Merge pull request #16981 from leandrolanzieri/pr/build_system/do_not_cleanup_bindist_objects
...
Makefile.base: do not clean objects of bindist modules
2021-10-14 21:48:17 +02:00
Benjamin Valentin
35b727c7be
sys/net/uhcp: cleanup
2021-10-14 14:20:46 +02:00
Benjamin Valentin
130b809de1
examples/gnrc_border_router: default to native board
...
If no board is selected, `gnrc_border_router` would be build for `samr21-xpro`.
This seems rather arbitrary.
Select `native` instead as it is done for other examples.
This ensures that the default `make all term` works with no hardware connected.
2021-10-14 14:13:03 +02:00
Benjamin Valentin
f74c795033
sys/net/uhcp: use LOG_DEBUG instead of LOG_INFO
...
uhcp is pretty noisy compared to DHCPv6 as INFO log level is enabled
by default.
Tone it down to LOG_DEBUG to keep the output clean.
2021-10-14 14:09:17 +02:00
MrKevinWeiss
9b6a63a951
drivers/kconfig: simplify shared rtt/rtc hardware in kconfig
2021-10-14 11:28:46 +02:00
MrKevinWeiss
57afe40e25
.murdock: enable nucleo* Kconfig tests
2021-10-14 11:28:45 +02:00
MrKevinWeiss
c7820cf7e5
*/rtt|rtc: Fix Kconfig modeling
2021-10-14 11:28:44 +02:00
MrKevinWeiss
8fc9f9a0cb
boards/p-nucleo-wb55: Fix Kconfig to use nucleo common
2021-10-14 11:28:44 +02:00
MrKevinWeiss
0c5c657912
drivers/spi: Model Kconfig spi_gpio_mode
2021-10-14 11:28:43 +02:00
MrKevinWeiss
91b71a5fb2
boards/nucleo*: Model Kconfig lpuart based on stdio
2021-10-14 11:28:43 +02:00
MrKevinWeiss
c9ffb8d2af
board/common/nucleo: Use and doc HAVE_* Kconfig
2021-10-14 11:28:42 +02:00
MrKevinWeiss
8140037e04
sys/arduino: Fix arduino_pwm Kconfig
2021-10-14 11:28:39 +02:00
Benjamin Valentin
fc88c4c4e5
boards: drop cpu_init()
2021-10-13 23:36:41 +02:00
Benjamin Valentin
cb18689712
cpu/avr8_common: call cpu_init()
2021-10-13 23:21:56 +02:00
Benjamin Valentin
bcb0df8e18
cpu/cortexm_common: call cpu_init()
2021-10-13 23:21:56 +02:00
Benjamin Valentin
86da174be2
cpu/msp430_common: call msp430_cpu_init()
2021-10-13 23:21:56 +02:00
Benjamin Valentin
0658c41d85
cpu/mips32r2_common: call cpu_init()
2021-10-13 23:21:56 +02:00
Benjamin Valentin
0f625eaebd
cpu/riscv_common: call cpu_init()
2021-10-13 23:21:56 +02:00
Benjamin Valentin
d2fdacd3f3
b/c/particle-mesh: move monofirmware setup to post_startup()
2021-10-13 23:21:56 +02:00
benpicco
f49ca5855e
Merge pull request #16984 from benpicco/WARNING_EXTERNAL_MODULE_DIRS
...
Makefile.include: remove warning about EXTERNAL_MODULE_DIRS API change
2021-10-13 23:19:48 +02:00
benpicco
ffd1254eac
Merge pull request #16959 from bissell-homecare-inc/stm32g031-disco
...
boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board
2021-10-13 23:17:06 +02:00
Dave VanKampen
55ea8cfb97
boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board
2021-10-13 12:14:45 -04:00
Gunar Schorcht
54c049fe0c
boards/esp_common: fix refs to CPU doc section
2021-10-13 17:37:16 +02:00
Gunar Schorcht
62dd51d8ba
drivers: add anchor to doc to allow stable references
2021-10-13 17:37:16 +02:00
benpicco
f8c8abf75d
Merge branch 'master' into gnrc_gomach/adapt_duty_recode_para_name
2021-10-13 17:36:21 +02:00
Benjamin Valentin
02f7e3541f
Makefile.include: remove warning about EXTERNAL_MODULE_DIRS API change
...
The warning about the API change is scheduled to be removed by 2020.10.
Since the release has been branched off, we can now drop the warning
going forward.
2021-10-13 16:54:48 +02:00
Marian Buschsieweke
62d6a560b1
cpu/avr8_common: Fix link with binutils > 2.35.2
...
The xfa.ld script is incompatible with binutils > 2.35.2 and results
in firmwares that wont boot. Sadly, I couldn't figure out an elegant
way to fix the issue. Instead, I modified the linker script provided
by binutils to also include XFA.
2021-10-13 16:37:19 +02:00
benpicco
dcc2908a94
Merge pull request #16976 from benpicco/cpu/native-gcc11
...
cpu/native: fix build with gcc 11
2021-10-13 16:29:17 +02:00
Gunar Schorcht
2797f0ef8a
Merge pull request #16982 from maribu/cpu/esp32/doc
...
cpu/esp32, boards/esp32-wrover-kit: restore intended alignment of tables
2021-10-13 16:28:12 +02:00
Marian Buschsieweke
cf7e9e34b0
boards/esp32-wrover-kit/doc: Restore center alignment of tables
2021-10-13 14:56:28 +02:00
Marian Buschsieweke
94921942d3
cpu/esp32/doc: Restore center alignment of tables
2021-10-13 14:56:00 +02:00
Leandro Lanzieri
e8ad257d66
Makefile.base: do not clean objects of bindist modules
2021-10-13 14:22:51 +02:00
benpicco
554d399ca2
Merge pull request #16898 from luisan00/boards/stm32f469i-disco-
...
boards/stm32f469i-disco: Create board
2021-10-13 14:10:05 +02:00
kl
0f2d10dfb7
cpu/stm32: add HWRNG support to CPU_LINE STM32F469XX
2021-10-13 11:22:45 +02:00
luisan00
50277d31e9
boards/stm32f469i-disco: Add board
2021-10-13 11:22:45 +02:00
Benjamin Valentin
1a2984b786
cpu/native: fix build with gcc 11
...
This fixes the following warning with GCC 11.2:
cpu/native/include/native_internal.h:153:13: error: variably modified ‘__isr_stack’ at file scope
153 | extern char __isr_stack[SIGSTKSZ];
| ^~~~~~~~~~~
cpu/native/include/native_internal.h:154:13: error: variably modified ‘__end_stack’ at file scope
154 | extern char __end_stack[SIGSTKSZ];
2021-10-12 14:56:11 +02:00
benpicco
94c852cfa7
Merge pull request #16963 from miri64/gcoap_dtls/fix/session-destroy-only-on-conn-errors
...
gcoap_dtls: destroy session in _tl_send only on connection errors
2021-10-12 13:35:16 +02:00
Alexandre Abadie
48bc2ebb9f
Merge pull request #16975 from aabadie/pr/make/emulated_boards_list
...
make: add info-emulated-boards helper target
2021-10-12 13:28:20 +02:00
Alexandre Abadie
3274bbb1cf
doc/emulators: documented info-emulated-boards target
2021-10-12 10:42:49 +02:00
Alexandre Abadie
04f1ed0274
make: add info-emulated-boards helper target
2021-10-12 10:39:57 +02:00
benpicco
57f0dc9e9a
Merge pull request #16964 from jia200x/pr/submac/rx_ack_race_condition
...
ieee802154/submac: avoid race condition between RX_DONE and ACK_TIMEOUT
2021-10-11 23:43:45 +02:00
luisan00
af4c01bbc6
cpu/stm32: add stm32f469i to ADCs defs
2021-10-11 23:35:48 +02:00
Erik Ekman
9844953da4
sys/net: Add ipv4 pseudomodule
...
Enabled when lwIP uses IPv4.
2021-10-11 21:37:47 +02:00
Erik Ekman
ff7bf09313
sys/net/sock: Set SOCK_HAS_IPV6 in one place
...
Based on ipv6 pseudomodule
2021-10-11 21:37:39 +02:00
benpicco
105c57722d
Merge pull request #16960 from haukepetersen/fix_nimble_verbumpokt21
...
pkg/nimble: version bump to fix broken scanning
2021-10-11 13:49:00 +02:00
Jean Pierre Dudey
b965feb5ba
Merge pull request #16968 from Mesh4all/cpu/stm32_duplicated_defs
...
cpu/stm32: duplicated ADC devices definitions
2021-10-11 12:58:05 +02:00
Marian Buschsieweke
1ba0bdfa9c
Merge pull request #16952 from maribu/esp32/doc
...
cpu/esp32,boards/*esp32*: fix documentation
2021-10-11 08:57:58 +02:00
Marian Buschsieweke
ff7e7c26cf
core/log: Add anchor to doc to allow stable references
2021-10-10 21:35:31 +02:00
Marian Buschsieweke
49ab2f0ef2
boards/*esp32*: Fix documentation format
...
Fix broken references and missing open/closing group commands.
2021-10-10 21:35:31 +02:00
Marian Buschsieweke
72cab30703
boards/esp32-wrover-kit: Fix documentation format
...
Fix various issues with incompatibilities to flavor of markdown
supported by Doxygen and re-format text.
2021-10-10 21:35:30 +02:00
Marian Buschsieweke
8d1d00776c
cpu/esp32: Fix documentation format
...
Fix various issues with incompatibilities to flavor of markdown
supported by Doxygen and re-format text.
2021-10-10 21:35:30 +02:00
luisan00
6459d4c344
cpu/stm32: fix duplicated defs
2021-10-10 00:04:51 +02:00
Martine Lenders
e74b54d3ae
gcoap_dtls: destroy session in _tl_send only on connection errors
2021-10-08 12:24:57 +02:00
Martine Lenders
65ff161b3a
dsm: make CONFIG_DSM_PEER_MAX depend on CONFIG_DTLS_PEER_MAX
2021-10-08 12:15:53 +02:00
Martine Lenders
945b05886b
dsm: rename DTLS_PEER_MAX to CONFIG_DSM_PEER_MAX
...
To make avoid confusion with tinydtls's `DTLS_PEER_MAX` and
`CONFIG_DTLS_PEER_MAX`
2021-10-08 12:15:16 +02:00
Martine Lenders
a2cd5ed903
dtls: set CONFIG_DTLS_PEER_MAX in dtls.h header
2021-10-08 12:10:28 +02:00
Erik Ekman
3df56d576f
sys/net: Add ipv6 pseudomodule
...
Enabled when GNRC, lwIP or OpenWSN uses IPv6
2021-10-08 10:27:22 +02:00
Jose Alamos
a7a0b8f592
tests/ieee802154_submac: prevent calling ACK TO fired if cancelled
2021-10-07 14:48:36 +02:00
Jose Alamos
cb6e242b65
net/netdev_ieee802154_submac: prevent calling ACK TO fired if cancelled
2021-10-07 14:37:05 +02:00
Jose Alamos
d7f4d5b0bd
ieee802154/submac: avoid race condition between RX_DONE and ACK_TIMEOUT
2021-10-07 14:34:34 +02:00
Karl Fessel
423da42d1c
Merge pull request #16954 from kfessel/p-u8g2-test-sdl
...
test/pkg_u8g2: increase main stacksize for SDL
2021-10-07 10:43:25 +02:00
Hauke Petersen
8368a458bc
pkg/nimble: version bump to fix broken scanning
2021-10-07 09:06:47 +02:00
Hauke Petersen
21ed0d2326
Merge pull request #16539 from haukepetersen/add_nimble_scnetifping
...
sys/shell/sc_nimble_netif: add ping subcommand
2021-10-07 09:02:17 +02:00
Francisco Molina
a04b892df3
pkg/uwb-core: add Kconfig module dependency
2021-10-06 17:59:49 +02:00
Francisco Molina
b21191f9af
pkg/mynewt-core: add Kconfig module dependency
2021-10-06 17:59:49 +02:00
Francisco Molina
9cb27b910a
sys/sema/Kconfig: fix inclusion of xtimer
...
sema currently does not depend on xtimer, but on xtimer or ztimer
2021-10-06 17:59:49 +02:00
Benjamin Valentin
00868f85ce
tools/zep_dispatch: forward based on source addr, not MAC addr
...
Forward data soly based on the real source IPv6 address, not the virtual
MAC address.
ACK frames don't have a MAC address and should still be forwarded to all
nodes in range.
2021-10-06 17:53:15 +02:00
Karl Fessel
bec5f52e4f
test/pkg_u8g2: increase main stacksize for SDL
2021-10-06 17:52:26 +02:00
Hauke Petersen
bcec748911
nimble_autoconn: fix scan event type
2021-10-06 17:01:52 +02:00
Hauke Petersen
16f4c11178
nimble_rpble: fix scan event type
2021-10-06 17:01:52 +02:00
Hauke Petersen
52de7a8efa
nimble_scanlist: fix scan event types
2021-10-06 17:01:51 +02:00
Hauke Petersen
2a7fcca9a0
nimble/scanner: fix scan event types
2021-10-06 16:55:03 +02:00
Hauke Petersen
3a080cd90d
pkg/nimble: bump version to cddb7c4
2021-10-06 16:47:34 +02:00
Hauke Petersen
b985ad2330
sys/shell/sc_nimble_netif: add ping subcommand
2021-10-06 16:47:34 +02:00
Hauke Petersen
3878096cce
pkg/nimble/netif: add nimble_netif_l2cap_ping()
2021-10-06 16:47:34 +02:00
benpicco
b4de70e9d8
Merge pull request #16922 from jia200x/pr/netdev/signal_netdev_register
...
netdev: add netdev_register_signal
2021-10-05 22:59:49 +02:00
Karl Fessel
fa1456ac99
Merge pull request #16951 from kfessel/p-fix-autoinit-indent
...
sys/auto_init: fix indention
2021-10-05 17:05:27 +02:00
Francisco
58726bf329
Merge pull request #16945 from leandrolanzieri/pr/build_system/delete_non_selected_objects
...
Makefile.base: cleanup non selected source object files
2021-10-05 16:52:11 +02:00
Francisco
93bff48538
Merge pull request #16909 from leandrolanzieri/pr/cpu/riscv/model_kconfig
...
cpu/riscv: model Kconfig
2021-10-05 16:51:17 +02:00
Jose Alamos
e1870dc861
tests/driver_at86rf215: remove gnrc_netif_get_by_type dependency
2021-10-05 14:35:08 +02:00
Jose Alamos
503f5a9ddb
netdev: add netdev_register_signal
2021-10-05 14:35:07 +02:00
Karl Fessel
47e83917c3
sys/auto_init: fix indention
2021-10-05 14:15:57 +02:00
Martine Lenders
e804a738de
Merge pull request #16947 from miri64/gnrc_ipv6_nib/fix/queue-pkts-on-6lbr
...
gnrc_ipv6_nib: queue packets that trigger probing on border router
2021-10-05 14:01:17 +02:00
Alexandre Abadie
c4cc50c8bf
Merge pull request #16943 from aabadie/pr/drivers/pseudomodules_cleanup
...
drivers: move pseudomodules definitions to each driver Makefile.include
2021-10-05 13:41:17 +02:00
Leandro Lanzieri
452333cb36
Makefile.base: cleanup non selected source object files
2021-10-05 13:01:18 +02:00
Alexandre Abadie
2d00852a74
makefiles/pseudomodules: remove driver specific pseudomodules
2021-10-05 11:48:53 +02:00
Alexandre Abadie
2ccdac1b7f
drivers/ws281x: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
Alexandre Abadie
22d9040211
drivers/at: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
Alexandre Abadie
a090f492bb
drivers/at24cxxx: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
Alexandre Abadie
a614e9a36e
drivers/ds18: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
Alexandre Abadie
01de18a855
drivers/qmc5883l: declare pseudomodules at driver level
2021-10-05 11:48:53 +02:00
Alexandre Abadie
81d5b7eefb
drivers/at86rf215: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
Alexandre Abadie
2b3a9b66ea
drivers/bq2429x: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
Alexandre Abadie
6d57d6ab34
drivers/ina3221: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
Alexandre Abadie
df2ad2cdde
drivers/lis2dh12: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
Alexandre Abadie
dc4f9d4c7b
drivers/lpsxxx: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
Alexandre Abadie
2d2e4d10ae
drivers/vcnl40x0: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
Alexandre Abadie
fb193ea5cb
drivers/rn2xx3: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
Alexandre Abadie
982ea7fb6f
drivers/tmp00x: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
Alexandre Abadie
0a2076a89b
drivers/si70xx: declare pseudomodules at driver level
2021-10-05 11:48:52 +02:00
Alexandre Abadie
d2ec49f032
drivers/si114x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
2f7227bd73
drivers/sht1x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
fc5338641e
drivers/sx127x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
a120c2b296
drivers/sx126x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
8a3c103127
drivers/sdp3x: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
79a2ea4713
drivers/pn532: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
003c472339
drivers/mrf24j40: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
60f1615aa3
drivers/lm75: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
82e6df6a50
drivers/ina2xx: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
a6e58f744c
drivers/mpu9x50: declare pseudomodules at driver level
2021-10-05 11:48:51 +02:00
Alexandre Abadie
37a4eed0c4
drivers/mhz19: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
12e2e5546d
drivers/itg320x: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
ed2c0174b8
drivers/hmc5883l: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
f6732f7c82
drivers/ds3231: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
a7c979705a
drivers/cc110x: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
a4e35a467e
drivers/ccs811: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
6fb914653e
drivers/apds99xx: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
749bcd530c
drivers/adcxx1c: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
8bf72ea3ec
drivers/bmx280: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
20a2b7d04c
drivers/bme680: declare pseudomodules at driver level
2021-10-05 11:48:50 +02:00
Alexandre Abadie
57fac91247
drivers/at86rf2xx: declare pseudomodules at driver level
2021-10-05 11:48:49 +02:00
Martine Lenders
96eb2c5050
Merge pull request #16731 from JKRhb/dhcp-stateless
...
sys/net/dhcpv6: Add stateless DHCPv6
2021-10-05 10:13:22 +02:00
benpicco
afde4b0e43
Merge pull request #16939 from aabadie/pr/pkg/qr_code_generator_1.7.0
...
pkg/qr-code-generator: bump to 1.7.0
2021-10-05 00:12:58 +02:00
benpicco
3b002cc4c8
Merge pull request #16821 from jia200x/pr/cc2538/rx_busy
...
cc2538_rf: remove RX Busy detection in request_set_trx_state
2021-10-05 00:08:40 +02:00
benpicco
88b495906b
Merge pull request #16936 from mtausig/update_tinyasn1
...
Update tiny-asn1 package
2021-10-05 00:04:23 +02:00
Mathias Tausig
279c584335
module/credman: Adapt to tiny-asn1 changes
2021-10-04 21:43:13 +02:00
Jan Romann
1db7a2770e
tests/gnrc_dhcpv6_client: Set stateful configuration mode
2021-10-04 21:41:51 +02:00
Jan Romann
ff42d6749b
sys/net/gnrc/dhcpv6: Set stateful configuration mode
2021-10-04 21:41:50 +02:00
Jan Romann
4297bfcdee
tests: Add test for stateless DHCPv6
2021-10-04 21:41:49 +02:00
Jan Romann
c62d6eb834
sys/net/dhcpv6: Implement stateless DHCPv6
2021-10-04 17:40:56 +02:00
Martine Lenders
b8691842fb
gnrc_ipv6_nib: queue packets that trigger probing on border router
2021-10-04 17:25:36 +02:00
chrysn
4673f2c89a
Merge pull request #16941 from chrysn-pull-requests/hacl-use-pkgmirror
...
hacl: Switch git address to RIOT-OS-pkgmirror
2021-10-04 16:10:50 +02:00
chrysn
5cded0df97
hacl: Switch git address to RIOT-OS-pkgmirror
2021-10-04 13:16:26 +02:00
Marian Buschsieweke
62ec63628d
Merge pull request #16474 from liyue75/liyue
...
drivers/w5100/w5100.c: fix TX_WR register's value
2021-10-04 12:45:37 +02:00
Francisco
193ebb51e7
Merge pull request #16913 from jia200x/pr/test/hal/l2util
...
test/ieee802154_hal: general cleanup and cosmetic fixes
2021-10-04 10:06:15 +02:00
Alexandre Abadie
8459b765c0
Merge pull request #16938 from aabadie/pr/pkg/jerryscript-2.4
...
pkg/jerryscript: bump to 2.4.0
2021-10-04 09:47:52 +02:00
Mathias Tausig
225b39b6b9
pkg/tiny-asn1: Adapt unit test to new package version
2021-10-03 21:20:09 +02:00
Mathias Tausig
1cfd50abf2
pkg/tiny-asn1: Update tiny-asn1 package
2021-10-02 21:27:40 +02:00
Alexandre Abadie
46e842653e
pkg/qr-code-generator: bump to 1.7.0
2021-10-02 16:48:02 +02:00
Alexandre Abadie
3e007208f2
Merge pull request #16937 from aabadie/pr/pkg/emlearn_0.12
...
pkg/emlearn: bump to 0.12
2021-10-02 15:50:39 +02:00
Alexandre Abadie
9a289d40fa
pkg/jerryscript: bump to 2.4.0
2021-10-02 15:47:28 +02:00
Alexandre Abadie
17cbab00fd
pkg/emlearn: bump to 0.12
2021-10-02 14:45:10 +02:00
benpicco
bcc32cdde1
Merge pull request #16931 from janosbrodbeck/cleanup/lm75
...
drivers/lm75: minor cleanup
2021-10-02 13:35:05 +02:00
chrysn
c945d4c52f
Merge pull request #16923 from chrysn-pull-requests/continue-on-expected-errors-in-docker
...
docker: pass CONTINUE_ON_EXPECTED_ERRORS into container
2021-10-02 12:57:28 +02:00
benpicco
badadd1337
Merge pull request #16920 from maribu/cpu/avr8_common/bugfix
...
cpu/{atxmega,atmega_common}: fix invalid use of PSTR()
2021-10-01 17:22:29 +02:00
János Brodbeck
c7695fb40f
drivers/lm75: cleanup
2021-10-01 16:21:31 +02:00
chrysn
2219a7a2e3
docker: pass CONTINUE_ON_EXPECTED_ERRORS into container
2021-10-01 15:46:45 +02:00
chrysn
b0628c5ce7
Merge pull request #16927 from kaspar030/pkg_mirror_url
...
make: support package mirrors
2021-10-01 15:46:01 +02:00
332a1a1221
pkg/yxml: add git mirror url
2021-10-01 14:44:10 +02:00
96f50ea52d
.murdock: set PKG_USE_MIRROR=0 for nightlies
2021-10-01 14:44:10 +02:00
92ca97e31b
pkg: support PKG_MIRROR_URL, use if PKG_USE_MIRROR=1 (default)
2021-10-01 13:14:03 +02:00
Leandro Lanzieri
bda69da612
.murdock: add hifive1 and seeedstudio-gd32 to Kconfig test
2021-10-01 11:27:11 +02:00
Leandro Lanzieri
a015508e77
cpu/gd32v: model Kconfig
2021-10-01 11:26:15 +02:00
Leandro Lanzieri
fe8e043c36
cpu/fe310: model Kconfig
2021-10-01 11:26:15 +02:00
Leandro Lanzieri
9557a9dfc4
sys/libc: model Kconfig
2021-10-01 11:26:15 +02:00
Leandro Lanzieri
cf753c6790
cpu/riscv_common: model Kconfig
2021-10-01 11:26:15 +02:00
Leandro Lanzieri
34259e1e29
sys/ztimer: add dependencies for ztimer_sec
2021-10-01 11:26:12 +02:00
Jose Alamos
0fa4b8560b
test/ieee802154_hal: rename long_addr into ext_addr
2021-09-30 17:30:17 +02:00
Jose Alamos
a8b19a1c76
test/ieee802154_hal: use od where possible
2021-09-30 17:30:17 +02:00
Jose Alamos
3b4240dd22
test/ieee802154_hal: use l2util where possible
2021-09-30 17:30:17 +02:00
Jose Alamos
57ee43a048
test/ieee802154_hal/Makefile: use regular event_thread
2021-09-30 17:30:17 +02:00
Jose Alamos
88aaec38e5
test/ieee802154_hal/Makefile: add shell_commands
2021-09-30 17:30:16 +02:00
Jose Alamos
d12d514d7c
test/ieee802154_hal: rename packet to frame
2021-09-30 17:30:16 +02:00
Jose Alamos
d64f073df7
net/link_layer/l2util: initial Kconfig modeling
2021-09-30 17:30:16 +02:00
Marian Buschsieweke
35a1b60068
cpu/{atxmega,atmega_common}: fix invalid use of PSTR()
...
core_panic() doesn't expect the message to be in program memory, but
in data memory. Bad things will happen on AVR when the address is
interpreted as being in data address space, but the allocation is
done in program address space.
2021-09-30 17:15:39 +02:00
benpicco
5a9c659f5d
Merge pull request #16916 from leandrolanzieri/pr/boards/avr-rss2/remove_module_macro
...
boards/avr-rss2: properly enable `atmega_pcint0`
2021-09-30 17:03:11 +02:00
Marian Buschsieweke
7bfc1814ae
Merge pull request #16917 from maribu/cpu/avr8_common/cleanup
...
cpu/avr8_common: Clean up cpu_print_last_inscrution()
2021-09-30 13:29:01 +02:00
Marian Buschsieweke
417bc949ab
cpu/avr8_common: Clean up cpu_print_last_inscrution()
2021-09-30 10:39:21 +02:00
Francisco Molina
c5f0516114
pkg/mynewt-core: use irq_is_enabled()
2021-09-30 10:29:03 +02:00
Leandro Lanzieri
b160e43233
Merge pull request #16837 from fjmolinas/pr_kconfig_nrf52
...
cpu/nrf52: initial kconfig modeling (no netif)
2021-09-30 09:57:11 +02:00
Leandro Lanzieri
6999931262
boards/avr-rss2: properly enable atmega_pcint0 module
2021-09-30 09:27:23 +02:00
benpicco
3253d82eac
Merge pull request #16910 from miri64/tinydtls/bug/no-global-ifindex
...
tinydtls: sock_dtls: only use ifindex with link-local addresses
2021-09-29 17:57:14 +02:00
benpicco
df52b076d3
Merge pull request #16914 from miri64/dns_msg/fix/id-byteorder
...
dns_msg: Use correct byteorder for ID
2021-09-29 17:13:09 +02:00
Jose Alamos
474838ba15
cc2538_rf: remove RX Busy detection in request_set_trx_state
...
This PR removes the RX Busy detection because it doesn't seem to be
reliable enough to ensure the radio is not locked. Some radios such as
nrf802154 don't provide RX Busy detection mechanisms, so this is not
uncommon. It's intended that the MAC layer takes care of this (e.g
slots, CSMA-CA with retransmissions, etc)
2021-09-29 16:05:34 +02:00
José Alamos
280c756c7a
Merge pull request #16826 from jia200x/pr/submac/test/remove_netdev
...
tests/ieee802154_submac: remove netdev dependency
2021-09-29 15:05:43 +02:00
Martine Lenders
8f5561d694
tinydtls: sock_dtls: only use ifindex with link-local addresses
...
For global addresses the out-going interface is typically decided by the
forwarding information base, so _requiring_ the user to set it with
`sock_dtls` is undesirable. This has the caveat, that now on
`sock_udp_send()` in the `_write()` method, the sock does not know via
which network interface to send a packet with a global address, but
again: this is really more a task for the underlying network stack, not
the sock layer.
2021-09-29 14:24:03 +02:00
Martine Lenders
e0ac9d3f45
dns_msg: Use correct byteorder for ID
2021-09-29 13:32:12 +02:00
Jose Alamos
f5b6251a9e
tests/ieee802154_submac: remove netdev dependency
...
Co-authored-by: Francisco Molina <femolina@uc.cl>
2021-09-29 11:05:44 +02:00
Francisco Molina
3e4b35c445
boards/nrf52840dk-nrf52dk-dwm1000: add kconfig dependencies
2021-09-29 10:19:27 +02:00
Francisco Molina
6b276af790
cpu/nrf52: initial kconfig modeling
2021-09-29 10:17:47 +02:00
Francisco Molina
c9de733c52
cpu/nrf52/Makefile.dep: move radio dependencies from boards/common
2021-09-29 10:16:31 +02:00
Francisco Molina
36d1911e65
dirvers/mtd: use imply instead of select
...
Using imply allow for user to deselect the default MTD backends
2021-09-29 10:13:51 +02:00
benpicco
a39c0e1010
Merge pull request #16750 from benpicco/gnrc_ipv6_auto_subnets
...
gnrc/ipv6_auto_subnets: relax topology requirements
2021-09-28 19:07:21 +02:00
Benjamin Valentin
c1a50b0ca2
examples/gnrc_networking_subnets: update documentation
2021-09-28 17:02:45 +02:00
Benjamin Valentin
6742fb8076
gnrc/ipv6_auto_subnets: relax topology requirements
2021-09-28 16:57:10 +02:00
benpicco
7bfcda979b
Merge pull request #16906 from benpicco/rtt_rtc.h-doxfix
...
rtt_rtc: clarify documentation about epoch
2021-09-28 16:11:34 +02:00
Jose Alamos
f6a2b58900
tests/ieee802154_submac: remove unused macro
2021-09-28 15:53:06 +02:00
Benjamin Valentin
928c593bca
rtt_rtc: clarify documentation about epoch
...
`epoch` in this context refers to `RIOT_EPOCH`, not Unix Epoch.
Clarify the documentation to avoid confusion.
2021-09-28 15:12:14 +02:00
benpicco
6d9db1673d
Merge pull request #16902 from maribu/cpu/avr8_common/float
...
cpu/avr8_common: implement printf_float
2021-09-28 14:28:29 +02:00
Francisco
211c1a51d8
Merge pull request #16886 from bissell-homecare-inc/g030_ram_len
...
cpu/stm32: added RAM_LEN identifier for stm32g03x
2021-09-28 13:40:42 +02:00
Marian Buschsieweke
b12a8103e3
cpu/avr8_common: implement printf_float
2021-09-28 12:35:43 +02:00
Martine Lenders
a09bb8f776
Merge pull request #16820 from miri64/tests/enh/gnrc_dhcpv6_client-kill-old-kea
...
tests/gnrc_dhcpv6_client: kill potential previous Kea session
2021-09-27 22:14:10 +02:00
Martine Lenders
012b62b96e
tests/gnrc_dhcpv6_client: inform user about TMPDIR
2021-09-27 20:57:39 +02:00
Martine Lenders
4c9547b388
tests/gnrc_dhcpv6_client: kill potential previous Kea session
2021-09-27 20:57:39 +02:00
Leandro Lanzieri
0129cbe954
Merge pull request #16594 from fjmolinas/pr_sys_fortuna_reseed_ms
...
sys/random/fortuna: change interval ressed to ms
2021-09-27 20:46:06 +02:00
Francisco Molina
c307caddf1
tests: add atomic_utils test to Kconfig
2021-09-27 17:30:05 +02:00
Francisco Molina
1af2462404
sys/fortuna: remove need for now64
...
Use a timer to required a reseed, enable use of plain ztimer (no now64)
2021-09-27 17:30:05 +02:00
benpicco
7313a1c28c
Merge pull request #16895 from benpicco/RIOT_VERSION_CODE-fallback
...
build system: add fallback for RIOT_VERSION_CODE
2021-09-27 16:23:01 +02:00
Benjamin Valentin
74a0f8d8b9
build system: add fallback for RIOT_VERSION_CODE
...
If the repository was checked out without tags, parsing RIOT_VERSION
will fail.
Fall back to creating a fake release version code based on the current
year and month.
2021-09-27 14:32:30 +02:00
José Alamos
1ee57f80a0
Merge pull request #15030 from jia200x/pr/lora/remove_xtimer
...
drivers/sx127x: remove ZTIMER_USEC dependency
2021-09-27 11:41:22 +02:00
Francisco Molina
8e675cd64f
makefiles/features_modules.inc.mk: add periph_rtc_rtt to init ignore
2021-09-27 10:25:11 +02:00
Jose Alamos
e312155f30
drivers/sx127x: remove ZTIMER_USEC dependency
2021-09-27 10:22:06 +02:00
Martine Lenders
5e81bd56b0
Merge pull request #16894 from maribu/makefiles/vars.inc.mk
...
makefiles/vars.inc.mk: Document DEVELHELP and VERBOSE_ASSERT
2021-09-26 13:42:24 +02:00
benpicco
d1768e95a5
Merge pull request #16885 from bissell-homecare-inc/g0_adc
...
cpu/stm32: added ADC for g0
2021-09-25 18:32:19 +02:00
Marian Buschsieweke
65ddc09798
makefiles/vars.inc.mk: Document DEVELHELP and VERBOSE_ASSERT
2021-09-25 15:16:09 +02:00
benpicco
01b255ee7d
Merge pull request #16888 from fjmolinas/pr_event_thread_stacktest
...
sys/event/thread: add STACKSTEST flag
2021-09-25 01:23:55 +02:00
Hauke Petersen
e53d6c016e
Merge pull request #16890 from haukepetersen/fix_nimbleconn_getitvl
...
nimble/netif_conn: fix _conn_get_itvl_ms()
2021-09-24 19:08:02 +02:00
Hauke Petersen
625d5544ad
nimble/netif_conn: fix _conn_get_itvl_ms()
2021-09-24 17:28:09 +02:00
benpicco
025892a0cc
Merge pull request #16884 from benpicco/VERBOSE_ASSERT
...
build system: add VERBOSE_ASSERT flag
2021-09-24 16:48:56 +02:00
Benjamin Valentin
3e7999387c
tools/zep_dispatch: don't graph links with weight 0
2021-09-24 16:26:36 +02:00
Alexandre Abadie
1b83ecdd5d
Merge pull request #16881 from bissell-homecare-inc/add_g0_apbmul
...
added APB12 bus multiplier entry for applicable cpus
2021-09-24 16:25:07 +02:00
Dave VanKampen
ef6fc615ab
boards/nucleo-g071rb: Added ADCs 0-5 for g071 nucleo
2021-09-24 10:21:17 -04:00
Dave VanKampen
f278df5c96
boards/nucleo-g070rb: Added ADCs 0-5 for g070 nucleo
2021-09-24 10:21:10 -04:00
Francisco Molina
ae5e10bc26
sys/event/thread: add STACKSTEST flag
2021-09-24 16:20:35 +02:00
Dave VanKampen
6414c64f89
cpu/stm32: added ADC for g0
2021-09-24 10:20:09 -04:00
Benjamin Valentin
9267d9dd61
build system: add VERBOSE_ASSERT flag
...
Add a compile-time convenience variable to enable verbose asserts.
2021-09-23 16:14:16 +02:00
Dave VanKampen
664f5d156d
cpu/stm32: added RAM_LEN identifier for stm32g03x
2021-09-23 10:06:33 -04:00
Dave VanKampen
7ab8ec391a
cpu/stm32: added APB12 bus multiplier entry for applicable cpus
2021-09-23 08:46:52 -04:00
benpicco
004b93edca
Merge pull request #16880 from vera/drivers/lps22hh
...
drivers/lpsxxx: add support for lps22hh
2021-09-23 00:20:09 +02:00
benpicco
01dacc1fe5
Merge pull request #16883 from kaspar030/riotboot_inttypes_include
...
sys/riotboot: add missing "inttypes.h" include
2021-09-23 00:19:51 +02:00
benpicco
6d33e360f6
Merge pull request #16882 from kaspar030/bench_msg_pingpong_stding
...
tests/bench_msg_pingpong: add stdint.h include (for clang & stdatomic.h)
2021-09-22 21:25:32 +02:00
benpicco
b1af25d4c6
Merge pull request #16743 from benpicco/net/sock/tcp-doc_fix
...
sock: tcp: fix sock_tcp_read() example
2021-09-22 20:58:49 +02:00
benpicco
3e285a2c4a
Merge pull request #16878 from mariemC/auto_init_compatibilty
...
sys/auto_init: change gnrc ipv6 and tcp types.
2021-09-22 20:48:01 +02:00
benpicco
cc3df3ec85
Merge pull request #16822 from benpicco/cpu/native-stdio
...
cpu/native: make use of stdio_read() / stdio_write()
2021-09-22 20:47:45 +02:00
136f59bc2c
sys/riotboot: add missing "inttypes.h" include
2021-09-22 20:47:12 +02:00
0446ce2934
tests/bench_msg_pingpong: add stdint.h include (for clang & stdatomic.h)
2021-09-22 20:44:42 +02:00
Vera Clemens
06359e05ad
drivers/lpsxxx: add support for lps22hh
2021-09-22 17:54:02 +02:00
Karl Fessel
c1e4a28c9b
Merge pull request #16877 from kfessel/p-add-risc-v-cpuarch-info
...
cpu/riscv,gd32,fe310: add CPU_ARCH, CPU_CORE information
adds CPU_ARCH to riscv_common preparing to handle it like cortex-m does
adds CPU_CORE to gd32v and fe310
match Kconfig to Makefile changes
2021-09-22 17:30:35 +02:00
Benjamin Valentin
13e16fa34f
cpu/native: make use of stdio_read() / stdio_write()
...
On `native` the functions stdio_read() / stdio_write() were not
used.
Those functions are intended for alternative stdio implementations.
As a result, no alternative stdio could be used on `native`.
To fix this, call the functions in `_native_read()` / `_native_write()`
when dealing with stdio fds.
2021-09-22 17:22:30 +02:00
Karl Fessel
baf07e881e
cpu/fe310: add CPU_CORE information
2021-09-22 15:51:54 +02:00
Karl Fessel
fe03c4c059
cpu/riscv,gd32: match Kconfig to Makefile changes
2021-09-22 15:50:28 +02:00
Karl Fessel
645cb04c4d
cpu/riscv,gd32v: add CPU_ARCH, CPU_CORE information
...
adds CPU_ARCH to riscv_common preparing to handle it like cortex-m does
adds CPU_CORE to gd32v
2021-09-22 14:39:44 +02:00
mariem
9b9048af86
sys/auto_init: change gnrc ipv6 and tcp types.
2021-09-22 14:01:41 +02:00
Martine Lenders
ea8e632eda
Merge pull request #16765 from benpicco/RIOT_VERSION_CODE
...
build system: add machine-readable RIOT_VERSION_CODE macro
2021-09-22 12:47:35 +02:00
Koen Zandberg
6cdd54e425
Merge pull request #16876 from jnohlgard/riscv-startup-absolute-fix
...
riscv: Simplify reset trampoline
2021-09-22 12:41:12 +02:00
Joakim Nohlgård
b70a4b7694
riscv: Simplify reset trampoline
...
By loading the absolute address of _start_real we can unconditionally
jump to it regardless if the PC is somewhere at 0x0 or at ROM_START_ADDR
2021-09-22 10:37:23 +02:00
Francisco
0b7eb2bbc9
Merge pull request #16836 from fjmolinas/pr_kconfig_mtd
...
drivers/mtd: fix Kconfig dependencies
2021-09-22 10:08:14 +02:00
Francisco Molina
14ef09b8b4
drivers/mtd: fix Kconfig dependencies
...
Currently implementations of the MTD api are selecting the module,
this makes it easy for default backends to be selected. But the
correct modeling is simply selecting the MTD api and then selecting
a backend. BOARDs providing one of the backends can expose this and
then that backend can be selected by default.
There is also currently nothing preventing from using the MTD api
with no backend since a mock backend can easily be provided as is
done in all mtd tests.
2021-09-22 09:22:51 +02:00
Francisco Molina
af746208dc
tests/mtd_raw: add Kconfig
2021-09-22 09:22:15 +02:00
Benjamin Valentin
eaf5162b5d
tests/unittests: add test for kernel_defines
2021-09-21 17:43:29 +02:00
Benjamin Valentin
7ef2594327
core/include/kernel_defines.h: add RIOT_VERSION_NUM macro
2021-09-21 17:43:29 +02:00
benpicco
3090657b79
Merge pull request #16848 from benpicco/mtd_write_page-sector
...
mtd: fix mtd_write_page() across sector boundaries
2021-09-21 16:50:12 +02:00
Benjamin Valentin
969d61b95a
tests/mtd_raw: add test for mtd_write_page() across sectors
2021-09-21 15:20:02 +02:00
Benjamin Valentin
6f9b05cad8
mtd: fix mtd_write_page() across sector boundaries
2021-09-21 15:20:02 +02:00
Martine Lenders
fb05da46e3
Merge pull request #16874 from leandrolanzieri/pkg/tinydtls/fix_kconfig_detection
...
pkg/tinydtls: fix detection of Kconfig usage
2021-09-21 13:07:23 +02:00
Leandro Lanzieri
450884acf5
pkg/tinydtls: fix detection of Kconfig usage
2021-09-21 11:57:31 +02:00
Francisco
2d0a6874c7
Merge pull request #16763 from benpicco/drivers/lm75-saul
...
drivers/lm75: add SAUL integration
2021-09-21 10:41:58 +02:00
Benjamin Valentin
79c67429a0
tests/driver_lm75: don't abort if alarm pin is not connected
2021-09-20 14:50:23 +02:00
Francisco
92fc4ace65
Merge pull request #16871 from fjmolinas/pr_edhoc_llvm
...
pkg/edhoc-c: ignore llvm flagged error
2021-09-20 12:13:33 +02:00
Francisco Molina
ea86dad7fd
pkg/edhoc-c: ignore llvm flagged error
2021-09-20 11:34:30 +02:00
Martine Lenders
dc22c7294c
Merge pull request #16263 from leandrolanzieri/pr/sys/credman_add_pub_key_load
...
sys/credman: add key load functions
2021-09-20 10:03:12 +02:00
Leandro Lanzieri
e0b9d8b602
tests/unittests/credman: add tests for key load functions
2021-09-20 08:11:01 +02:00
Leandro Lanzieri
9980aa35b3
sys/net/credman: add key loading functions
...
This allows to load private and public keys encoded in DER format.
2021-09-20 08:10:59 +02:00
chrysn
b6dee72161
Merge pull request #16869 from chrysn-pull-requests/802154_submac-docs-syntax
...
ieee802154_submac doc: Make readable in doxygen builds
2021-09-19 11:11:22 +02:00
chrysn
eaf6219af3
ieee802154_submac doc: Make readable in doxygen builds
2021-09-18 21:32:26 +02:00
Martine Lenders
7bf1fad7cc
Merge pull request #16839 from haukepetersen/opt_nimble_scannererrno
...
nimble/scanner: migrate to errno return values
2021-09-17 16:22:29 +02:00
benpicco
bcb46460b7
Merge pull request #16859 from haukepetersen/fix_nimble_addr_byteorder
...
nimble/addr|scanlist: fix nimble_addr_sprint() and use in nimble_scanlist_print()
2021-09-17 14:53:26 +02:00
Hauke Petersen
8ac2ad8531
shell/sc_nimble_netif: adapt to scanner API change
2021-09-17 14:46:05 +02:00
Hauke Petersen
2de3275c1e
nimble/scanner: migrate to use errno return values
2021-09-17 14:46:05 +02:00
Hauke Petersen
8694af52c6
nimble/scanner: rename and optimize status func
2021-09-17 14:46:05 +02:00
benpicco
ea80df1780
Merge pull request #16824 from benpicco/gnrc_netif_ipv6_wait_for_prefix
...
gnrc/netif: add gnrc_netif_ipv6_wait_for_global_address()
2021-09-17 14:32:53 +02:00
Martine Lenders
a606d8a8ea
Merge pull request #16865 from benpicco/drivers/cc110x-submodules
...
drivers/cc110x: use pseudo-modules for band selection
2021-09-17 13:54:42 +02:00
Martine Lenders
75c9aaceb4
Merge pull request #15946 from jia200x/pr/gnrc_lorawan_redundancy
...
net/gnrc_lorawan: implement unconfirmed uplink redundancy
2021-09-17 13:38:10 +02:00
Benjamin Valentin
ea3e23eda3
tests: add test for gnrc_netif_ipv6_wait_for_global_address()
2021-09-17 13:00:15 +02:00
Benjamin Valentin
9c783ac7c4
gnrc/netif: accept const addr in gnrc_netif_ipv6_addr_add/remove()
2021-09-17 13:00:15 +02:00
Benjamin Valentin
4bd53e70fa
gnrc/netif: add gnrc_netif_ipv6_wait_for_global_address()
...
This adds a function to wait until a global address becomes available.
2021-09-17 13:00:14 +02:00
Benjamin Valentin
25a5df2166
boards: select 868 MHz band for CC110x
2021-09-17 12:58:10 +02:00
Benjamin Valentin
67f737b5e0
drivers/cc110x: use pseudo-modules for band selection
2021-09-17 12:58:10 +02:00
chrysn
f93d1276b4
Merge pull request #16867 from miri64/dist/enh/use-fstrings-where-warned
...
dist/tools: use f-strings where possible
2021-09-17 12:34:17 +02:00
Martine Lenders
5204c29890
dist/tools/compile_and_test_for_board: use f-strings where possible
2021-09-17 12:04:04 +02:00
Martine Lenders
9254cffdda
dist/tools/backport_pr: use f-strings where possible
2021-09-17 12:04:04 +02:00
Martine Lenders
913573a200
Merge pull request #16702 from miri64/ut_process/feat/initial
...
ut_process: initial import of a URI template processor
2021-09-17 09:43:20 +02:00
benpicco
d8000e74ca
Merge pull request #16825 from viktorbatista/lm75_again
...
drivers/lm75: fixed a typo in Kconfig
2021-09-16 22:28:45 +02:00
benpicco
1c4293b0a4
Merge pull request #16847 from jeandudey/2021_09_14-doc-adafruit-clue
...
boards/adafruit-clue: fix doxygen warnings
2021-09-16 22:27:42 +02:00
benpicco
b6a2d08afc
Merge pull request #15915 from fabian18/ina3221-fixes
...
drivers/ina3221: style fixes and improvements
2021-09-16 22:22:33 +02:00
Martine Lenders
77f7db1e0d
Merge pull request #15981 from miri64/doc/enh/porting-graph
...
doc/porting-boards.md: improve with porting graph and reference section
2021-09-16 18:53:40 +02:00
Martine Lenders
c844c73629
tests/unittests: provide test cases for ut_process
2021-09-16 18:18:48 +02:00
Martine Lenders
7c60f6031c
ut_process: initial import of a URI template processor
2021-09-16 18:18:48 +02:00
Martine Lenders
aaa9512d50
doc/porting-boards.md: improve with porting graph and reference section
2021-09-16 16:54:42 +02:00
Martine Lenders
e16925aab3
Merge pull request #16838 from haukepetersen/opt_nimblenetif_errno
...
pkg/nimble/netif: migrate to use errno return values
2021-09-16 16:53:43 +02:00
benpicco
ba481dda8b
Merge pull request #16863 from benpicco/cc2538_rfcore
...
cpu/cc2538: don't pollute global namespace with cc2538_rfcore.h
2021-09-16 16:06:10 +02:00
Benjamin Valentin
97de8afaf6
cpu/cc2538: don't pollute global namespace with cc2538_rfcore.h
...
`cc2538_rfcore.h` contains enums with non-prefixed single-word constants.
Those cause ugly naming conflicts down the line.
Only include the file when needed, don't include it in `cpu_conf.h` which
gets pulled in everywhere.
2021-09-16 15:31:22 +02:00
benpicco
35656d3462
Merge pull request #16862 from kaspar030/fix_nimble_autoadv_isactive
...
pkg/nimble: fix `if(IS_ACTIVE(..) && CONSTANT)` with llvm
2021-09-16 15:04:00 +02:00
94e314c914
pkg/nimble: fix if(IS_ACTIVE(..) && CONSTANT) with llvm
...
Fixes
```
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: use '&' for a bitwise operation
if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
^~
&
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: remove constant to silence this warning
if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2021-09-16 14:01:33 +02:00
Hauke Petersen
1486c419fa
nimble/scanlist: use nimble_addr_print()
2021-09-16 10:29:04 +02:00
Hauke Petersen
0b8af3a3bc
nimble/addr: fix byte-order and string termination
2021-09-16 10:23:43 +02:00
788517c61e
Merge pull request #16858 from benpicco/CODEOWNERS-roberthartung
...
CODEOWNERS: remove Robert Hartung
2021-09-15 22:31:23 +03:00
chrysn
0af6a5a7b5
Merge pull request #16857 from dylad/pr/docker/fix_particle_based_board_flashing
...
makefiles/docker.inc.mk: pass PARTICLE_MONOFIRMWARE to docker env vars
2021-09-15 20:01:14 +02:00
Benjamin Valentin
9a95d9605f
CODEOWNERS: remove Robert Hartung
...
> I was quite busy with my PhD thesis (and still am), therefore, feel free
> to take me off the active maintainers list.
> Note: I am still listed as a code owner at some places, can you remove
> @roberthartung from there for now as well?
2021-09-15 16:23:11 +02:00
Martine Lenders
4e6fea799e
Merge pull request #16856 from benpicco/riot-logo
...
README.md: add graphical logo
2021-09-15 15:49:41 +02:00
Dylan Laduranty
c6b6c71a42
makefiles/docker.inc.mk: pass PARTICLE_MONOFIRMWARE to docker env vars
...
This will allow the generation of the bin-checksummed file needed by dfu-util flashtool and thus allow to flash the all particle-based board with RUN_IN_DOCKER=1
2021-09-15 15:45:05 +02:00
Benjamin Valentin
c0f8c0c5c7
README.md: add graphical logo
2021-09-15 14:56:48 +02:00
4fd1ae89a7
Merge pull request #16463 from kfessel/p-sched-int
...
core/sched: add runq_callback hook and runq inspection functions
2021-09-15 15:43:50 +03:00
6c739935d8
Merge pull request #16818 from kaspar030/core_ps_interface
...
core/thread: add getters for thread_t
2021-09-15 14:52:32 +03:00
f0d8f1295f
sys/ps: use getters for thread_t fields
2021-09-15 10:16:45 +02:00
2b2c5fe746
core/thread: provide getters for thread_t fields as used by ps()
2021-09-15 10:16:45 +02:00
benpicco
abeb9c871d
Merge pull request #16745 from jia200x/pr/gnrc_netif_pktq/fix_deschedule
...
gnrc_netif_pktq: schedule immediately if timer us is equal to zero
2021-09-15 00:16:42 +02:00
benpicco
bfe64fe66a
Merge pull request #16849 from HendrikVE/pr/wolfmqtt_split_1
...
sys/posix/socket: fix wrong member access
2021-09-14 17:50:08 +02:00
benpicco
0a6bc059b7
Merge pull request #16854 from benpicco/cpu/cc26x0_cc13x0-fix
...
cpu/cc26x0_cc13x0: fix build
2021-09-14 15:41:28 +02:00
Benjamin Valentin
f6950daf4c
cpu/cc26x0_cc13x0: fix build
2021-09-14 14:58:03 +02:00
Hendrik van Essen
e4bd2c5ffe
sys/posix/socket: use explicit bind
...
implicit bind would lead to StoreProhibitedCause on esp32
2021-09-14 13:30:37 +02:00
Jean-Pierre De Jesus DIAZ
70b074ff8f
boards/adafruit-clue: fix doxygen warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-14 11:16:50 +02:00
Martine Lenders
0386aea20e
Merge pull request #16846 from jeandudey/2021_09_14-exclude-c.utf8
...
dist/tools/doccheck: generate exclude_patterns using C.UTF-8
2021-09-14 10:56:50 +02:00
Jean-Pierre De Jesus DIAZ
7fe67ea285
dist/tools/doccheck: generate exclude_patterns using C.UTF-8
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-14 10:21:35 +02:00
Jean Pierre Dudey
ffff68deaf
Merge pull request #16813 from jeandudey/doc1
...
cpu: fix doxygen grouping warnings
2021-09-13 11:30:27 +02:00
Jean Pierre Dudey
cd728e08c6
Merge pull request #16764 from brummer-simon/gnrc_tcp-experimental_dynamic_MSL
...
gnrc_tcp: experimental feature "dynamic msl"
2021-09-13 10:36:54 +02:00
Dylan Laduranty
027933de9e
Merge pull request #16835 from luisan00/feature/samd21-xpro_usb
...
boards/samd21-xpro: Add peripheral usbdev to samd21-xpro
2021-09-13 09:44:41 +02:00
chrysn
88de3c3d31
Merge pull request #16841 from chrysn-pull-requests/802154-security-expectations
...
net/ieee802154_security doc: Shape security expectations
2021-09-13 07:44:50 +02:00
chrysn
5710d5ff34
net/ieee802154_security doc: Shape security expectations
2021-09-12 20:20:00 +02:00
Jean-Pierre De Jesus DIAZ
6f8803e34f
dist/tools/doccheck: update exclude_patterns
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
d2a6745855
cpu/mips32r2_common: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
d1f9cd0647
cpu/native: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
3de8f247c3
cpu/lpc23xx: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
209304ccb8
cpu/lpc1768: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
8061e99be4
cpu/qnx908x: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
63017413e9
cpu/msp430*: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
22a7e1af03
cpu/riscv_common: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
cedf0b061d
cpu/kinetis: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
5750dc0270
cpu/cc2538: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
51bab0a5a9
cpu/cortexm_common: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
0d9f6ca3f4
cpu/cc26xx_cc13xx: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
35d1a2fc02
cpu/esp*: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Jean-Pierre De Jesus DIAZ
480e22be66
cpu/sam*: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-11 12:45:15 +02:00
Hauke Petersen
dadd7028d3
nimble/autoconn: adapt to new return values
2021-09-10 21:11:30 +02:00
Hauke Petersen
819bc54aae
nimble/rpble: adapt to new return values
2021-09-10 21:11:19 +02:00
Hauke Petersen
a83b171330
shell/sc_nimble_netif: adapt to new return values
2021-09-10 21:10:53 +02:00
Hauke Petersen
6ffbd2a046
pkg/nimble/netif: fix doxygen leftover
2021-09-10 21:10:16 +02:00
Hauke Petersen
8982fdb0fc
pkg/nimble/netif_conn: fix doxygen
2021-09-10 21:08:57 +02:00
Hauke Petersen
2a65637853
pkg/nimble/netif: migrate return values to errno
2021-09-10 21:07:33 +02:00
luisan00
8f7575983c
boards:samd21-xpro add peripheral usbdev
2021-09-10 16:09:31 +02:00
Hauke Petersen
32212df463
Merge pull request #16603 from haukepetersen/add_nimble_diradv
...
pkg/nimble/netif: add nimble_netif_accept_direct()
2021-09-09 23:29:43 +02:00
benpicco
d04eb369cb
Merge pull request #16831 from kfessel/p-gnrc-short-recv-short-timeout
...
gnrc/sock: recv avoid spinning xtimer
2021-09-09 23:17:31 +02:00
Karl Fessel
be28c537b3
gnrc/sock: recv avoid spinning xtimer
2021-09-09 22:41:39 +02:00
Hauke Petersen
e4b76b2ac4
Merge pull request #16830 from fjmolinas/pr_nimble_bump_ver_cleanup
...
pkg/nimble: bump version, rmv patches
2021-09-09 18:48:41 +02:00
Hauke Petersen
9106c56810
sc/nimble_netif: add cmd for diricted advertising
2021-09-09 15:19:10 +02:00
Hauke Petersen
5959d0de2c
pkg/nimble/netif: add nimble_netif_accept_direct()
2021-09-09 15:19:10 +02:00
Koen Zandberg
45521e7d58
Merge pull request #16829 from benpicco/pkg/nanocbor-bump
...
pkg/nanocbor: bump version
2021-09-09 15:15:27 +02:00
Francisco Molina
24a131ebe0
pkg/nimble: bump version, rmv patches
2021-09-09 13:48:52 +02:00
Benjamin Valentin
e80cedf6a8
pkg/nanocbor: bump version
2021-09-09 13:42:41 +02:00
Koen Zandberg
174ee0175f
Merge pull request #16828 from nmeum/pr/ipv6_addr_to_str-typo
...
ipv6: fix typo in ipv6_addr_to_str documentation
2021-09-09 13:01:49 +02:00
Kevin "Tristate Tom" Weiss
4c6dc973c8
Merge pull request #16719 from MrKevinWeiss/pr/kconfig/cc2538
...
cpu/cc2538: Add Kconfig support
2021-09-09 08:21:09 +02:00
Sören Tempel
71f933312d
ipv6: fix typo in ipv6_addr_to_str documentation
...
It doesn't make any sense that `result_len` should specify the length of
`result_len`. Instead, `result_len` should specify the length of the
`result` parameter.
2021-09-09 03:56:39 +02:00
Peter Kietzmann
b98fa6d9d0
Merge pull request #16489 from Ollrogge/fido2_pr
...
FIDO2 support in RIOT
2021-09-08 21:14:52 +02:00
benpicco
69b7db2d94
Merge pull request #16802 from fjmolinas/pr_stm32_periph_rtc_mem
...
cpu/stm32: add rtc_mem
2021-09-08 19:11:55 +02:00
benpicco
bcaaaec66f
Merge pull request #16814 from dylad/pr/cpu/nrf9160_add_twi_and_spi_support
...
cpu/nrf9160: add twi and spi support
2021-09-08 19:11:37 +02:00
Jose Alamos
b9da266820
ieee802154/submac: add missing dependency to random
2021-09-08 17:29:44 +02:00
Martine Lenders
45af7058cd
tests/gnrc_dhcpv6_client: pipe command output to /dev/null
2021-09-08 16:58:28 +02:00
Karl Fessel
f65f3c7240
Merge pull request #16797 from miri64/tests/enh/gnrc_dhcpv6_client-config-checker
...
tests/gnrc_dhcpv6_client: add script to check if $IFACE exists
first check-config use🎉
2021-09-08 16:53:35 +02:00
benpicco
e9424c3446
Merge pull request #16556 from jia200x/pr/improve_hal_test
...
tests/ieee802154_hal: check error codes and improve error reporting
2021-09-08 16:49:56 +02:00
Ollrogge
e127a4d865
FIDO2 support in RIOT
2021-09-08 15:22:40 +02:00
MrKevinWeiss
064a1dc5f3
.murdock: Add kconfig tests for remote-revb
2021-09-08 12:40:33 +02:00
MrKevinWeiss
ebcb86ce72
tests/pkg_littlefs2: arduino-mega2560 no longer fits
2021-09-08 12:40:32 +02:00
MrKevinWeiss
50b0e36ee9
tests/iee802154_*: Add app.config.test
2021-09-08 12:40:32 +02:00
MrKevinWeiss
483bca453e
boards/common/remote: Add Kconfig for remote boards
2021-09-08 12:40:32 +02:00
MrKevinWeiss
537c4c7096
cpu/cc2538: Add Kconfig cpu and radio
2021-09-08 12:40:31 +02:00
MrKevinWeiss
99d43a7223
drivers/netdev,sys/net: Add kconfig for netdev
2021-09-08 12:40:31 +02:00
MrKevinWeiss
636c6c4cdb
cpu/cortexm: Use DEVELHELP to add stack guard
2021-09-08 12:40:30 +02:00
Vitor Batista
d742b0f7c1
drivers/lm75: minor fixes related to the CONFIG_LM75_I2C_ADDR variable
2021-09-08 12:27:49 +02:00
Kevin "Tristate Tom" Weiss
73e32207df
Merge pull request #16052 from miri64/dist/enh/genconfig-env
...
makefiles/kconfig.mk: generate config file from RIOT_CONFIG_% environment variables
2021-09-08 11:00:59 +02:00
benpicco
639811d7c0
Merge pull request #16819 from fjmolinas/pr_edhoc_blacklist_nimble_revert
...
pkg/edhoc-c: remove nimble blacklist
2021-09-07 21:29:24 +02:00
benpicco
86f42068ae
Merge pull request #16823 from jia200x/pr/submac/fix_rx_continuous
...
ieee802154/submac: fix leftovers of #16746
2021-09-07 21:28:11 +02:00
Jose Alamos
9089d224b8
tests/ieee802154_hal: improve error reporting
2021-09-07 17:17:46 +02:00
Jose Alamos
0f14f826d1
tests/ieee802154_hal: wait for IFS during transmission
2021-09-07 17:17:45 +02:00
Jose Alamos
fd81b978fc
tests/ieee802154_hal: use _set_trx_state where possible
2021-09-07 17:17:45 +02:00
Jose Alamos
c464ab7e7c
tests/ieee802154_hal: spin if radio is BUSY on trx_state request
2021-09-07 17:04:31 +02:00
Jose Alamos
201c2e7a82
tests/ieee802154_submac: synchronize FSM with mutex
2021-09-07 16:55:10 +02:00
Jose Alamos
8e6895352e
ieee802154/submac: add missing state transitions if radio doesn't stay in RX
2021-09-07 16:09:22 +02:00
Hendrik van Essen
93604f3181
sys/posix/socket: fix ip member access
2021-09-07 15:39:06 +02:00
Hendrik van Essen
bf47e436d8
sys/posix/socket: fix tcp member access
2021-09-07 15:39:06 +02:00
Martine Lenders
eaeea8a4fe
Merge pull request #16817 from benpicco/netdev_default-fixup
...
examples, tests: replace gnrc_netdev_default with netdev_default
2021-09-07 14:19:27 +02:00
Martine Lenders
73d5997e70
tests/gnrc_dhcpv6_client: use export function to set IFACE for server
2021-09-07 13:48:51 +02:00
Martine Lenders
76c04bd647
tests/gnrc_dhcpv6_client: add script to check if $IFACE exists
2021-09-07 13:48:34 +02:00
Martine Lenders
5a44f6b4cf
doc: add documentation on RIOT_CONFIG_ variables
2021-09-07 11:23:12 +02:00
Martine Lenders
c851ec60b8
buildsystem_sanity_check: Check for RIOT_CONFIG_* variables
2021-09-07 11:23:12 +02:00
Francisco Molina
8e17b67a2f
cpu/stm32: add rtc_mem
2021-09-07 10:06:31 +02:00
Francisco Molina
da0b06ddee
pkg/edhoc-c: remove nimble blacklist
2021-09-07 09:35:12 +02:00
Francisco Molina
ca9198183d
pkg/tinycryp: supress llvm warning
2021-09-07 09:35:00 +02:00
Francisco
a6f3bc9c3b
Merge pull request #16540 from fjmolinas/pr_nimble_tinycrypt
...
pkg/nimble: use tinycrypt pkg
2021-09-07 09:31:49 +02:00
Dylan Laduranty
633ddee360
pkg/uwb-core: don't pull unwanted dependencies for nRF9160
...
As nRF9160 doesn't have a bluetooth radio, we should not pull the same dependencies as nRF52, thus ensure these dependencies are only added for nrf5x families
2021-09-07 09:27:39 +02:00
Dylan Laduranty
ed655ab29b
pkg/mynewt-core: don't pull unwanted dependencies for nRF9160
...
As nRF9160 doesn't have a bluetooth radio, we should not pull the same dependencies as nRF52, thus ensure these dependencies are only added for nrf5x families
2021-09-07 09:27:11 +02:00
Benjamin Valentin
ae2fde4edb
examples, tests: replace gnrc_netdev_default with netdev_default
...
Those were merged in the meantime, update the Makefiles as well.
2021-09-06 21:06:29 +02:00
benpicco
f79207e217
Merge pull request #16744 from benpicco/gnrc_netdev_default
...
gnrc: deprecate gnrc_netdev_default, use netdev_default instead
2021-09-06 21:03:16 +02:00
dylad
0c60a2a600
boards/nrf9160dk: add TWI and SPI configuration
2021-09-06 20:15:18 +02:00
dylad
1beda0f1e4
cpu/nrf9160: add TWI and SPI support
2021-09-06 20:15:18 +02:00
Benjamin Valentin
5b2597307c
tests: remove unneeded netdev_default
2021-09-06 15:48:28 +02:00
Benjamin Valentin
4a32402c10
tests/driver_kw2xrf: use gnrc for test
2021-09-06 15:43:40 +02:00
Benjamin Valentin
9a6fc85b16
treewide: replace gnrc_netdev_default with netdev_default
2021-09-06 15:43:40 +02:00
Benjamin Valentin
459f3987d0
gnrc: select gnrc_netif if netdev_default is selected
...
A generic application might select netdev_default instead of
gnrc_netdev_default to pull in the default network interface.
So pull in gnrc_netif if netdev_default is selected with GNRC.
2021-09-06 15:43:40 +02:00
Marian Buschsieweke
467236dba8
Merge pull request #16815 from maribu/cpu/cc2538
...
cpu/cc2538/periph/spi: move assert to spi_acquire
2021-09-06 12:56:56 +02:00
Marian Buschsieweke
5964dea70c
cpu/cc2538/periph/spi: move assert to spi_acquire
2021-09-06 10:52:35 +02:00
Jean-Pierre De Jesus DIAZ
9d1cff3b55
cpu/stm32: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-05 20:39:15 +02:00
Jean-Pierre De Jesus DIAZ
1759014134
cpu/avr8_common: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-05 20:38:52 +02:00
Jean-Pierre De Jesus DIAZ
8c9759063e
cpu/arm7_common: fix doxygen grouping warnings
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-09-05 20:38:30 +02:00
chrysn
7381fb638a
Merge pull request #16113 from chrysn-pull-requests/cord-extraargs
...
sys/net/app/cord: Support the addition of extra registration arguments
2021-09-04 16:43:16 +02:00
Simon Brummer
1870e8a3ce
gnrc_tcp: experimental feature "dynamic msl"
2021-09-04 07:37:53 +02:00
Martine Lenders
473ab2f9d3
Merge pull request #16795 from miri64/make-tests-with-config/feat/config-check
...
make: add capability to check config for `test-with-config`
2021-09-04 00:14:02 +02:00
Koen Zandberg
d96a7f98c7
Merge pull request #16810 from fjmolinas/pr_no_udev_link
...
doc/doxygen/src/advanced-build-system-tricks: fix no udev link
2021-09-03 20:20:37 +02:00
Francisco Molina
b26e4c0116
doc/doxygen/src/advanced-build-system-tricks: fix no udev link
2021-09-03 19:28:52 +02:00
benpicco
c98c488559
Merge pull request #16746 from jia200x/pr/hal/fb_lock
...
ieee802154/submac: reimplement using FSM
2021-09-03 18:13:58 +02:00
Martine Lenders
0b230605a4
make: add capability to check config for test-with-config
2021-09-03 16:41:26 +02:00
Karl Fessel
672a34e2be
Merge pull request #16805 from kfessel/p-spelling-minor
...
doc: cleanup some minor spelling error found by codespell
2021-09-03 15:35:30 +02:00
Jose Alamos
8f97f73453
ieee802154/submac: reimplement using FSM
2021-09-03 15:00:47 +02:00
benpicco
3b304328f3
Merge pull request #16758 from benpicco/periph/rtc_mem
...
drivers/periph: define rtc_mem and implement it for sam0_common
2021-09-03 14:59:11 +02:00
Martine Lenders
873f6936ea
Merge pull request #16788 from benpicco/common/nrf52-netdev_default
...
boards/nrf52: replace gnrc_netdev_default with netdev_default
2021-09-03 14:37:25 +02:00
Karl Fessel
42b191318a
doc: cleanup some minor spelling error found by codespell
2021-09-03 13:02:08 +02:00
Martine Lenders
8648a6116f
Merge pull request #16803 from RIOT-OS/revert-16776-shell-make-fixes-2
...
Revert "Remove `which` from shell invocations"
2021-09-03 12:31:15 +02:00
Benjamin Valentin
c8d94e89c9
tests/periph_rtc: test for periph_rtc_mem
2021-09-03 11:43:43 +02:00
Benjamin Valentin
c467f05317
tests/periph_rtt: test for periph_rtc_mem
2021-09-03 11:43:43 +02:00
Benjamin Valentin
3fbf473a07
cpu/sam0_common: implement periph_rtc_mem
2021-09-03 11:43:43 +02:00
Benjamin Valentin
0ee0c5e40e
drivers/periph: define periph_rtc_mem
2021-09-03 11:43:42 +02:00
Martine Lenders
13cc189a8a
Revert "Remove which from shell invocations"
2021-09-03 11:27:03 +02:00
Karl Fessel
6b47efb57b
Merge pull request #16710 from benpicco/benchmark_udp
...
add UDP benchmark:
a nice tool to check reliability and performance of networks and nodes under high pkg pressure.
2021-09-03 11:22:06 +02:00
Jose Alamos
0fb55b21c5
cc2538_rf: adapt radio HAL changes
...
This PR adapts the cc2538 to the new Radio HAL changes:
- Move RX FLUSH to the `read` function
- Add RX_CONTINUOS cap
2021-09-03 11:00:46 +02:00
Jose Alamos
0b5b896e70
cc2538_rf: fix race condition when changing state
2021-09-03 11:00:46 +02:00
Jose Alamos
3c1909b443
ieee802154/radio: update FB Lock handle
2021-09-03 11:00:45 +02:00
Jose Alamos
56a8fece01
ieee802154/radio: add IEEE802154_CAP_RX_CONTINUOUS
2021-09-03 11:00:45 +02:00
chrysn
d4ed42ad8f
Merge pull request #16776 from chrysn-pull-requests/shell-make-fixes-2
...
Remove `which` from shell invocations
2021-09-03 09:03:59 +02:00
Benjamin Valentin
f3aee01e29
examples/benchmark_udp: add example for UDP benchmark
2021-09-02 23:12:31 +02:00
Benjamin Valentin
1bc6b7eec7
tools/benchmark_udp: add host tool for benchmark
2021-09-02 23:12:31 +02:00
Benjamin Valentin
73b929b3b9
test_utils: add UDP benchmark
2021-09-02 23:12:31 +02:00
chrysn
2bf1202fb9
Merge pull request #16800 from chrysn-pull-requests/vfs-fat-usability
...
Small fatfs usability fixes
2021-09-02 20:54:01 +02:00
chrysn
deacdf130d
examples/filesystem: Explain how to use fatfs
2021-09-02 17:52:53 +02:00
chrysn
2c84f997d9
tests/pkg_fatfs: Create required bin/ directory
2021-09-02 17:17:42 +02:00
chrysn
5e763ee23c
tests/pkg_fatfs: Use ${Q} instead of @
2021-09-02 17:16:59 +02:00
Martine Lenders
a59974cf69
Merge pull request #16796 from miri64/tests/enh/gnrc_dhcpv6_client-honor-IFACE-with-kea
...
tests/gnrc_dhcpv6_client: honor configured $IFACE in Kea config
2021-09-02 17:15:24 +02:00
chrysn
fd0e9bd29b
tests/pkg_fatfs: Set tarball extension to match content
...
All existing users treat this as bz2 (tar -j), let's reflect this in the
extension for better usability.
2021-09-02 17:10:37 +02:00
chrysn
b9a8652e5a
examples/gcoap: Do display truncated messages, but with a warning
2021-09-02 16:49:46 +02:00
chrysn
e9736e925e
examples/gcoap: Don't assume success after exhausing known errors
2021-09-02 16:49:46 +02:00
chrysn
2e70f29d4f
sys/net/gcoap: Use socket _buf API to recognize truncated requests
...
Closes: https://github.com/RIOT-OS/RIOT/issues/14167
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-09-02 16:49:46 +02:00
chrysn
0ff56f284d
sys/net/app/cord: Support the addition of extra registration arguments
2021-09-02 16:40:19 +02:00
chrysn
8664eb8ffc
github workflows: Stick with which instead of command -v
...
... because even though it looks like a subshell, it apparently is not
evaluated through a shell but passed right into exec.
2021-09-02 16:30:48 +02:00
chrysn
1c6b675d9f
makefiles: Reject 2>&1 > /dev/null
...
While this could theoretically be desired, it's usually just a mishap.
It is unlikely that legitimate cases will be needed in the build system;
if so, they can exclude themselves.
See-Also: https://github.com/RIOT-OS/RIOT/pull/16775
2021-09-02 16:30:47 +02:00
chrysn
6bcc68b9cc
makefiles: Reject shell which in new code
...
... as that command is deprecated at least on Debian, and a good
replacement is available in the form of `command -v`.
2021-09-02 16:30:47 +02:00
chrysn
6b50033766
makefiles: Replace which with command -v
...
As the POSIX documentation[1] of `command -v` guarantees that on error
there will be no output (and there will be output in the other cases),
the tests in Makefiles were simplified to test for output equality to
the empty string.
Redirects swallowing error outputs were removed, as the command produces
no error output there (as recommended at [2]).
Existing uses of `command` are simplified as well.
[1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
[2]: https://salsa.debian.org/debian/debianutils/-/blob/master/debian/NEWS
2021-09-02 16:30:46 +02:00
benpicco
9ac9b41a57
Merge pull request #16536 from benpicco/gnrc_ipv6_nib_subnets
...
gnrc_ipv6_simple_subnets: auto-configuration for nested subnets on a simple tree topology
2021-09-02 16:24:53 +02:00
Martine Lenders
389138c8e3
tests/gnrc_dhcpv6_client: honor configured IFACE in Kea config
2021-09-02 16:08:33 +02:00
Martine Lenders
a7c19f2c55
tests/gnrc_dhcpv6_client: fix make test-* command in README
2021-09-02 16:08:32 +02:00
Benjamin Valentin
faae6d56be
examples: add example for cascading subnets
2021-09-02 15:35:14 +02:00
Benjamin Valentin
b208db0f27
gnrc_ipv6_auto_subnets: auto-configuration for nested subnets
...
If we get a large (e.g. /62) prefix from e.g. DHCPv6, we can split it
into subnets automatically to configure downstream interfaces.
This allows for automatic configuration of daisy-chained nodes or
nodes connected in a tree topology.
To enable the feature, a new pseudo-module `gnrc_ipv6_auto_subnets` is
provided.
2021-09-02 15:35:14 +02:00
Benjamin Valentin
f4828cc7ae
gnrc_ipv6_nib: add hook for Prefix Information Option
2021-09-02 15:35:14 +02:00
Benjamin Valentin
702c3435a8
boards/nrf52: replace gnrc_netdev_default with netdev_default
...
Only nimble depends on GNRC, but we want to replace gnrc_netdev_default
with netdev_default, so check for gnrc instead.
2021-09-02 14:36:22 +02:00
Martine Lenders
ab6f24fb70
Merge pull request #16784 from fjmolinas/pr_curl_wget_unzip_7z_no_error
...
Makefile.include: only warn if not curl, wget, unzip, 7z
2021-09-02 14:26:51 +02:00
benpicco
9892286d20
Merge pull request #16793 from MarcelStenzel/hifive1b_uart_pin_fix
...
boards/hifive1b: Fix uart dev1 pins
2021-09-02 12:24:45 +02:00
Dylan Laduranty
6e1bf6108c
Merge pull request #16798 from hugueslarrive/15902_fixes
...
Remove duplicated includes introduced in #15902
2021-09-02 12:13:42 +02:00
Hugues Larrive
f292cfc8ce
drivers/periph_spi: remove duplicated includes introduced in #15902
2021-09-02 09:40:31 +02:00
Francisco
65d717f5a0
Merge pull request #16623 from fjmolinas/pr_riot_initialize_timers
...
pkg/nimble: have RIOT always initialize nimble timers
2021-09-02 08:54:53 +02:00
Francisco
a1cbcc9ede
Merge pull request #15902 from maribu/spi-api-change-1
...
drivers/periph_spi: let spi_acquire return void
2021-09-02 08:50:56 +02:00
benpicco
550565f052
Merge pull request #16783 from benpicco/avr8_clk_init
...
cpu/atmega_common: move clock init to common code
2021-09-01 22:28:14 +02:00
Marian Buschsieweke
2efc50be97
sys/arduino: update SPI class to new API
2021-09-01 21:38:40 +02:00
Marian Buschsieweke
198046e167
tests/perpih_spi: update to new API
2021-09-01 21:38:40 +02:00
Marian Buschsieweke
732cbd969c
drivers: update to new periph_spi API
2021-09-01 21:38:40 +02:00
Marian Buschsieweke
f04b522601
cpu/periph_spi: update implementations to new API
...
Make all spi_acquire() implementations return `void` and add assertions to
check for valid parameters, where missing.
2021-09-01 21:38:40 +02:00
df205bc452
Merge pull request #16794 from chrysn-pull-requests/clarify-msg-response
...
core/msg doc: Clarify; elaborating on interaction with queue
2021-09-01 22:11:39 +03:00
Martine Lenders
47b488e0f6
Merge pull request #16792 from miri64/tests/fix/gnrc_dhcpv6_client
...
tests/gnrc_dhcpv6_client: Fix for newer Kea versions and remove sudo requirement
2021-09-01 16:57:27 +02:00
Martine Lenders
0850061124
Merge pull request #16728 from JKRhb/dhcp-refactor
...
sys/net/dhcpv6: Refactor DHCPv6 client
2021-09-01 16:47:25 +02:00
Martine Lenders
73af152803
tests/gnrc_dhcpv6_client: bail out of sub-shell after server started
2021-09-01 16:14:58 +02:00
Martine Lenders
ced3268083
tests/gnrc_dhcpv6_client: remove sudo requirement
2021-09-01 16:02:48 +02:00
Martine Lenders
f253957f97
tests/gnrc_dhcpv6_client: dynamically adapt Kea config for >=1.7.10
2021-09-01 16:01:39 +02:00
chrysn
137399c8cb
core/msg doc: Clarify; elaborating on interaction with queue
2021-09-01 14:56:41 +02:00
MarcelStenzel
aad5ac83f2
boards/hifive1b: Fix uart dev1 pins
2021-09-01 13:42:27 +02:00
Martine Lenders
db16cafe04
Merge pull request #16779 from miri64/doccheck/enh/exclude_pattern_file
...
dist/tools/doccheck: add exclude file for warnings and use it
2021-09-01 11:58:00 +02:00
Koen Zandberg
2ec9ec13a4
Merge pull request #16770 from fjmolinas/pr_suit_use_Q_for_silencing
...
makefiles/suit*: use $(Q) to silence output
2021-09-01 11:00:53 +02:00
Francisco Molina
f4a3af4c44
pkg/mynewt-core/contrib: use same initializaion as Nimble for timers
2021-09-01 09:26:28 +02:00
Francisco Molina
ba3567ade6
pkg/nimble: have RIOT always initialize nimble timers
2021-09-01 09:14:47 +02:00
Francisco Molina
22d012ff50
makefiles/suit*: use $(Q) to silence output
2021-09-01 08:57:13 +02:00
Jan Romann
507d39c054
sys/net/dhcpv6: Reformat parsing of IA_NA
2021-09-01 01:24:56 +02:00
Martine Lenders
8e1dd16d37
doccheck: fix or suppress shellcheck warnings
2021-08-31 19:20:37 +02:00
Martine Lenders
1bf18b3239
doc/doxygen/riot.doxyfile: remove obsolete and fix wrong options
2021-08-31 19:20:37 +02:00
Martine Lenders
acdcaf16a5
dist/tools/doccheck: add exclude file for warnings and use it
...
This is purely to finally unblock RIOT-OS/riotdocker#104 , but may also
be useful to add future exclude patterns.
Exclude file was generated using
```sh
make doc 2> dist/tools/doccheck/exclude_patterns_base
grep "^${PWD}" dist/tools/doccheck/exclude_patterns_base | \
sed -E -e "s#^${PWD}/(.*:)([0-9]+): #\1DIGITS_MAGIC: #" \
-e 's/[]\\.$*{}|+?()[^-]/\\&/g' \
-e 's/:DIGITS_MAGIC:/:[0-9]+:/' \
> dist/tools/doccheck/exclude_patterns
rm dist/tools/doccheck/exclude_patterns_base
```
2021-08-31 19:20:37 +02:00
Marian Buschsieweke
a3f880c858
Merge pull request #16509 from fjmolinas/pr_clang_tidy_target
...
makefiles/clang-tidy: initial support
2021-08-31 15:26:33 +02:00
Martine Lenders
785d112c03
Merge pull request #16791 from maribu/gitignore
...
.gitignore: add .clang-tidy
2021-08-31 15:10:35 +02:00
Marian Buschsieweke
aae3fe001b
.gitignore: add .clang-tidy
2021-08-31 14:57:09 +02:00
benpicco
9294a31856
Merge pull request #16781 from benpicco/flashpage_page-const
...
drivers/flashpage: flashpage_page() takes a const argument
2021-08-31 10:22:46 +02:00
benpicco
f4bcc815bf
Merge pull request #16786 from fjmolinas/pr_fix_doc_link_README
...
README.md: fix doc link
2021-08-30 11:41:10 +02:00
Francisco Molina
3fba959abc
README.md: fix doc link
2021-08-30 08:55:32 +02:00
Francisco Molina
fee3169ba9
Makefile.include: warning not error if not curl, wget, unzip, 7z
...
The following tools are not needed for every build, its only needed
for a couple of packages like c25519, since most are fetched with git.
2021-08-28 11:55:53 +02:00
Benjamin Valentin
87f7e5a963
cpu/atmega_common: move clock init to common code
...
This code should not be in the realm of the board config, but in
common arch code.
2021-08-27 17:06:50 +02:00
Jean Pierre Dudey
719a18ca8b
Merge pull request #16773 from jeandudey/ili9341-flip
...
drivers/ili9341: add rotation mode to ili9341_params_t
2021-08-27 14:21:56 +02:00
Benjamin Valentin
f903ec90d4
drivers/flashpage: flashpage_page() takes a const argument
...
All addresses to flashpage_page() must be in flash. Flash memory is
`const`, therefore this function must also take `const` pointers.
2021-08-27 14:08:25 +02:00
chrysn
de768b5d23
Merge pull request #16775 from chrysn-pull-requests/shell-make-fixes
...
makefiles: Sort >/dev/null and 2>&1
2021-08-27 10:37:51 +02:00
Martine Lenders
eace9495b4
Merge pull request #16729 from benpicco/_nib_offl_remove_prefix
...
gnrc/nib: consolidate prefix removal code in _nib_offl_remove_prefix()
2021-08-26 19:17:21 +02:00
Francisco
3db378e015
Merge pull request #11117 from haukepetersen/add_core_irqisen
...
core: add irq_is_enabled() function to irq interface
2021-08-26 18:41:02 +02:00
benpicco
19acd2e6a1
Merge pull request #16778 from benpicco/cpu/riscv-deps
...
cpu/riscv_common: cleanup dependencies
2021-08-26 16:37:37 +02:00
benpicco
0b69747389
Merge pull request #16023 from maribu/max_pdu_size
...
sys/net/netopt: Drop deprecated NETOPT_MAX_PACKET_SIZE
2021-08-26 14:40:18 +02:00
benpicco
149de73160
Merge pull request #16741 from benpicco/net_lwip_netif_get_name
...
pkg/lwip: implement netif_get_name()
2021-08-26 14:37:58 +02:00
Benjamin Valentin
4464999259
sys/shell: lwIP: make use of netif_get_name()
2021-08-26 13:20:24 +02:00
Benjamin Valentin
b6b48535fb
pkg/lwip: implement netif_get_name()
2021-08-26 13:20:24 +02:00
Jean-Pierre De Jesus DIAZ
d74bfaac17
boards/pinetime: add ILI9341 rotation mode param
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-08-26 10:45:05 +02:00
Jean-Pierre De Jesus DIAZ
ee413f2f7f
boards/esp32-wrover-kit: add ILI9341 rotation mode param
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-08-26 10:45:05 +02:00
Jean-Pierre De Jesus DIAZ
d0bedf5273
boards/adafruit-clue: add ILI9341 rotation mode param
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-08-26 10:45:05 +02:00
Jean-Pierre De Jesus DIAZ
e6cce1a15f
drivers/ili9341: add rotation mode to ili9341_params_t
...
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2021-08-26 10:45:05 +02:00
da140c251a
Merge pull request #16754 from kaspar030/native_deferred_yield_higher
...
cpu/native: fix thread_yield_higher() with IRQs disabled
2021-08-25 22:59:18 +03:00
Benjamin Valentin
3399a6476a
drivers/dose: calculate timeout based on symbol rate
...
A fixed timeout is either too long for high symbol rates or too short
for low symbol rates.
To fix this, calculate the timeout based on the symbol rate.
For this, the old 5ms timeout is equivalent to 58 bytes being transmitted
at 115200 baud (8 data bit + start & stop bit).
I rounded this to 50 bytes which should yield 4340 µs.
2021-08-25 20:48:54 +02:00
benpicco
dde4772aa4
Merge pull request #16003 from benpicco/cpu/nrf52/saul-vddh
...
cpu/nrf52: add SAUL driver for VDDH sensor
2021-08-25 20:31:53 +02:00
chrysn
5497c1ca78
Merge pull request #15658 from chrysn-pull-requests/nrf52840dongle-quickstart
...
boards/nrf52840dongle docs: Introduce "quick start" section
2021-08-25 19:47:41 +02:00
chrysn
33fc9fa174
boards/nrf52840dongle docs: Introduce "quick start" section
...
to mention the board name; also to point to a good first example to use
with this board.
Closes: https://github.com/RIOT-OS/RIOT/issues/15654
2021-08-25 19:26:39 +02:00
Benjamin Valentin
b3cda605a5
pkg/paho-mqtt: remove workaround for stm32
2021-08-25 18:42:40 +02:00
Benjamin Valentin
7cc19d19a0
pkg/ccn-lite: bump version
2021-08-25 18:42:40 +02:00
Benjamin Valentin
39b81c332e
cpu/stm32: remove ErrorStatus enum from vendor files
2021-08-25 18:42:40 +02:00
Benjamin Valentin
10887ebb19
gnrc/nib: consolidate prefix removal code in _nib_offl_remove_prefix()
2021-08-25 17:23:21 +02:00
Benjamin Valentin
a586d1ba4c
pkg/pkg.mk: allow for custom patch dir
2021-08-25 15:35:50 +02:00
benpicco
6d28911719
Merge pull request #16777 from miri64/feather-nrf52840/doc/several-fixes
...
feather-nrf52840: several fixes to documentation
2021-08-25 13:11:18 +02:00
benpicco
6273dbd3ec
Merge pull request #16289 from nandojve/avr8_xmega-a1_xpld
...
boards: Introduce atxmega-a1-xplained board
2021-08-25 13:03:42 +02:00
Martine Lenders
a1ab612873
boards/feather-nrf52840: update terminal doc for current status quo
2021-08-25 12:46:11 +02:00
Martine Lenders
1f17769038
boards/feather-nrf52840: add missing commands for uf2 instructions
2021-08-25 12:46:11 +02:00
Benjamin Valentin
a75ae3c938
cpu/riscv_common: move C lib selection to common place
2021-08-25 10:53:00 +02:00
Benjamin Valentin
a9c83017ee
cpu/riscv_common: only select PLIC for fe310
...
Not every RISC-V implements that interrupt controller, gd32v uses
CLIC instead.
2021-08-25 10:49:47 +02:00
Benjamin Valentin
e92a4b9628
cpu/gd32v: enable periph_timer_periodic
2021-08-25 10:48:48 +02:00
Hauke Petersen
f877ed9205
tests/ztimer_periodic: rename counter macro
...
The macro with name `N` is used by the MSP430 CPU macros and
triggers a compilation error if this example is build for that
platform. So this commit renames the repeat counter limit from
`N` to `REAPEAT`.
2021-08-25 08:01:05 +02:00
Hauke Petersen
8ec355f3d9
tests/irq_disable_restore: test irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
dc1dcb9b5d
tests/irq_disable_restore: fix typo in comment
2021-08-25 08:01:05 +02:00
Hauke Petersen
7baf5b4a46
cpu/arm7: add irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
a2c4a73c51
cpu/mips32r2_common: implement irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
5cdef474c2
cpu/esp_common: implement irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
9a5edcf839
cpu/riscv: implement irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
48e2d6e8f9
cpu/atmega_common: implement irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
d4181b91fa
cpu/native: implement irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
d65442a32b
cpu/msp430: implement irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
65b7f84568
cpu/cortexm_common: implement irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
b526394d82
core/irq.h: add irq_is_enabled() function
2021-08-25 08:01:05 +02:00
Gerson Fernando Budke
0232e9d89c
boards: Introduce atxmega-a1-xplained board
...
Add initial version.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-08-24 21:25:14 -03:00
benpicco
2de7dab0f4
Merge pull request #16288 from nandojve/xmega_ebi
...
cpu/atxmega/periph: Add ebi driver
2021-08-25 00:38:22 +02:00
benpicco
025770968b
Merge pull request #16036 from bergzand/pr/gd32vf103/initial
...
gd32v/seeedstudio-gd32: Initial support
2021-08-25 00:38:00 +02:00
Martine Lenders
be6115447e
Merge pull request #16364 from haukepetersen/add_nimble_rpble_pr
...
net/BLE: add support for RPL-over-BLE
2021-08-24 18:30:32 +02:00
Martine Lenders
fe39542618
boards/feather-nrf52840: fix shell command formatting in doc
2021-08-24 17:50:21 +02:00
Martine Lenders
5029631a1b
boards/feather-nrf52840: fix typo and link where to get nrfjprog tool
2021-08-24 17:49:40 +02:00
chrysn
648e014184
makefiles: Sort >/dev/null and 2>&1
...
Redirecting `2>&1 >/dev/null` moves stderr to stdout first and then
stdout to /dev/null; when checking for command existence or otherwise
silencing output, this is usually not desired (but only starts producing
errors when the actual command fails, which is often not tested).
2021-08-24 14:41:54 +02:00
Benjamin Valentin
fc457459bf
drivers/lm75: cleanup
2021-08-24 14:34:52 +02:00
Benjamin Valentin
75e2a65681
drivers/flashpage: add missing include
2021-08-24 14:30:23 +02:00
Koen Zandberg
f8bb757bae
seeedstudio-gd32: Initial include of board
...
The seeedstudio-gd32 is an small development board based on the
gd32vf103 MCU
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2021-08-24 14:30:23 +02:00
Koen Zandberg
f2787448e1
cpu/riscv_common: Move MCAUSE defines to riscv_common
2021-08-24 14:30:23 +02:00
Koen Zandberg
3d470b0c12
cpu/gd32v: Initial include of the GD32VF103 device
...
This adds support for the gd32v class devices from Gigadevice. The
gd32vf103 contains an 108 MHz RISC-V core with similar peripherals as
the stm32f1 devices
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2021-08-24 14:30:23 +02:00
Gerson Fernando Budke
e0dd0f56f2
tests: Add cpu_avr8_xmega_drivers tests
...
Add AVR-8 xmega CPU specific tests.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-08-24 08:35:41 -03:00
Gerson Fernando Budke
d02efca65d
Revert "examples: Exclude atxmega-a1u-xpro board due low mem"
...
This reverts commit d23b139938aadd04906c2364535f3fbfb35f9f31.
2021-08-24 08:35:41 -03:00
Gerson Fernando Budke
574a0cf653
Revert "tests: Exclude atxmega-a1u-xpro board due low mem"
...
This reverts commit 64756202906499815690ac071bd0d8bf7de70605.
2021-08-24 08:35:41 -03:00
Gerson Fernando Budke
9b36657793
boards/atxmega-a1u-xpro: Add ebi configuration
...
Enable EBI (External Bus Interface) and configure LPC SRAM memory. This
set RIOT-OS to use up to 64k external data SRAM.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-08-24 08:35:41 -03:00
Gerson Fernando Budke
307e8c7a17
cpu/atxmega: Add external bus interface
...
Introduce XMEGA EBI driver. This enable EBI for use with all memory
supported by the device and peripherals. It include support to SRAM,
SDRAM, LCDs or any other external bus access.
Note: This feature only works for A1/A1U series, which are, the series
with EBI hardware.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-08-24 08:35:41 -03:00
benpicco
16f7c94875
Merge pull request #16761 from benpicco/pkg/lwip/init_devs
...
pkg/lwip: add auto-init for DOSE & at86rf215, cc2538_rf
2021-08-24 12:16:14 +02:00
Hauke Petersen
f24e3ffb07
tests/nimble_rpble_gnrc: initial import
2021-08-24 11:33:13 +02:00
Hauke Petersen
f5f28347c2
net/gnrc/rpl: add hooks for nimble_rpble
2021-08-24 11:33:13 +02:00
Hauke Petersen
42f033afb9
pkg/nimble: add RPL-over-BLE impl. (nimble_rpble)
2021-08-24 11:33:13 +02:00
Koen Zandberg
48aa533639
cpu/riscv_common: Add CLIC peripheral driver
...
The CLIC is a next generation interrupt controller for the RISC-V
architecture.
Co-authored-by:
2021-08-24 10:30:18 +02:00
Koen Zandberg
9239c2fe14
cpu/riscv_common: Add bit set and clear functions
2021-08-24 10:30:15 +02:00
Koen Zandberg
c1d81cfb56
cpu/riscv_common: Jump to rom start on boot
...
With this the riscv start code jumps to the ROM start on boot when the
ROM area doesn't start at address 0x0.
2021-08-24 10:30:12 +02:00
benpicco
3d0e5509dc
Merge pull request #16734 from benpicco/_handle_rio-ltime
...
gnrc_ipv6_nib: handle route information option with ltime = 0
2021-08-24 10:20:02 +02:00
Francisco
0e920e8903
Merge pull request #16703 from fjmolinas/pr_nimble_autoadv_flag_field
...
pkg/nimble/autoadv: make AD flag optionnal
2021-08-24 10:10:09 +02:00
fe1d9981a8
tests/deferred_yield_higher: initial commit
...
This test verifies that a thread can call `thread_yield_higher()` with IRQs
disabled, and that the actual context switch is deferred until IRQs are
re-enabled.
2021-08-24 09:49:53 +02:00
87b49d04ab
cpu/native: defer yield when IRQs are disabled.
...
This makes native behave like Cortex-M, which flags PENDSV, which then
gets triggered once IRQs are re-enabled.
2021-08-24 09:49:40 +02:00
Francisco Molina
fb3860dd05
pkg/nimble/autoadv: make AD flag optionnal
...
These fields can be omitted if all other FLAGS are 0 and the advertising
packets is not connectable, allowing for 3 extra bytes for advertisement
payload.
Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-24 09:12:58 +02:00
benpicco
b062ce8660
Merge pull request #16772 from fjmolinas/pr_pylint_compile_and_test
...
dist/toles/compile_and_test_for_board: fix W1514
2021-08-23 17:58:14 +02:00
Francisco Molina
5d47e186ed
dist/toles/compile_and_test_for_board: fix W1514
2021-08-23 16:44:23 +02:00
Francisco
8ca1520342
Merge pull request #16701 from fjmolinas/pr_nimble_scanner_set_duration
...
pkg/nimble/scanner: add function to set scan duration
2021-08-23 10:07:31 +02:00
Francisco
b6475b5370
Merge pull request #16699 from fjmolinas/pr_nimble_autoconn_slave_abort
...
pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE
2021-08-23 10:06:34 +02:00
benpicco
896aeae248
Merge pull request #16762 from yarrick/v4_build
...
pkg/lwip: Fix compilation without IPv6
2021-08-20 19:02:11 +02:00
Benjamin Valentin
42a5807845
drivers/lm75: add SAUL integration
2021-08-20 18:15:13 +02:00
benpicco
be85777cd1
Merge pull request #16678 from viktorbatista/modules/lm75
...
drivers/lm75: driver for the lm75 sensor and derivatives
2021-08-20 18:04:12 +02:00
Erik Ekman
adccbc9f2a
pkg/lwip: Fix compilation without IPv6
...
RIOT/pkg/lwip/init_devs/init.c:65:61: error: 'tcpip_6lowpan_input' undeclared (first use in this function)
return netif_add_noaddr(netif, state, lwip_netdev_init, tcpip_6lowpan_input);
^
2021-08-20 17:52:37 +02:00
Vitor Batista
07c36ab814
tests/driver_lm75: testing files for the lm75 driver
2021-08-20 17:09:40 +02:00
Vitor Batista
9267fa2670
drivers/lm75: driver for the lm75 sensor and derivatives
2021-08-20 17:09:40 +02:00
Benjamin Valentin
5b83475ffe
pkg/lwip: add auto-init for cc2538_rf
2021-08-20 16:48:25 +02:00
Benjamin Valentin
6d468f8044
pkg/lwip: add auto-init for at86rf215
2021-08-20 16:48:25 +02:00
Benjamin Valentin
b39390ed93
pkg/lwip: add auto-init for DOSE
2021-08-20 16:37:53 +02:00
benpicco
bff9cb7f30
Merge pull request #16162 from yarrick/netif_init
...
pkg/lwip: Allow initializing different types of netifs
2021-08-20 15:52:51 +02:00
Erik Ekman
9459dfaf68
pkg/lwip: Use XFA to initialize network interfaces
2021-08-20 14:58:29 +02:00
Erik Ekman
11f8ba89ae
pkg/lwip: Move ethos to netif auto init
2021-08-20 14:57:39 +02:00
Erik Ekman
06dfcdd3fa
pkg/lwip: Move socket_zep to netif auto init
2021-08-20 14:57:39 +02:00
Erik Ekman
9002da3d80
pkg/lwip: Move nrf802154 to netif auto init
2021-08-20 14:57:39 +02:00
Erik Ekman
1897b57d8e
pkg/lwip: Move at86rf2xx to netif auto init
2021-08-20 14:57:39 +02:00
Erik Ekman
fff95fc882
pkg/lwip: Add 6lowpan helper, do auto init for mrf24j40
2021-08-20 14:57:37 +02:00
Erik Ekman
cdc8c35e13
pkg/lwip: Move stm32_eth to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
c631c0fddd
pkg/lwip: Move sam0_eth to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
e8c5ff162a
pkg/lwip: Move enc28j60 to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
fea0c8d453
pkg/lwip: Move atwinc15x0 to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
a18b24c7ed
pkg/lwip: Move esp_wifi to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
c9116f5570
pkg/lwip: Move esp_eth to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
9a089d412b
pkg/lwip: Set first netif as default
...
Set at create time, as all netifs will no longer be in one array.
2021-08-20 14:56:48 +02:00
Erik Ekman
2816ade5f8
pkg/lwip: Start rework of netif initialisation
...
Use separate files with auto_init
Proof of concept with only moving netdev_tap
2021-08-20 14:56:46 +02:00
benpicco
8ae782b98d
Merge pull request #16759 from jia200x/pr/nrf802154/fix_write
...
drivers/nrf802154: fix write return value and `__cplusplus` closing bracket.
2021-08-20 12:31:34 +02:00
Jose Alamos
5111bef5aa
drivers/nrf802154: fix write return value
2021-08-20 10:54:35 +02:00
Jose Alamos
8d049005de
drivers/nrf802154: add missing __cpluscplus closing bracket
2021-08-20 10:54:35 +02:00
Francisco Molina
070b61ff48
examples/nimble_scanner: use nimble_scanner_ser_scan_duration
...
Replace xtimer by ztimer
Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-19 12:44:24 +02:00
Francisco Molina
4d01b3815f
pkg/nimble/scanner: add function to set scan duration
...
Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-19 12:44:24 +02:00
benpicco
71953c984c
Merge pull request #16534 from jia200x/pr/detach_radio_hal_descriptor
...
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 18:15:51 +02:00
Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 15:24:10 +02:00
e4b3a2813a
Merge pull request #16753 from kaspar030/fix_bkup-ram
...
cpu/cortexm: ldscripts: bkup-ram -> bkup_ram
2021-08-18 12:29:48 +03:00
8f10f22b1f
cpu/cortexm: ldscripts: bkup-ram -> bkup_ram
...
Fixes this error with binutils 2.37:
```
/usr/lib/gcc/arm-none-eabi/11.2.0/../../../../arm-none-eabi/bin/ld:cortexm_base.ld:217: warning: memory region `bkup' not declared
/usr/lib/gcc/arm-none-eabi/11.2.0/../../../../arm-none-eabi/bin/ld:cortexm_base.ld:217: syntax error
```
2021-08-18 10:29:38 +02:00
Jan Romann
18dd056f8a
sys/net/dhcpv6: Add missing IA_NA IS_USED check
2021-08-18 02:03:56 +02:00
Jan Romann
192e09b7bf
sys/net/dhcpv6: Refactor update of leases
2021-08-18 02:00:12 +02:00
Jan Romann
d0dd12cf25
sys/net/dhcpv6: Refactor parsing of IA_PD
2021-08-18 02:00:11 +02:00
Jan Romann
1daa4b6e30
sys/net/dhcpv6: Refactor message composition
2021-08-18 02:00:08 +02:00
Jan Romann
bbce04f854
sys/net/dhcpv6: Refactor mrd calculation
2021-08-18 02:00:08 +02:00
Marian Buschsieweke
f008ee3ff6
Merge pull request #16742 from nandojve/xmega_fix_features
...
cpu/atxmega: Fix features config
2021-08-17 21:30:40 +02:00
Gerson Fernando Budke
2d3f7bf17c
cpu/atxmega: Fix features config
...
Update features definitions and configurations. Now atxmega define
features that only are full available on all variations and do not
require any definition at periph_conf.h file.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-08-17 12:42:59 -03:00
benpicco
64aac3a2b2
Merge pull request #16700 from fjmolinas/pr_mynewt_core_log_level
...
pkg/mynewt-core: change task start log level
2021-08-17 00:00:44 +02:00
benpicco
576616d23e
Merge pull request #16747 from jia200x/pr/at86rf215/remove_msg_queue_dep
...
drivers/at86rf215: remove msg queue dependency
2021-08-16 18:31:45 +02:00
Jose Alamos
8c0c603146
drivers/at86rf215: remove msg queue dependency
2021-08-16 15:28:06 +02:00
Jose Alamos
e9a2f186ba
gnrc_netif_pktq: send schedule msg directly if dequeue timer is zero
2021-08-16 14:42:56 +02:00
Benjamin Valentin
c3849ed9f9
sock: tcp: fix sock_tcp_read() example
...
sock_tcp_read() will return 0 if the connection was closed, we
need to check for this.
2021-08-16 12:55:12 +02:00
Francisco
c1d28d69a7
Merge pull request #16740 from benpicco/lwip_tcp-DEVELHELP
...
lwip_tcp: fix build with DEVELHELP=0
2021-08-16 08:37:14 +02:00
benpicco
8d9ca8ef68
Merge pull request #16494 from brummer-simon/gnrc_sock_tcp-add_gnrc_sock_tcp
...
gnrc_sock_tcp: add gnrc sock tcp
2021-08-15 19:47:33 +02:00
Benjamin Valentin
5117da1cb0
lwip_tcp: fix build with DEVELHELP=0
...
If DEVELHELP is not set `LOCK_TCPIP_CORE()`/`UNLOCK_TCPIP_CORE()`
are not defined, leading to a build failure.
Defining them to no-op leads to a run-time segmentation fault, so
better always use those functions.
2021-08-15 12:50:33 +02:00
Simon Brummer
6fba0d970c
gnrc_sock_tcp: integrate gnrc_tcp
2021-08-14 21:27:34 +02:00
benpicco
a76bc58d9b
Merge pull request #16738 from brummer-simon/gnrc_tcp-handle_zero_size_buffers
...
gnrc_tcp: handle zero size buffers
2021-08-14 18:44:29 +02:00
benpicco
6d7fdfccd6
Merge pull request #16736 from brummer-simon/gnrc_tcp-document_internal_defines
...
gnrc_tcp: Document internal defines
2021-08-14 17:42:58 +02:00
Simon Brummer
11d73fbf30
gnrc_tcp: handle zero size buffers
2021-08-14 17:04:57 +02:00
benpicco
84413a3e6e
Merge pull request #16735 from brummer-simon/gnrc_tcp-add_GNRC_TCP_NO_TIMEOUT
...
gnrc_tcp: Add GNRC_TCP_NO_TIMEOUT
2021-08-14 17:00:11 +02:00
benpicco
6eacb41e23
Merge pull request #16664 from jia200x/pr/gnrc/lorawan/random
...
net/gnrc_lorawan: fix pick channel
2021-08-14 16:35:14 +02:00
benpicco
ce99933897
Merge pull request #16726 from hugueslarrive/pyterm
...
dist/tools/pyterm: ipv6 address support for tcp_serial option
2021-08-14 16:32:06 +02:00
Simon Brummer
41bafdd928
gnrc_tcp: Document internal defines
2021-08-14 15:49:42 +02:00
Simon Brummer
6b24601ee9
gnrc_tcp: Add GNRC_TCP_NO_TIMEOUT
2021-08-14 15:28:14 +02:00
Marian Buschsieweke
416a60950d
Merge pull request #16733 from JKRhb/newline-cleanup
...
treewide: Fix "too many consecutive empty lines" warnings
2021-08-14 08:08:20 +02:00
Benjamin Valentin
0ead10e79a
gnrc_ipv6_nib: handle route information option with ltime = 0
2021-08-13 21:35:48 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
benpicco
1fd645ebcd
Merge pull request #16725 from JKRhb/cocinelle-fixes
...
ci: fix coccinelle warnings
2021-08-12 23:15:37 +02:00
Hugues Larrive
4f3cb128ae
dist/tools/pyterm: ipv6 address support for tcp_serial option
2021-08-12 22:19:04 +02:00
Martine Lenders
febb07c64e
Merge pull request #16704 from fjmolinas/pr_block_finish_return_more
...
sys/net/nanocoap: block_finish returns if more are expected
2021-08-12 19:16:46 +02:00
Jan Romann
415c6acc1a
usbus/hid: fix ENABLE_DEBUG definitions
2021-08-12 17:30:46 +02:00
Jan Romann
e7a24fe136
gnrc_netif/lorawan: fix ENABLE_DEBUG definition
2021-08-12 17:30:46 +02:00
Jan Romann
b3d32fbc28
sys/arduino: fix ENABLE_DEBUG definition
2021-08-12 17:30:45 +02:00
Jan Romann
441afca9fe
drivers/nrf24l01p_ng: fix ENABLE_DEBUG definitions
2021-08-12 17:30:45 +02:00
Martine Lenders
170af29917
Merge pull request #16724 from JKRhb/dhcp-ia-na-refactor
...
sys/net/dhcpv6: Refactor IA_NA implementation
2021-08-12 16:52:50 +02:00
Jan Romann
cc47e3a72d
tests/gnrc_dhcpv6_client: Refactor test functions
2021-08-12 15:37:37 +02:00
Jan Romann
ad0096cde6
sys/net/dhcpv6: Refactor IA_NA implementation
2021-08-11 22:19:59 +02:00
Martine Lenders
f2f6700865
Merge pull request #16228 from JKRhb/dhcp-ia-na
...
sys/net/dhcpv6: Add IA_NA support to the DHCPv6 client
2021-08-11 20:50:01 +02:00
Jan Romann
85eae9d2da
tests/gnrc_dhcpv6_client: Add test for IA_NA
2021-08-11 19:15:35 +02:00
Jan Romann
234a71870a
sys/net/dhcpv6: Add IA_NA implementation
2021-08-11 19:15:35 +02:00
Martine Lenders
057aba8f61
Merge pull request #16606 from miri64/dhcpv6_relay/feat/init
...
dhcpv6_relay: initial import of a lightweight DHCPv6 relay agent
2021-08-11 17:16:06 +02:00
Martine Lenders
67b4acdc95
Merge pull request #15622 from benpicco/gnrc_icmpv6_echo-corruption
...
sys/shell/commands/gnrc_icmpv6_echo: test for ICMPv6 reply corruption
2021-08-11 15:23:22 +02:00
Martine Lenders
2d7c613948
tests/gnrc_dhcpv6_relay: initial import
2021-08-11 14:30:37 +02:00
Martine Lenders
4afc65688f
dhcpv6_relay: initial import of a lightweight DHCPv6 relay agent
2021-08-11 13:19:06 +02:00
Martine Lenders
6da2f0fab3
Merge pull request #16669 from miri64/sock_dns/enh/factor-out-msg-parsing
...
sock_dns: factor out message parsing and composition
2021-08-11 12:43:26 +02:00
Martine Lenders
de3e5f964a
Merge pull request #16671 from benpicco/gnrc/nib-_nib_onl_get-fix
...
gnrc/nib: gnrc_ipv6_nib_get_next_hop_l2addr(): only assume neighbor cache entries to always be on-link
2021-08-11 12:17:38 +02:00
Benjamin Valentin
b0b8c5a641
riotctrl_shell.gnrc: add parser for reply corruption & truncation
2021-08-11 12:04:22 +02:00
Benjamin Valentin
3b40ca2b26
shell/gnrc_icmpv6_echo: test for ICMPv6 echo reply corruption
...
The Linux ping utility has the nice feature that fills the ICMPv6 echo
request payload with a pattern `payload_index & 0xFF`.
Then the ICMPv6 echo response payload is checked to verify that the pattern
is still intact.
This way corrupted messages can be detected.
In the past that revealed some 6lo-fragmentation bugs in Linux when
corrupted replies arrived.
This feature is also useful for RIOT, so implement it in RIOTs `ping`
command.
2021-08-11 12:04:22 +02:00
Martine Lenders
7920ab2b95
dns_msg: make parsing input buffer const
2021-08-11 11:55:29 +02:00
Martine Lenders
e8cbc6da85
dns: move message parsing and composition to own module
2021-08-11 11:55:29 +02:00
benpicco
acc9889ec8
Merge pull request #16716 from jia200x/pr/cc2538/fix_cca
...
drivers/cc2538_rf: fix deadlock when receiving too fast.
2021-08-10 18:41:54 +02:00
Martine Lenders
000c5b2364
Merge pull request #16722 from benpicco/gitignore-update
...
.gitignore: add *.rej and *.save
2021-08-10 18:37:36 +02:00
Benjamin Valentin
0c0ff546f1
.gitignore: add *.rej and *.save files
2021-08-10 16:04:33 +02:00
benpicco
7991e71384
Merge pull request #16721 from benpicco/sock/tcp-fix_doc
...
sock: tcp: fix Echo Server example
2021-08-10 14:41:42 +02:00
Benjamin Valentin
091e013ff0
sock: tcp: fix Echo Server example
...
The example has two errors:
- `sock_tcp_accept()` expects a timeout parameter
- `sock_tcp_stop_listen()` expects a pointer
with these fixed, the example actually compiles.
2021-08-10 13:45:56 +02:00
Martine Lenders
72e7f0c051
Merge pull request #16720 from MrKevinWeiss/pr/hilcireadme
...
README.md: Expose HiL CI overview link
2021-08-10 12:57:19 +02:00
MrKevinWeiss
95645701b6
README.md: Expose HiL CI overview link
2021-08-10 12:04:23 +02:00
Martine Lenders
c86bd7454c
Merge pull request #16557 from benpicco/gnrc_ipv6_nib-fib_on-link
...
gnrc_ipv6_nib: consider largest prefix match when deciding if host on-link
2021-08-09 18:53:40 +02:00
Martine Lenders
5d1c8e2643
Merge pull request #16718 from benpicco/gnrc_netif_ipv6_add_prefix-fix
...
gnrc_netif: properly initialize address in gnrc_netif_ipv6_add_prefix()
2021-08-09 18:06:15 +02:00
benpicco
7ff4108263
Merge pull request #16717 from benpicco/avr-strerror
...
avr_libc_extra: implement strerror()
2021-08-09 17:45:16 +02:00
Benjamin Valentin
452500b3eb
gnrc_ipv6_nib: consider largest prefix match when deciding if host on-link
...
If the fib contains a route to a subnet via another host, it can not
be on-link.
Consider fib entries when deciding whether an address is on-link.
If a route via another host is a stronger match than an on-link
prefix, the address must be off-link.
2021-08-09 16:57:14 +02:00
Benjamin Valentin
f4fa197951
gnrc_netif: properly initialize address in gnrc_netif_ipv6_add_prefix()
...
Initialize addr with 0 first.
Otherwise if prefix is < 64 there will be random bits of stack memory
in the bits of the address that are neither touched by ipv6_addr_set_aiid()
nor ipv6_addr_init_prefix().
2021-08-09 16:50:21 +02:00
Benjamin Valentin
64846c0af4
avr_libc_extra: implement strerror()
...
Add a minimal implementation of `strerror()`.
All other targets use either newlib or picolibc and provide this
function, add it to AVR so we can rely on it in common code.
2021-08-09 16:24:04 +02:00
Karl Fessel
671a7edca1
core/sched: uncrustify sched_cb declaration
...
this is a change out of this PR scope to reduce
the number of uncrustify complains for future edits
2021-08-09 14:22:07 +02:00
Karl Fessel
3508012942
core/sched: name inspection functions the same as the used clist fns
2021-08-09 14:18:18 +02:00
benpicco
02d80eefc9
Merge pull request #16627 from fabian18/cpu_rp2040_periph_timer
...
cpu/rpx0xx: add periph timer
2021-08-09 13:32:05 +02:00
Jose Alamos
a6d0052ff0
drivers/cc2538_rf: don't poll internal FSM state
2021-08-09 11:39:00 +02:00
Jose Alamos
3fce21a62b
drivers/cc2538_rf: disable RX detection during CCA
2021-08-09 11:37:17 +02:00
Fabian Hüßler
258681f012
tests/ztimer_periodic: fix name clash with rp2040 vendor header
2021-08-09 10:45:35 +02:00
Fabian Hüßler
e89ef368c1
cpu/rpx0xx: implement periph timer
2021-08-09 10:45:34 +02:00
Martine Lenders
6e0c8db99f
Merge pull request #16706 from miri64/gnrc_ipv6_nib/enh/offset-time-functions
...
gnrc_ipv6_nib: provide functions to get offset of public timestamps
2021-08-08 02:28:12 +02:00
Martine Lenders
c33e40cce1
gnrc_ipv6_nib: provide functions to get offset of public timestamps
2021-08-07 14:04:44 +02:00
benpicco
8c7db062af
Merge pull request #16711 from nicoHarel/cpu/nrf52/periph/i2c
...
cpu/nrf52: i2c: add support for 16-bit register addresses
2021-08-06 16:55:53 +02:00
Marian Buschsieweke
7aab478678
drivers/soft_spi: update API to match periph_spi
2021-08-06 12:47:00 +02:00
Marian Buschsieweke
9e5f7b6797
drivers/periph_spi: make spi_acquire() return void
...
There is no way to properly handle incorrect SPI parameters at run time, so
just having an assertion blow up is the better choice here.
As most instances of `spi_acquire()` don't check the return value anyway, this
will improve debugging experience quite a bit. Some implementation of
spi_acquire() don't even check parameters anyway.
2021-08-06 12:46:57 +02:00
Nicolas Harel
580b8d6561
cpu/nrf52: i2c: add support for 16-bit register addresses
...
Removed VLA
removed unused reg buffer
Added mutex
Buffer comment correction
2021-08-06 11:06:59 +02:00
Francisco Molina
9195f772ad
sys/net/nanocoap: block_finish returns if more are expected
2021-08-06 09:29:03 +02:00
Francisco
c4df2cca51
Merge pull request #16708 from fjmolinas/pr_edhoc_c_bump
...
pkg/edhoc: bump version
2021-08-06 09:26:28 +02:00
benpicco
81df6d6fcb
Merge pull request #16712 from miri64/gcoap+nanocoap/enh/buffer-path
...
nanocoap & gcoap: allow path to be non-`\0`-terminated.
2021-08-05 17:25:41 +02:00
Martine Lenders
17b9c5adbb
Merge pull request #16707 from benpicco/sys/uri_parser-constify
...
uri_parser: constify result
2021-08-05 15:55:45 +02:00
benpicco
ba3eb5fc3f
Merge pull request #16713 from nmeum/pr/picolib_error_color_reset
...
picolibc: Reset color in error message if picolibc is not available
2021-08-05 15:02:33 +02:00
Sören Tempel
6dc6433663
picolibc: Reset color in error message if picolibc is not available
...
This is a regression which was introduced in #16114 , without resetting
the color the red color will be used for all following text written to
the terminal and will also cause the shell prompt etc. pp. to be colored
in red which is undesirable. This commit fixes this regression by using
the ANSI escape sequences to reset the color after the error message has
been written.
2021-08-05 20:52:15 +02:00
Benjamin Valentin
9bce87d6da
pkg/wakaama: don't modify result of uri_parser
2021-08-05 14:05:31 +02:00
Martine Lenders
5d59065b09
gcoap: provide buffer version of gcoap_req_init()
...
This simplifies the usage of `gcoap` with modules such as `uri_parser`
greatly.
2021-08-05 13:31:07 +02:00
Martine Lenders
adce90343c
nanocoap: provide buffer version of coap_opt_add_uri_path()
...
This simplifies the usage of `nanocoap` with modules such as
`uri_parser` greatly.
2021-08-05 11:25:13 +02:00
Martine Lenders
1b0152bd73
Merge pull request #16709 from leandrolanzieri/pr/net/netif_get_by_name_buf
...
net/netif: add function to get interface by name from a buffer
2021-08-04 19:37:55 +02:00
Leandro Lanzieri
d2d1c7ede9
tests/gnrc_netif: add test for netif_get_by_name_buffer
2021-08-04 18:12:56 +02:00
Leandro Lanzieri
d8cf157b26
sys/net/netif: add netif_get_by_name_buffer function
2021-08-04 18:12:56 +02:00
Francisco Molina
3cc4a8ed15
pkg/edhoc: bump version
...
Bumps EDHOC-C version to fix broken state due to Nanocbor return
code values change.
2021-08-04 17:09:02 +02:00
Francisco Molina
6198604e3e
examples/default: use Makefile.boards.netif
2021-08-04 17:09:02 +02:00
Francisco Molina
ebe40a1000
tests/netstats_l2: use Makefile.boards.netif
2021-08-04 17:09:02 +02:00
Francisco Molina
e6bf97dca0
tests/Makefile.boards.netif: add non-exhaustive list of BOARDs providing netif
2021-08-04 17:09:02 +02:00
José Alamos
39d27c2f7c
Merge pull request #16533 from jia200x/pr/submac_fixes
...
ieee802154/submac: fix initialization code
2021-08-04 16:53:58 +02:00
Peter Kietzmann
e1a8280e2b
Merge pull request #16689 from Ollrogge/usb_hid_pr2
...
usbus/hid_io: add missing header file, add RX callback function
2021-08-04 15:56:33 +02:00
Ollrogge
2c2eb88c0e
usbus/hid: uncrustify files
2021-08-04 14:54:33 +02:00
Ollrogge
834ac3f5a5
usbus/hid_io: add missing header file, add RX callback function
2021-08-04 14:54:33 +02:00
Benjamin Valentin
b068d9245d
uri_parser: constify result
...
`uri_parser_process()` takes a `const char *` as input parameter but
the result is a struct of `char *` to the original string.
This may lead a user to modifying the strings in `uri_parser_result_t`
which will cause a crash if the original string resides in read-only
memory (and violates the no-modifications promise of the const parameter
in `uri_parser_process()`).
To fix this, make the resulting strings `const` as well, so nobody dares
to touch them in a writing way.
2021-08-04 14:01:28 +02:00
Martine Lenders
5c2b599efa
Merge pull request #16695 from miri64/uri_parser/enh/query-split
...
uri_parser: provide function to split query
2021-08-04 13:54:19 +02:00
Martine Lenders
4d2a942b5e
tests/unittests: amend uri_parser tests for query-splitter
2021-08-04 12:47:28 +02:00
Martine Lenders
af03ba4aa8
uri_parser: provide function to split query
2021-08-04 12:47:28 +02:00
José Alamos
91fe57a4d1
Merge pull request #16654 from jia200x/pr/gnrc_lorawan_tests
...
tests/gnrc_lorawan: add initial tests
2021-08-04 10:33:33 +02:00
Martine Lenders
8492bd7b12
Merge pull request #16568 from benpicco/gnrc_ipv6_nib-rio
...
gnrc_ipv6_nib: handle route information option and add config to add to final RAs
2021-08-03 15:44:01 +02:00
Francisco Molina
fd63142ea2
pkg/mynewt-core: change task start log level
2021-08-03 11:31:01 +02:00
Francisco Molina
3361f92202
pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE
...
When a connection is aborted and the node in question is a slave
then it can be advertising/scanning at the time. The incoming
event triggers the state to be changed to IDLE but ongoing adv/scan
which will cause 'nimble_netif_conn_start_adv' to fail to allocate
a handle as the netif will still be busy. Therefore when
stop scan/stop before switching the state.
2021-08-03 09:21:47 +02:00
Benjamin Valentin
71ae768e56
net/gnrc/ipv6/nib: add option to include RIO with final RA
...
Sending a RA with ltime = 0 does not get us added to the default router
list, but the options (and therefore the RIO) are still parsed.
This even appears to work with Linux as a receiver.
2021-08-02 21:44:55 +02:00
Martine Lenders
3ddb0463ea
Merge pull request #16691 from leandrolanzieri/pr/pkg/wakaama_fix_obj_common
...
pkg/wakaama: fix object common `get` functions
2021-08-02 19:33:39 +02:00
Jose Alamos
68fb49b607
tests/gnrc_lorawan: add initial tests
2021-08-02 18:29:46 +02:00
Jose Alamos
179a2c2780
net/gnrc_lorawan: fix random_uint32_range upper bound
2021-08-02 10:28:17 +02:00
Dylan Laduranty
54a76ab2ce
Merge pull request #16694 from benpicco/boards/saml21-xpro_EXT3
...
boards/saml21-xpro: configure UART & SPI on EXT2, 3
2021-07-30 14:55:28 +02:00
Dylan Laduranty
e922412342
Merge pull request #16693 from benpicco/cpu/saml21-SERCOM5
...
cpu/saml21: uart: use arithmetic baud rate mode
2021-07-30 13:50:46 +02:00
Benjamin Valentin
f5622afeb6
boards/saml21-xpro: configure UART & SPI on EXT2, 3
2021-07-30 13:12:42 +02:00
Benjamin Valentin
ddf96f7000
cpu/saml21: uart: disable fractional baud rate
...
SERCOM5 on SAM L21 does not support fractional baud rate mode.
Instead of special-casing it, just use arithmetic baud rate mode
in general on this CPU, as I'm not sure what the advantages of fractional
baud rate mode are.
fixes #16692
2021-07-30 11:28:02 +02:00
Leandro Lanzieri
1d74a0341b
pkg/wakaama/common: return length when reading strings and opaques
...
This fixes the API to be able to return the read length of string and
opaque resources.
2021-07-30 09:45:20 +02:00
Leandro Lanzieri
113ae64a55
pkg/wakaama/common: fix lwm2m_set_objlink_by_path
2021-07-30 09:44:21 +02:00
Martine Lenders
6b5a1818f1
Merge pull request #16672 from benpicco/gnrc_util_conf_prefix
...
gnrc_netif: add gnrc_netif_ipv6_add_prefix() & helper functions
2021-07-29 18:01:26 +02:00
Benjamin Valentin
6e3c09eb78
sys/net/uhcp: make use of gnrc_netif_ipv6_add_prefix()
2021-07-29 16:04:28 +02:00
Benjamin Valentin
a18f123ff1
gnrc_dhcpv6_client: make use of gnrc_netif_ipv6_add_prefix()
2021-07-29 16:04:28 +02:00
Benjamin Valentin
d99972791a
gnrc/rpl: add gnrc_rpl_configure_root() convenience function
2021-07-29 16:04:28 +02:00
Benjamin Valentin
3dad587307
gnrc/rpl: allow const dodag ID
2021-07-29 16:04:28 +02:00
Benjamin Valentin
b90c6ed373
gnrc_netif: add gnrc_netif_ipv6_add_prefix()
2021-07-29 16:04:28 +02:00
Martine Lenders
485eb741e2
Merge pull request #16644 from benpicco/gnrc_ipv6_nib-evtimer_del-fix
...
gnrc_ipv6_nib: don't stop sending router solicitations when receiving last router advertisement from router
2021-07-29 12:23:14 +02:00
benpicco
57987210bd
Merge pull request #16650 from dylad/pr/cpu/nrf9160_add_support
...
cpu/nrf9160: add initial support for nRF9160DK board
2021-07-29 12:22:42 +02:00
Dylan Laduranty
9582ec9b5c
kconfig: add Kconfig support for nRF9160 cpu and nRF9160DK board
2021-07-28 20:11:26 +02:00
dylad
f602c17303
boards/nrf9160dk: add initial support
2021-07-28 20:11:26 +02:00
dylad
5b85a5750e
cpu/nrf9160: add initial support
2021-07-28 20:11:26 +02:00
benpicco
feac187d54
Merge pull request #16506 from benpicco/drivers/dose-rx_start
...
drivers/dose: make use of start condition received interrupt
2021-07-28 17:21:29 +02:00
Benjamin Valentin
1cacb11a26
tests/periph_uart: add automated test
2021-07-28 16:19:04 +02:00
Benjamin Valentin
d48f673597
drivers/dose: make use of periph_uart_rx_start feature
2021-07-28 16:19:04 +02:00
Benjamin Valentin
02269ef869
cpu/sam0_common: implement periph_uart_rx_start feature
2021-07-28 16:19:04 +02:00
benpicco
dceb8a7ac8
Merge pull request #16682 from benpicco/rtt_rtc_settimeofday
...
rtt_rtc: add rtt_rtc_settimeofday() & rtt_rtc_gettimeofday()
2021-07-28 15:02:02 +02:00
benpicco
c023be1299
Merge pull request #16686 from dylad/pr/doc/increase_dot_graph_max_nodes
...
doc/doxygen: increase dot graph max nodes
2021-07-28 14:11:15 +02:00
Benjamin Valentin
eecc166180
rtt_rtc: fix rtc_now access
2021-07-28 00:35:47 +02:00
Benjamin Valentin
6178325b5b
rtt_rtc: fix rtc_get_time_ms()
2021-07-28 00:35:47 +02:00
Benjamin Valentin
a53e8e3138
unittests: rtt_rtc: add test for rtc_get/settimeofday()
2021-07-28 00:35:47 +02:00
Martine Lenders
dd6a98a15c
Merge pull request #16687 from miri64/gcoap/fix/coap_socket_naming
...
gcoap: fix socket type naming
2021-07-27 23:41:02 +02:00
Martine Lenders
4b7ef70e66
gcoap: fix socket type naming
...
The `coap_socket_t` and `coap_socket_type_t` types are used by gCoAP
only and the `coap_` prefix is usually used to namespace the `nanocoap`
module's API. This makes it confusing to locate the types in question.
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2021-07-27 22:37:04 +02:00
Benjamin Valentin
0964a217b5
rtt_rtc: add rtc_settimeofday() & rtc_gettimeofday()
2021-07-27 22:12:25 +02:00
dylad
c488f96971
doc/doxygen: increase DOT_GRAPH_MAX_NODES to 275
2021-07-27 21:20:34 +02:00
benpicco
9645950e08
Merge pull request #16685 from fabian18/cpu_rp2040_fix_gpio_warnings
...
cpu/rpx0xx: fix minor gpio warnings
2021-07-27 18:28:51 +02:00
Benjamin Valentin
9194440ead
drivers/periph/uart: add periph_uart_rx_start feature
2021-07-27 16:29:30 +02:00
Fabian Hüßler
e9a1c61389
cpu/rpx0xx: fix C++ compatibility for gpio
2021-07-27 14:03:05 +02:00
benpicco
666a45729c
Merge pull request #16683 from dylad/pr/cpu/sam0/eth-fix
...
cpu/sam0: improve ethernet driver resilience
2021-07-27 14:02:31 +02:00
dylad
950c71cc10
cpu/sam0: improve ethernet driver resilience
...
In case of network heavy traffic on the Ethernet, interrupts
fire faster than the netdev thread can process them and we
run out of buffers. With this commit, we now check if we
don't have buffers available, so we can flush everything and
restart reception properly even if we did drop a few in the
operation
2021-07-27 12:52:07 +02:00
Fabian Hüßler
f7127fa2b7
cpu/rpx0xx: fix unused port warning due to GPIO_PIN macro
2021-07-27 11:26:30 +02:00
Benjamin Valentin
62308d200c
gnrc_ipv6_nib: don't stop sending router solicitations on last RA
...
When the default router was removed or could not be added, `dr` will
be NULL.
In this case, don't cease sending router solicitations - we still don't
have a default router.
2021-07-26 23:56:53 +02:00
Martine Lenders
e3b52ff08d
Merge pull request #16679 from kfessel/p-dhcp-mrd
...
dhcpv6_client: mrd calculation fixed
2021-07-23 19:02:38 +02:00
Martine Lenders
0f1e0b6798
Merge pull request #16676 from miri64/nanocoap/enh/opt_accept
...
nanocoap: provide Accept option convenience function
2021-07-23 18:21:22 +02:00
Karl Fessel
238c759899
dhcpv6_client: mrd calculation fixed for renew and rebind
...
mrd calculation for dhcp-renew was wrong this fixes it
and the logic for dhcp rebind mrd handling
(try rebind if ther is mrd)
see issue #16677
2021-07-23 17:54:55 +02:00
Karl Fessel
fe9a6d7d84
gnrc_dhcpv6_client: dhcp-helper-function return valid seconds left
...
dhcpv6_client_prefix_valid_until returned the valid timestamp
this fixes it according to the documentation given in
/sys/include/net/dhcpv6/client.h
to return seconds left
2021-07-23 17:53:59 +02:00
Martine Lenders
fc1bd005de
Merge pull request #16673 from miri64/netutils/fix/netif_get_by_name
...
netutils: get interface by name rather than ID
2021-07-23 15:51:15 +02:00
Martine Lenders
bab7def075
Merge pull request #16668 from miri64/dhcpv6_client/enh/refactor-timeouts
...
dhcpv6_client: refactor to use `event_timeout` for non-sock timeouts
2021-07-23 15:39:04 +02:00
Martine Lenders
3cff67ce13
nanocoap: provide Accept option convenience function
2021-07-23 15:25:41 +02:00
Martine Lenders
81c927f80a
netutils: get interface by name rather than ID
...
The zone ID part in a host part is the name of the network interface
(which by chance is the string representation of the ID with GNRC), not
the ID.
2021-07-22 17:26:47 +02:00
Benjamin Valentin
12a0d481dc
gnrc_ipv6_nib: handle route information option
2021-07-22 15:54:46 +02:00
Benjamin Valentin
5ad58b152a
gnrc_ipv6_nib: make use of _nib_onl_nc_get()
2021-07-22 13:37:12 +02:00
Benjamin Valentin
c189ed5d1b
gnrc_ipv6_nib: add _nib_onl_nc_get()
2021-07-22 13:37:11 +02:00
Benjamin Valentin
11e9b7c08f
gnrc_ipv6_nib: only consider NC in gnrc_ipv6_nib_get_next_hop_l2addr()
...
Consider the following: A node tries to forward a packet to another
host for which it does not know the route yet. It assumes it to be
on-link and starts a neighbor solicitation, putting the node address
in the destinatio cache.
Later the route is known (via a second hop) but the host is still in
the NIB.
The result is that gnrc_ipv6_nib_get_next_hop_l2addr() ends up in the
"nib: %s is in NC or on-link, start address resolution" case and does
not attempt to resolve the route.
This results in the host remaining unreachable even though now a route
is present.
2021-07-22 13:36:53 +02:00
Benjamin Valentin
ac0b36384f
gnrc_ipv6_nib: improve debug output
2021-07-22 13:18:55 +02:00
Martine Lenders
6493241ed4
dhcpv6_client: add ztimer backend support
2021-07-21 16:28:39 +02:00
Martine Lenders
b5d9f78cbd
dhcpv6_client: port timeout mechanism to event_timeout
2021-07-21 16:28:39 +02:00
Martine Lenders
805952c5ce
dhcpv6_client: use event_timeout instead of xtimer
2021-07-21 16:28:37 +02:00
Martine Lenders
ed9a682e49
dhcpv6_client: set timer by unit rather than integer width
2021-07-21 16:27:54 +02:00
Martine Lenders
d1613da617
dhcpv6_client: use milliseconds rather than microseconds as base unit
2021-07-21 16:27:54 +02:00
Martine Lenders
02c0581ab9
timex: introduce MS_PER_CS
2021-07-21 16:27:53 +02:00
Martine Lenders
eb577c933e
dhcpv6_client: move timer setting to their own functions
2021-07-21 16:27:53 +02:00
Martine Lenders
184501b242
Merge pull request #16667 from miri64/event_timeout/bug/check-clock-on-clear
...
event_timeout: check clock before removing ztimer on clear
2021-07-21 15:37:53 +02:00
Francisco
7d829f1274
Merge pull request #13506 from HendrikVE/pr/autoadv_transition
...
examples/nimble_*: use nimble_autoadv module
2021-07-21 15:21:01 +02:00
Martine Lenders
bf764fd700
sock_dns: move module to directory named like module
2021-07-21 14:58:04 +02:00
benpicco
775d6095bc
Merge pull request #16660 from fjmolinas/pr_lora_e5_dev
...
boards/lora-e5-dev: initial support
2021-07-21 14:36:58 +02:00
benpicco
c4bc40f03b
Merge pull request #16658 from miri64/dhcpv6_client/enh/optional-ia_pd
...
dhcpv6_client: make IA_PD an optional module
2021-07-21 14:36:34 +02:00
benpicco
3e3c6cb6ca
Merge pull request #16666 from miri64/event/bug/doc-typos
...
event/timeout.h: fix typos in doc
2021-07-21 14:36:17 +02:00
Martine Lenders
399850cb43
tests/event_ztimer: add regression test for crashing clear
2021-07-21 13:32:39 +02:00
Martine Lenders
8924077a25
event_timeout: check clock before removing ztimer on clear
2021-07-21 13:30:54 +02:00
Martine Lenders
bf99bcc8d2
event/timeout.h: fix typos in doc
2021-07-21 12:25:05 +02:00
Martine Lenders
38d14b6335
dhcpv6_client: make IA_PD an optional module
...
Prefix delegation used to be the only supported feature of our DHCPv6
client, but by now it also supports MUD, DNS recursive name servers and
IA_NA is on the horizon. So it makes sense to make IA_PD an optional
module like all those other features are as well.
2021-07-21 11:37:29 +02:00
Francisco Molina
1fa6374530
boards/lora-e5-dev: initial support
2021-07-21 11:28:16 +02:00
Francisco Molina
c62f6e0590
cpu/stm32/flashpage: adapt to non dual-core stm32wl
2021-07-21 11:28:16 +02:00
Francisco Molina
8a8e023d04
cpu/stm32/wl: common subghz debug pin initialization
2021-07-21 11:28:15 +02:00
Francisco Molina
f2995240d4
cpu/stm32: handle parsing stm32wlex CPU_MODELs
2021-07-21 11:23:47 +02:00
Benjamin Valentin
da7d3779bf
examples/gnrc_networking: move udp command to shell commands
...
The `udp` command is a valuable debugging tool that is also useful
outside of the gnrc_networking example.
To enable easy sending of udp messages in other applications during
development, move the `udp` command to the shell module and introduce
the `gnrc_udp_cmd` pseudo-module to enable it.
2021-07-21 11:19:47 +02:00
benpicco
4f905bfa8c
Merge pull request #15493 from benpicco/riotboot-serial
...
riotboot: implement serial flasher
2021-07-21 11:01:31 +02:00
Martine Lenders
7793098ed8
Merge pull request #16634 from benpicco/gnrc_netif_parse_hostname
...
netutils: add netutils_parse_hostname()
2021-07-21 10:11:25 +02:00
Jose Alamos
df97f348e2
net/gnrc_lorawan: implement uplink redundancy
...
This commit implements uplink redundancy in GNRC LoRaWAN. Uplink
redundancy is used to retransmit unconfirmed uplink frames. The
retransmission stops when either a downlink message is received or the
number of uplink retransmissions is reached.
This functionality doesn't affect confirmed uplinks.
2021-07-21 03:51:47 +02:00
Jose Alamos
02151deae4
net/loramac: add redundancy configuration parameter
2021-07-21 03:51:46 +02:00
Jose Alamos
0e41f9e557
net/loramac: fix typo
2021-07-21 03:51:46 +02:00
Jose Alamos
4692e9e376
net/gnrc_lorawan: fix dependency resolution
2021-07-21 03:41:33 +02:00
benpicco
b0d9ea4b99
Merge pull request #16663 from maribu/drivers/dfplayer
...
drivers/dfplayer: fix doc & C++ boilerplate
2021-07-21 00:43:07 +02:00
benpicco
07b3e19d01
Merge pull request #16632 from maribu/periph/uart
...
periph/uart: Fix doc, use errno for return values
2021-07-21 00:12:24 +02:00
benpicco
9ba3c49267
Merge pull request #16662 from maribu/boards/rpi-pico
...
boards/rpi-pico: improve doc
2021-07-21 00:08:22 +02:00
Benjamin Valentin
e2a8c2506f
tests/riotboot_flashwrite: add nucleo-g07xrb to Makefile.ci
2021-07-20 23:23:37 +02:00
Benjamin Valentin
414c24d2ed
gh_actions: add step for riotboot_serial
2021-07-20 22:51:59 +02:00
Benjamin Valentin
a93deb4e95
cpu/stm32: usbdev: fix pm_layered include
2021-07-20 22:51:59 +02:00
Benjamin Valentin
7561d83001
boards/common/kw41z: skip led_init() for riotboot
2021-07-20 22:51:59 +02:00
Benjamin Valentin
90b5d4cfbf
boards/common/kw41z: make led_init() static
...
this saves a few bytes of ROM
2021-07-20 22:51:59 +02:00
Benjamin Valentin
fedca810cd
riotboot: factor out common Makefile parts
2021-07-20 22:51:56 +02:00
Benjamin Valentin
a05723e5cb
rioboot: add option to reset to riotboot
2021-07-20 22:51:15 +02:00
Benjamin Valentin
cabe639d04
sys/riotboot: move magic address to common file
2021-07-20 22:51:15 +02:00
Benjamin Valentin
a82d4e6683
makefiles: add riotboot_serial as flash tool
2021-07-20 22:51:15 +02:00
Benjamin Valentin
ea2e103bde
bootloaders/riotboot: add serial bootloader
2021-07-20 22:51:14 +02:00
Benjamin Valentin
22b3e1bc6b
tools/riotboot_serial: add flasher tool for riotboot serial loader
2021-07-20 22:50:41 +02:00
Benjamin Valentin
7a07b7471f
riotboot: implement serial bootloader feature
2021-07-20 22:50:41 +02:00
Benjamin Valentin
dead4fe1dc
tests: add test for netutils module
2021-07-20 22:44:54 +02:00
Benjamin Valentin
657be1c488
sys/shell/commands: gnrc_icmpv6_echo: use netutils_get_ipv6()
2021-07-20 22:44:40 +02:00
Benjamin Valentin
ce10baff81
examples/gcoap: use use netutils_get_ipv6()
2021-07-20 22:44:39 +02:00
Benjamin Valentin
0bb15273ec
examples/gnrc_networking: use netutils_get_ipv6()
2021-07-20 22:44:39 +02:00
Benjamin Valentin
3081eeb556
netutils: add netutils_get_ipv6()
2021-07-20 22:44:39 +02:00
Marian Buschsieweke
e3bef10f3b
drivers/dfplayer: fix doc & C++ boilerplate
...
- Fix unbalanced groups
- Add missing doc
- Fix C++ `extern "C" { ... }` boilerplate
2021-07-20 22:18:21 +02:00
Marian Buschsieweke
d74cf645ae
boards/rpi-pico: improve doc
...
- Add note about the OpenOCD version to be used
- Make use of proper Doxygen commands
2021-07-20 22:07:00 +02:00
Martine Lenders
70f3723fab
Merge pull request #16659 from miri64/gnrc_dhcpv6_client_mud_url/cleanup/rename
...
gnrc_dhcpv6_client_mud_url: rename to dhcpv6_client_mud_url
2021-07-20 17:22:17 +02:00
Martine Lenders
28c6259001
Merge pull request #16657 from miri64/gnrc_dhcpv6_simple_pd/enh/doc-names
...
gnrc_dhcpv6_client_simple_pd: fix old doc and names
2021-07-20 17:20:06 +02:00
Martine Lenders
e1449e27ff
Merge pull request #16259 from yarrick/safe_lwip
...
pkg/lwip: Add thread safety check when using DEVELHELP
2021-07-20 17:18:49 +02:00
Martine Lenders
d9be29318d
gnrc_dhcpv6_client_mud_url: rename to dhcpv6_client_mud_url
...
There is no real reason for that pseudo-module to use the `gnrc_`
prefix. Neither does it need GNRC-components (except, but optionally, as
a network stack of course), nor is it implemented with in the GNRC
network stack.
2021-07-20 15:30:34 +02:00
Martine Lenders
a0b9eb064c
gnrc_dhcpv6_client_simple_pd: fix old doc and names
2021-07-20 14:42:07 +02:00
Francisco
225c127a45
Merge pull request #16656 from aidiaz/periph_rtc_l5
...
Update cpu/stm32/periph/rtc_all.c for CPU_FAM_STM32L5 support.
2021-07-19 18:10:49 +02:00
aidiaz
5b9d8bd6c8
Update rtc_all.c for CPU_FAM_STM32L5 support.
2021-07-19 10:49:38 -04:00
Kevin "Tristate Tom" Weiss
916dcd34aa
Merge pull request #16651 from MrKevinWeiss/pr/releasenote202107
...
release-notes.txt: add 2021.07 release notes
2021-07-16 13:27:45 +02:00
MrKevinWeiss
598f52b4cf
release-notes.txt: add 2021.07 release notes
2021-07-16 12:17:58 +02:00
Erik Ekman
e04da0d828
pkg/lwip: Lock core before calling netif_get_ip6_addr_match in sock
2021-07-15 15:46:10 +02:00
Erik Ekman
c50604b63c
pkg/lwip: Add assert on incorrect thread usage
2021-07-15 15:46:10 +02:00
Kevin "Tristate Tom" Weiss
0ffd04c132
Merge pull request #16641 from jia200x/pr/kconfig/should_use_kconfig_fix
...
makefiles/kconfig.mk: force SHOULD_USE_KCONFIG if config file is present
2021-07-15 14:27:48 +02:00
benpicco
4bcd86b4ae
Merge pull request #16646 from jia200x/pr/nucleo-wl55jc/add_sx126x_type
...
boards/nucleo-wl55jc: add SX126X_PARAM_TYPE to board.h
2021-07-15 12:07:48 +02:00
benpicco
f877886357
Merge pull request #16637 from maribu/tests/periph_uart_mode
...
tests/periph_uart_mode: Drop dep to periph_timer
2021-07-14 16:48:52 +02:00
Leandro Lanzieri
9ca9efd15b
Merge pull request #16640 from jia200x/pr/revert/rx_symbol
...
net/lorawan: Revert #16604 and fix NETOPT_RX_SYMBOL_TIMEOUT documentation
2021-07-14 16:42:38 +02:00
benpicco
9c8b62aa1f
Merge pull request #16609 from maribu/cpu/rp2040
...
cpu/rpx0xx: port RIOT to the Raspberry Pi RP2040 MCU
2021-07-14 16:37:40 +02:00
Kevin "Tristate Tom" Weiss
62ac6fba8d
Merge pull request #16643 from miri64/gnrc_sock/fix/imply-only-unset-netif
...
gnrc_sock: imply end-point netif only if unset
2021-07-14 14:17:04 +02:00
Jose Alamos
b299299ad3
drivers/sx126x: fix NETOPT_RX_SYMBOL_TIMEOUT
2021-07-14 14:11:15 +02:00
Jose Alamos
986fe58704
netopt: fix NETOPT_RX_SYMBOL_TIMEOUT documentation
2021-07-14 14:11:14 +02:00
Jose Alamos
6a2096694b
boards/nucleo-wl55jc: add SX126X_PARAM_TYPE to board.h
2021-07-14 13:51:29 +02:00
Marian Buschsieweke
d778e2be0d
boards/rpi-pico: add the Raspberry Pi Pico
...
Co-authored-by: Fabian Hüßler <fabian.huessler@st.ovgu.de>
Co-authored-by: nickw96 <nick.weiler@st.ovgu.de>
Co-authored-by: MaestroOnICe <justus.krebs@st.ovgu.de>
Co-authored-by: Franz2000 <franz.freitag@st.ovgu.de>
2021-07-14 12:41:21 +02:00
Marian Buschsieweke
e3821480f1
cpu/rpx0xx: implement periph_uart
...
Co-authored-by: nickw96 <nick.weiler@st.ovgu.de>
Co-authored-by: MaestroOnICe <justus.krebs@st.ovgu.de>
Co-authored-by: Franz2000 <franz.freitag@st.ovgu.de>
2021-07-14 12:41:20 +02:00
Marian Buschsieweke
ea56dfc3ff
cpu/rpx0xx: add support for the RP2040 MCU
...
Co-authored-by: Fabian Hüßler <fabian.huessler@st.ovgu.de>
2021-07-14 12:41:20 +02:00
Martine Lenders
5c3c1b6a5f
gnrc_sock: imply end-point netif only if unset
2021-07-14 10:29:09 +02:00
Marian Buschsieweke
7ed34c7377
Merge pull request #16639 from maribu/fix-esp8266-boot
...
cpu/esp_common: fix boot issue on ESP8266
2021-07-14 10:21:34 +02:00
Jose Alamos
dc482cffff
makefiles/kconfig.mk: force SHOULD_USE_KCONFIG if config file is present
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2021-07-14 01:16:48 +02:00
benpicco
602384eb86
Merge pull request #16493 from brummer-simon/gnrc_tcp-align_with_sock_tcp
...
gnrc_tcp: align with sock tcp
2021-07-13 22:00:17 +02:00
Jose Alamos
c6da77a454
Revert "drivers/sx127x: fix size of rx symbol timeout"
...
This reverts commit 26ead7b5be88453b6904c5551591ecdfb8ba4688.
2021-07-13 21:14:28 +02:00
Jose Alamos
6ffecfe8d6
Revert "pkg/semtech-loramac: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT"
...
This reverts commit 79e194783c1b34d6249dbb56a888e4beac162255.
2021-07-13 21:14:19 +02:00
Jose Alamos
f7dd532dd3
Revert "net/gnrc_lorawan: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT"
...
This reverts commit e791a86971785babb9a7750a4be01cce760a7527.
2021-07-13 21:14:03 +02:00
Jose Alamos
d69256c90b
Revert "tests/driver_sx127x: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT"
...
This reverts commit 5ef4c0a778ab7d4f625d63fdafe5e8347bfe479d.
2021-07-13 21:13:34 +02:00
Marian Buschsieweke
6c4f0da7a7
cpu/esp_common: fix bootloop on ESP8266
2021-07-13 20:48:01 +02:00
Simon Brummer
873d1fe378
gnrc_tcp: align with sock_tcp
2021-07-13 20:32:14 +02:00
Martine Lenders
bf0bbbf17c
Merge pull request #16461 from brummer-simon/gnrc_tcp-refactor_tests
...
gnrc_tcp: refactor tests
2021-07-13 18:28:51 +02:00
benpicco
2e7b111c9e
Merge pull request #16636 from yarrick/lwip_nefif
...
pkg/lwip: Fix DHCP autostart
2021-07-13 17:23:30 +02:00
Marian Buschsieweke
ca7c12643c
tests/periph_uart_mode: Drop dep to periph_timer
...
Use xtimer only optionally (when periph_timer is available) for the
test. This makes this test applicable to freshly ported boards that
do not yet have a peripheral timer driver.
2021-07-13 16:51:00 +02:00
José Alamos
a53e1a3fc4
Merge pull request #16203 from leandrolanzieri/pr/pkg/wakaama_add_get_set_functions
...
pkg/wakaama: add get set functions and cleanup client connection
2021-07-13 10:24:19 -04:00
Erik Ekman
4e01900108
pkg/lwip: Start DHCP on correct interface
...
Fix for #16229
2021-07-13 13:45:16 +02:00
Erik Ekman
c7d24f7912
pkg/lwip: Add patch to fix netif_is_flag_set macro
...
Had spelling mistake: `nefif` instead of `netif`.
2021-07-13 13:07:38 +02:00
Leandro Lanzieri
327da03314
pkg/wakaama/client_connection: cleanup
...
Use URI parser and common resource access functions.
2021-07-13 08:11:23 +02:00
Leandro Lanzieri
e0896afddc
pkg/wakaama: add functions to interact with resources
2021-07-13 08:11:23 +02:00
Leandro Lanzieri
bfc81ae967
pkg/wakaama/contrib: remove unneeded reference to security object
2021-07-13 08:11:22 +02:00
Leandro Lanzieri
fcd582eff2
pkg/wakaama: move sock_udp dependency to package
2021-07-13 08:11:20 +02:00
Jose Alamos
abb88b1ffe
netdev_ieee802154_submac: check error codes
2021-07-12 18:20:50 +02:00
Jose Alamos
ee3fcaf8c2
ieee802154/submac: check error codes
2021-07-12 18:20:50 +02:00
Jose Alamos
6b1241c7bf
netdev_ieee802154_submac: fix initialization code
2021-07-12 16:48:50 +02:00
Jose Alamos
4bd77183a3
ieee802154/submac: call confirm_set_trx_state after initialization
2021-07-12 16:47:15 +02:00
Jose Alamos
9d754a6ed4
ieee802154/submac: fix default SubGHz page
2021-07-12 16:47:15 +02:00
benpicco
c2e9bc5c73
Merge pull request #16595 from fjmolinas/pr_init_timers_before_random
...
sys/auto_init: init ztimer/xtimer before random
2021-07-11 21:20:44 +02:00
José Alamos
9eb05b0ce6
Merge pull request #16631 from jia200x/pr/fix_gnrc_netif_cmd_lora_dep
...
shell_commands/gnrc_netif: fix gnrc_netif_cmd_lora dependency
2021-07-10 18:00:22 +02:00
Marian Buschsieweke
e7cacf6f60
periph/uart: Fix doc, use errno for return values
...
Some terminology issues are fixed. (The speed of an UART interface is
the symbol rate. The unit it is measured in is baud, which is symbols
per second. There is no such thing as baudrate or even baud/s.)
The return codes are changed to use negative errno constants on error
to match the driver design rules. For backward compatibility, the
enum was updated to match the error codes. Unless an application
depends on the exact numerical value (which would be insane), this is
not breaking any code.
2021-07-09 17:06:01 +02:00
José Alamos
934c875aba
Merge pull request #16579 from akshaim/pr/wl55jc_lorawan_final
...
drivers/sx126x: Add support for Nucleo -WL55JC
2021-07-09 14:48:11 +02:00
Jose Alamos
c8f9d85002
shell_commands/gnrc_netif: fix gnrc_netif_cmd_lora dependency
...
This commit fixes the dependency resolution of `gnrc_netif_cmd_lora`.
As it was, this module was pulled by the driver if `gnrc` was used.
Besides pulling an extra dependency in applications that don't use
`shell_commands` or `gnrc_lorawan`, this hardcodes the module
resolution in the drivers.
This commit pulls `gnrc_netif_cmd_lora` if `shell_commands` and
`gnrc_lorawan` are present.
2021-07-09 13:29:07 +02:00
José Alamos
15ff24a0c3
Merge pull request #16577 from jia200x/pr/netdev/container_of
...
tree-wide: avoid explicit cast to netdev
2021-07-09 13:07:32 +02:00
Jose Alamos
ebb857f8fa
drivers/encx24j600: avoid explicit cast to netdev
2021-07-09 11:35:23 +02:00
Jose Alamos
91bd1ccd9e
drivers/ethos: avoid explicit cast to netdev
2021-07-09 11:35:23 +02:00
Jose Alamos
2d0802e31f
drivers/slipdev: avoid explicit cast to netdev
2021-07-09 11:35:22 +02:00
Jose Alamos
c225eaa74b
sys/fuzzing: avoid explicit cast to netdev
2021-07-09 11:35:22 +02:00
Jose Alamos
d4052805f9
drivers/dose: avoid explicit cast to netdev
2021-07-09 11:35:21 +02:00
Jose Alamos
3f62db6042
nrfmin: avoid explicit cast to netdev
2021-07-09 11:35:21 +02:00
Jose Alamos
cab4e36757
tests/gnrc_ipv6_*: avoid explicit cast to netdev
2021-07-09 11:35:21 +02:00
Jose Alamos
5e3f7e35f1
gnrc_netif/auto_init_*: avoid explicit cast to netdev
2021-07-09 11:35:21 +02:00
Jose Alamos
bd0d03eb10
tests/gnrc_sixlowpan_*: avoid explicit cast to netdev
2021-07-09 11:35:20 +02:00
Jose Alamos
084bcf3ea6
semtech-loramac: avoid explicit cast to netdev
2021-07-09 11:35:20 +02:00
Jose Alamos
6f487485b5
tests/ieee802154_submac: avoid explicit cast to netdev
2021-07-09 11:35:20 +02:00
Jose Alamos
82a429e982
tests/gnrc_netif: avoid explicit cast to netdev
2021-07-09 11:35:19 +02:00
Jose Alamos
b483d1f809
netdev_test: avoid explicit cast to netdev
2021-07-09 11:35:19 +02:00
Jose Alamos
d33008483e
gnrc_netif_ieee802154: avoid explicit cast to netdev
2021-07-09 11:35:19 +02:00
Jose Alamos
fef46029be
link_layer/lwmac: avoid explicit cast to netdev
2021-07-09 11:35:18 +02:00
Jose Alamos
5de141227b
link_layer/gomach: avoid explicit cast to netdev
2021-07-09 11:35:18 +02:00
Jose Alamos
eebf5de051
auto_init/loramac: avoid explicit cast to netdev
2021-07-09 11:35:18 +02:00
Jose Alamos
513b13b8de
openwsn: avoid explicit cast to netdev
2021-07-09 11:35:17 +02:00
Jose Alamos
6e12cf34f8
openthread: avoid explicit cast to netdev
2021-07-09 11:35:17 +02:00
Jose Alamos
4e6f299af0
lwip: avoid explicit cast to netdev
2021-07-09 11:35:16 +02:00
Akshai M
29c392d52d
drivers/sx126x : Uncrustify
2021-07-09 11:16:41 +02:00
Akshai M
9a0431637b
boards/nucleo-wl55jc : Update Doc
...
Added additional references.
2021-07-09 11:16:41 +02:00
Akshai M
81e60e24eb
boards/wl55jc : Add support for sx1261
2021-07-09 11:16:41 +02:00
Akshai M
f58a021f6d
cpu/stm32wl : Add HW Debug pins
2021-07-09 11:16:41 +02:00
Akshai M
a4bbf0cffc
cpu/stm32 : APB3 and VDDTCXO config
...
Add APB3 disable, Enable VDDTCXO for Radio
2021-07-09 11:16:41 +02:00
Akshai M
17ad0fc5a7
driver/sx126x : Add set_rf_mode interface
2021-07-09 11:16:41 +02:00
Akshai M
8870a885cb
drivers/sx126x : Add stm32wl variant
2021-07-09 11:16:41 +02:00
Akshai M
f68dab9ccb
cpu/stm32: add GPIO_AF_UNDEF
2021-07-09 11:16:41 +02:00
Akshai M
896c12a009
drivers/sx126x: Enable SX126X_IRQ_SYNC_WORD_VALID irq
2021-07-09 10:47:42 +02:00
Akshai M
23c70e321d
drivers/sx126x.c : Add debug messages
2021-07-09 10:47:42 +02:00
Akshai M
8156b13cc8
docs/doxygen : Add CPU section
...
Add section `CPU Configurations` in `config` group
2021-07-09 10:47:42 +02:00
Jose Alamos
e04d62a969
examples/lorawan: avoid explicit cast to netdev
2021-07-09 10:38:37 +02:00
Jose Alamos
bfbbec3de3
sx127x: avoid explicit cast to netdev
2021-07-09 10:38:36 +02:00
Jose Alamos
c9ee5fb76a
sx126x: avoid explicit cast to netdev
2021-07-09 10:38:36 +02:00
Jose Alamos
af5622cd78
rn2xx3: avoid explicit cast to netdev
2021-07-09 10:38:36 +02:00
Jose Alamos
73da8b3cd5
nrf24l01p_ng: avoid explicit cast to netdev
2021-07-09 10:38:35 +02:00
Jose Alamos
947e305e0b
netdev_ieee802154_submac: avoid explicit cast to netdev
2021-07-09 10:38:35 +02:00
Jose Alamos
97f20198a0
stm32/eth: avoid explicit cast to netdev
2021-07-09 10:38:35 +02:00
Jose Alamos
853b3a0918
netdev_tap: avoid explicit cast to netdev
2021-07-09 10:38:34 +02:00
Jose Alamos
4340047781
esp-wifi: avoid explicit cast to netdev
2021-07-09 10:38:34 +02:00
Jose Alamos
88dc962c3e
esp-now: avoid explicit cast to netdev
2021-07-09 10:38:34 +02:00
Jose Alamos
0e65605c39
esp-eth: avoid explicit cast to netdev
2021-07-09 10:38:34 +02:00
Jose Alamos
686c81caf7
socket_zep: avoid explicit cast to netdev
2021-07-09 10:38:33 +02:00
Jose Alamos
9aa832f077
cc2420: avoid explicit cast to netdev
2021-07-09 10:38:33 +02:00
Jose Alamos
343ffa9f7e
at86rf215: avoid explicit cast to netdev
2021-07-09 10:38:33 +02:00
Jose Alamos
352e9431fe
nrf802154: avoid explicit cast to netdev
2021-07-09 10:38:32 +02:00
Jose Alamos
9c2258f97c
cc2538_rf: avoid explicit cast to netdev
2021-07-09 10:38:32 +02:00
Jose Alamos
227c06dd11
kw41zrf: avoid explicit cast to netdev
2021-07-09 10:08:46 +02:00
Jose Alamos
8cc28a29e1
kw2xrf: avoid explicit cast to netdev
2021-07-09 10:08:46 +02:00
Jose Alamos
b1c86a9ae3
mrf24j40: avoid explicit cast to netdev
2021-07-09 10:08:45 +02:00
Jose Alamos
72d71f1ac4
at86rf2xx: avoid explicit cast to netdev
2021-07-09 10:08:45 +02:00
Jose Alamos
650be4fdaf
netdev_test: inherit from netdev_ieee802154_t
2021-07-09 10:08:45 +02:00
Marian Buschsieweke
03670e6e86
Merge pull request #16630 from jia200x/pr/remove_nrf52840_legacy
...
drivers/nrf802154: remove nrf802154_rf_netdev_legacy
2021-07-09 09:53:41 +02:00
José Alamos
d75f032a47
Merge pull request #16599 from akshaim/pr/sx126xsymbol_timeout
...
drivers/sx126x : r/NETOPT_RX_TIMEOUT/NETOPT_RX_SYMBOL_TIMEOUT
2021-07-08 23:39:36 +02:00
José Alamos
2500d15526
Merge pull request #16628 from jia200x/pr/remove_cc2538_legacy
...
drivers/cc2538_rf: remove cc2538_rf_netdev_legacy
2021-07-08 23:38:41 +02:00
Jose Alamos
670782a76b
drivers/nrf802154: remove nrf802154_rf_netdev_legacy
2021-07-08 18:43:54 +02:00
benpicco
46323cdaf3
Merge pull request #16624 from benpicco/pkg/tinydtls-bump
...
pkg/tinydtls: bump version
2021-07-08 16:00:11 +02:00
benpicco
9781414720
Merge pull request #16625 from akshaim/pr/spi_stm32_check
...
stm32/spi : Add check for GPIO_UNDEF
2021-07-08 15:45:05 +02:00
Jose Alamos
8f553488d1
drivers/cc2538_rf: remove cc2538_rf legacy
2021-07-08 15:37:42 +02:00
Simon Brummer
876c24d1cc
gnrc_tcp: refactor tests
2021-07-08 14:22:03 +02:00
Akshai M
d3aa6ca00b
stm32/periph/spi : Add check for GPIO_UNDEF
2021-07-08 13:38:07 +02:00
Akshai M
4d890b1c45
drivers/sx126x : Configure Rx timeout timer
2021-07-08 12:19:36 +02:00
Akshai M
8d43dbf67f
drivers/sx126x : Update NETOPT_RX_xx
...
r/NETOPT_RX_TIMEOUT/NETOPT_RX_SYMBOL_TIMEOUT
Use sx126x_symbol_to_msec() to calculate the RX timeout in ms.
2021-07-08 12:19:36 +02:00
Akshai M
a3ed19e0ee
drivers/sx126x.h : Add sx126x_symbol_to_msec()
2021-07-08 12:19:36 +02:00
Francisco
79ee4fd489
Merge pull request #16459 from brummer-simon/gnrc_tcp-rewrite_passive_open
...
gnrc_tcp: rewrite passive open
2021-07-08 12:08:52 +02:00
Francisco
35dc0bbe0a
Merge pull request #15994 from bergzand/pr/suit/native
...
examples/suit_update: Add compatibility with native
2021-07-08 12:07:05 +02:00
Koen Zandberg
2b45e3f072
examples/suit_update: Add compatibility with native
2021-07-08 10:32:58 +02:00
Koen Zandberg
0d8070fc42
suit: Guard flashwrite interaction in suit_transport_coap
2021-07-08 10:22:37 +02:00
Koen Zandberg
44dc4dcbac
suit: Move riotboot dependency to suit_storage_flashwrite
2021-07-08 10:22:14 +02:00
Koen Zandberg
cb9a1fcc8e
suit/storage/ram: Make prefix and separator configurable
2021-07-08 10:22:14 +02:00
Simon Brummer
88a0273434
gnrc_tcp: add listen/accept
2021-07-08 09:40:02 +02:00
Hauke Petersen
3cc6c68ec4
Merge pull request #16602 from haukepetersen/opt_nimble_slotsize
...
pkg/nimble: configure BLE_LL_INIT_SLOT_SIZE to 1
2021-07-07 19:38:14 +02:00
Benjamin Valentin
def6bf0c03
pkg/tinydtls: bump version
...
This snapshot is as good as the last one, but it contains some bugfixes.
2021-07-07 15:43:28 +02:00
benpicco
eacbaf5295
Merge pull request #15549 from janosbrodbeck/gcoap/pr/dtls
...
net/gcoap: support DTLS
2021-07-07 15:34:55 +02:00
benpicco
3d42fe98aa
Merge pull request #16618 from benpicco/drivers/dose-EBUSY
...
drivers/dose: return -EBUSY if medium is busy
2021-07-07 15:28:26 +02:00
benpicco
2630480d0c
Merge pull request #16619 from nicoHarel/drivers/at24cxxx
...
drivers/at24cxxx: rearrange AT24CXXX_PARAMS
2021-07-07 14:47:55 +02:00
János Brodbeck
0a8eaea889
example/gcoap: add DTLS support
2021-07-07 14:45:30 +02:00
János Brodbeck
23a8659bdf
net/gcoap: support DTLS
2021-07-07 14:45:30 +02:00
János Brodbeck
5567f13258
net/dtls/dsm: add DTLS session management module
2021-07-07 14:45:28 +02:00
benpicco
1407559f33
Merge pull request #15773 from benpicco/tools/zep_dispatch-topology
...
tools/zep_dispatch: add support for advanced topologies
2021-07-07 12:14:43 +02:00
fe22ba428d
Merge pull request #16348 from fjmolinas/pr_pkg_mynewt_core
...
pkg/mynewt-core: initial commit
2021-07-07 10:55:53 +02:00
Nicolas Harel
bc25d3b458
drivers/at24cxxx: rearrange AT24CXXX_PARAMS
2021-07-07 10:15:55 +02:00
José Alamos
ed1692033f
Merge pull request #16617 from jia200x/pr/gnrc_lorawan_fix_release
...
gnrc_lorawan: fix gnrc_pktbuf_release_error (introduced by #16080 )
2021-07-07 10:15:33 +02:00
Fabian Hüßler
ee604bb35f
tests/driver_ina3221: test refactor
2021-07-07 08:40:02 +02:00
Fabian Hüßler
c8d1cde380
drivers/ina3221: SAUL refactor
2021-07-07 08:40:02 +02:00
Fabian Hüßler
c50149e488
drivers/ina3221: refactor
2021-07-07 08:40:02 +02:00
Benjamin Valentin
c81e4d3a2c
tools/zep_dispatch: uncrustify
2021-07-06 18:29:25 +02:00
Benjamin Valentin
aa3dfd9b88
tools/zep_dispatch: add support for topologies
2021-07-06 18:21:52 +02:00
Benjamin Valentin
5b959364fc
drivers/dose: return -EBUSY if medium is busy
...
If there was a collision, return -EBUSY so the frame can be put into
the packet queue and we can attempt to send it again.
2021-07-06 16:12:31 +02:00
Francisco Molina
3d2deacddb
examples/twr_aloha: use ZTIMER_MSEC
2021-07-06 14:52:27 +02:00
Francisco Molina
701891e7e3
pkg/nimble: allow using mynewt-core pkg
2021-07-06 14:52:26 +02:00
Francisco Molina
eb74b3ace6
pkg/uwb-core: use mynewt-core pkg
2021-07-06 14:52:25 +02:00
Francisco Molina
7b2debcbd8
pkg/uwb-dw1000: use mynewt-core pkg
2021-07-06 14:52:25 +02:00
Francisco Molina
0cdc5826fd
pkg/mynewt-core: initial commit
2021-07-06 14:52:24 +02:00
Jose Alamos
13274da74a
gnrc_lorawan: fix gnrc_pktbuf_release_error
2021-07-06 14:14:27 +02:00
Francisco
ccfd3ee980
Merge pull request #16597 from jia200x/pr/sx126x_kconfig
...
sx126x: add support for multiple simultaneous variants
2021-07-06 13:19:15 +02:00
benpicco
8f9233f329
Merge pull request #16232 from maribu/drivers/cc110x
...
drivers/cc110x: add power off (sleep) functions
2021-07-06 12:24:26 +02:00
Francisco
daeac91aea
Merge pull request #16604 from jia200x/pr/lora/fix_rx_timeout_size
...
netdev/lora: fix size of NETOPT_RX_SYMBOL_TIMEOUT
2021-07-06 12:15:00 +02:00
Francisco
94820faab9
Merge pull request #16570 from jia200x/pr/sx126x/fix_netdev_write
...
drivers/sx126x: fix netdev send and recv function
2021-07-06 11:45:51 +02:00
Martine Lenders
6bc7767b84
Merge pull request #16616 from kaspar030/fix_tests-ipv6_array_bounds
...
tests/unittests/tests-ipv6_hdr: fix too short ipv6_hdr_t allocations
2021-07-06 10:56:02 +02:00
Marian Buschsieweke
462ea9aec0
drivers/cc110x: hook up cc110x_sleep into netdev
2021-07-06 10:12:26 +02:00
Marian Buschsieweke
3d76875f38
drivers/cc110x: style fixes
2021-07-06 10:12:21 +02:00
Francisco Acosta
71be0ba3a1
tests/driver_cc110x: add sleep and wake-up commands
2021-07-06 10:12:16 +02:00
Francisco Acosta
0efc13602f
drivers/cc110x: add power off (sleep) functions
2021-07-06 10:11:55 +02:00
Martine Lenders
b034ccaaa3
Merge pull request #16422 from janosbrodbeck/pr/tinydtls/reset_session
...
pkg/tinydtls: handling of close_notify
2021-07-06 00:25:20 +02:00
benpicco
29f9ffb4fc
Merge pull request #16582 from maribu/examples/hello-world
...
examples/blinky: new application
2021-07-06 00:24:18 +02:00
János Brodbeck
c016b843d6
pkg/tinydtls: destroy session after sending close notification
2021-07-05 23:45:20 +02:00
6aa8fd650b
tests/unittests/tests-ipv6_hdr: fix too short ipv6_hdr_t allocations
2021-07-05 22:35:29 +02:00
Martine Lenders
42deae8d7e
Merge pull request #16614 from kaspar030/fix_tests-ipv4_addr
...
unittests/tests-ipv?_addr: fix some uninitialized variable bugs
2021-07-05 19:04:37 +02:00
ddc30a198a
unittests/tests-ipv6_addr: test_ipv6_addr_to_str__addr_NULL(): zero a
2021-07-05 16:51:16 +02:00
b388a2a440
unittests/tests-ipv4_addr: test_ipv4_addr_to_str__addr_NULL(): zero a
2021-07-05 16:50:44 +02:00
Jose Alamos
2e5b7f9e31
sx126x: add support for multiple simultaneous variants
2021-07-05 16:02:15 +02:00
c8c632f485
Merge pull request #16610 from kaspar030/netstats_cibh
...
netstats: add missing cib.h include
2021-07-05 14:36:12 +02:00
Martine Lenders
fa406e9e54
Merge pull request #16611 from kaspar030/gnrc_icmpv6_echo_msg_avail
...
sys/shell/commands: gnrc_icmpv6_echo: use msg_avail()
2021-07-05 14:19:46 +02:00
Marian Buschsieweke
f8b1dd41c5
examples/blinky: add a new example app
2021-07-05 10:47:22 +02:00
017d33825f
sys/shell/commands: gnrc_icmpv6_echo: use msg_avail()
2021-07-05 10:35:40 +02:00
031d8b75bd
netstats: add missing cib.h include
2021-07-05 10:32:50 +02:00
benpicco
9755b7ae12
Merge pull request #16608 from benpicco/cpu/kinetis-RAM_LEN
...
cpu/kinetis: fix RAM_LEN calculation
2021-07-05 09:47:55 +02:00
Benjamin Valentin
41765e6e4b
cpu/kinetis: fix RAM_LEN calculation
2021-07-05 00:53:10 +02:00
benpicco
b911dc6d59
Merge pull request #16607 from maribu/boards/pic32-wifire
...
boards/{pic32-wifire,6lowpan-clicker}: Add CLOCK_CORECLOCK
2021-07-04 19:11:14 +02:00
Marian Buschsieweke
5a8e36769f
boards/6lowpan-clicker: Add CLOCK_CORECLOCK
...
Also sneak in use of MHZ() macro, so that reviews don't need to count
zeros.
2021-07-04 17:59:21 +02:00
Marian Buschsieweke
d04c493ceb
boards/pic32-wifire: Add CLOCK_CORECLOCK
...
Also sneak in use of MHZ() macro, so that reviews don't need to count
zeros.
2021-07-04 17:59:15 +02:00
Jose Alamos
94d46e756e
cpu/fe310: fix RTT frequency
2021-07-02 14:53:22 +02:00
Jose Alamos
033c1d97f7
sx126x: move pa_cfg to ROM
2021-07-02 11:12:53 +02:00
Jose Alamos
5ef4c0a778
tests/driver_sx127x: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT
2021-07-01 12:00:25 +02:00
Jose Alamos
e791a86971
net/gnrc_lorawan: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT
2021-07-01 11:59:39 +02:00
Jose Alamos
79e194783c
pkg/semtech-loramac: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT
2021-07-01 11:59:22 +02:00
Jose Alamos
26ead7b5be
drivers/sx127x: fix size of rx symbol timeout
2021-07-01 11:58:34 +02:00
Hauke Petersen
a5369b1b38
pkg/nimble: configure BLE_LL_INIT_SLOT_SIZE to 1
2021-07-01 08:58:34 +02:00
Francisco Molina
a9b104ca22
sys/auto_init: init ztimer/xtimer before random
2021-06-29 13:12:18 +02:00
Martine Lenders
28931da0ed
makefiles/kconfig.mk: generate config file from RIOT_CONFIG_% vars
2021-06-25 14:04:39 +02:00
Jose Alamos
951822c41b
drivers/sx126x: fix wrong return value in recv function
2021-06-22 16:14:21 +02:00
Jose Alamos
d4941604d9
drivers/sx126x: fix netdev send function
...
This commit fixes the send function of sx126x. The loop that reads the
iolist was not considering the offset. Therefore each iolist snippet was
being written into the first position.
The loop was also setting the payload length to the size of the iolist
snippet. Then the payload was also wrong.
With this commit an iolist is copied sequentially into the framebuffer
and the payload length is set to `iolist_size`
2021-06-18 12:19:16 +02:00
Benjamin Valentin
68afd9d900
gnrc_ndp: add route information option
2021-06-18 00:13:08 +02:00
Francisco Molina
5d627c5554
pkg/nimble: use tinycrypt pkg
2021-06-08 14:26:46 +02:00
Hendrik van Essen
2f10befd2b
examples/nimble_heart_rate_sensor: use new nimble_autoadv module
2021-06-03 14:15:38 +02:00
Hendrik van Essen
77c5ddf2f8
examples/nimble_gatt: use new nimble_autoadv module
2021-06-03 14:15:38 +02:00
Francisco Molina
2c18d0d3d6
makefiles/clang-tidy: initial support
2021-05-28 11:57:20 +02:00
=
6d51ac8622
drivers/w5100/w5100.c: fix TX_WR register's value
2021-05-15 14:34:55 +08:00
Karl Fessel
9f00528a58
core/sched: add runq_callback hook and runq inspection functions
2021-05-10 15:01:58 +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
Benjamin Valentin
c697b8cfa7
boards/nrf52840dongle: enable VDDH SAUL sensor
2021-03-17 15:35:24 +01:00
Benjamin Valentin
f3c1106c9e
cpu/nrf52: add SAUL driver for VDDH sensor
2021-03-17 15:35:23 +01:00
Marian Buschsieweke
0c349cd0bc
sys/net/netopt: minor style fixes
2021-02-25 16:49:34 +01:00
Marian Buschsieweke
38a94fb137
sys/net/netopt: Drop deprecated NETOPT_MAX_PACKET_SIZE
...
This option has been deprecated for quite a few release. It should be safe to
delete now.
2021-02-25 16:49:34 +01:00
Marian Buschsieweke
0d2c73d82c
pkg/ccn-lite: bump version
2021-02-25 16:49:34 +01:00
Marian Buschsieweke
0da0f3a32f
pkg/ndn-riot: use NETOPT_MAX_PDU_SIZE
...
Replace NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE via a patch
2021-02-25 16:49:34 +01:00
Benjamin Valentin
934d1c1f7f
socket_zep: include HW address with HELLO packet
2021-02-20 20:37:14 +01:00
Benjamin Valentin
99341a3dc4
cpu/native: export send() as real_send()
2021-02-20 20:35:33 +01:00
Marian Buschsieweke
bcca86b441
tests/gnrc_sixlowpan_frag*: Use NETOPT_MAX_PDU_SIZE
...
Replaces instances of deprecated NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE.
2021-02-16 14:08:00 +01:00
Akshai M
b9d84e0b3e
doc/porting-cpus.md: initial import of a CPU porting guide
2021-02-10 15:45:59 +01:00
shuguo
64e4573b82
gnrc_gomach: adapt duty record parameters' namings.
2018-04-16 15:48:47 +08:00