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
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
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
Benjamin Valentin
3e7999387c
tools/zep_dispatch: don't graph links with weight 0
2021-09-24 16:26:36 +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
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
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
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
=
6d51ac8622
drivers/w5100/w5100.c: fix TX_WR register's value
2021-05-15 14:34:55 +08: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
shuguo
64e4573b82
gnrc_gomach: adapt duty record parameters' namings.
2018-04-16 15:48:47 +08:00