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

38384 Commits

Author SHA1 Message Date
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
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
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
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
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
1768b46f81
boards/p-nucleo-wb55: add new supported features 2022-01-27 16:04:36 +01:00
a7d71930c9
boards/p-nucleo-wb55: update notes about OpenOCD version 2022-01-27 16:04:27 +01:00
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 3a11b1fbd2 (#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
3a11b1fbd2. 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
8a869217f3
gh_action/test-on-iotlab: add nucleo-wl55jc and samr34-xpro 2022-01-27 11:47:06 +01:00
a18c95e524
testbed-support: add iotlab mapping for nucleo-wl55jc and samr34-xpro 2022-01-27 11:46:39 +01:00
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
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
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
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