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

34180 Commits

Author SHA1 Message Date
ffa28ef731
tests/gnrc_sock_dns: move to test-with-config 2021-01-25 21:10:08 +01:00
aeadbfc80d
tests/driver_my9221: move to test-with-config 2021-01-25 21:10:08 +01:00
d0a3f3090b
tests/driver_grove_ledbar: move to test-with-config 2021-01-25 21:10:08 +01:00
60c8e027d0
tests/driver_hd44780: move to test-with-config 2021-01-25 21:10:08 +01:00
16652e83f1
tests/driver_ds1307: move to test-with-config 2021-01-25 21:10:07 +01:00
e071444af7
tests/driver_at86rf2xx_aes: move to test-with-config 2021-01-25 21:10:07 +01:00
239e7cadfb
tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
9821835e28
tests/emcute: move to tests-as-root 2021-01-25 21:10:07 +01:00
87a382aa5e
examples/suit_update: move to test-with-config 2021-01-25 21:10:07 +01:00
072718b04b
examples: tests: move lorawan examples to tests-with-config 2021-01-25 21:10:06 +01:00
Gaëtan Harter
80b9290bb1
tests/pkg_fatfs_vfs: declare test as test-with-config
For running the test on boards, it needs a manual setup.
This however declares the "native" test as requiring config too.

No need to be blacklisted when using test-with-config.
2021-01-25 21:10:06 +01:00
Gaëtan Harter
54c4536945
tests: add 'test-as-root' and 'test-with-config' targets
These targets cannot be used in an automated testing workflow without
complex configuration or extend rights.

- Add new 'test-as-root' target for tests that require to be root or
start an external daemon as root
- Add new 'test-with-config' target for tests that require a specific
configuration to succeed (module configuration or hardware
configuration)
2021-01-25 21:10:06 +01:00
Gaëtan Harter
4412b9a4ab
tests/tests.inc.mk: move tests targets and variables
Create a file for setting tests targets and variables.
It is a refactoring before adding new commands.
2021-01-25 21:10:06 +01:00
benpicco
83201ddb00
Merge pull request #15760 from maribu/sock-aux-rssi
sys/net/sock: add sock_aux_rssi
2021-01-25 18:51:11 +01:00
Francisco
25e99d81ed
Merge pull request #10748 from maribu/sane_signed_interger_overflow
makefiles: Add -fwrapv to CFLAGS
2021-01-25 18:47:09 +01:00
Marian Buschsieweke
4c91ac1afd
tests/sock_udp_aux: new test application 2021-01-25 15:50:24 +01:00
benpicco
f45613abbf
Merge pull request #15852 from nmeum/pr/busybox-grep-short-opts
makefile: Fix usage error with busybox grep
2021-01-25 14:43:19 +01:00
benpicco
1862a73d41
Merge pull request #15844 from benpicco/sys/oneway-malloc_align
sys/oneway-malloc: only allocate word-aligned chunks
2021-01-25 14:31:37 +01:00
Hauke Petersen
ce0d589384
Merge pull request #15807 from haukepetersen/opt_jlink_versioncheckstuff
tools/jlink.sh: fix version check and allow to skip it
2021-01-25 14:03:06 +01:00
87cd41a6d1
Merge pull request #15657 from aabadie/pr/cpu/stm32_merge_clock_headers
cpu/stm32: merge clock source selection headers
2021-01-25 13:57:05 +01:00
Marian Buschsieweke
01382dc4ad
makefiles: Add -fwrapv to CFLAGS
This commit makes overflow of signed integers to behave as expected by at 90%
of the C developers, even though overflow of signed integers are strictly
undefined behavior.

Note: Please do not add code relying on a specific behavior for the overflow of
      signed integers, even though `-fwrpav` will make that code work. This is
      intended to mitigate the risk of bugs in overflow checks being exploited,
      not to encourage adding new bugs.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30475 for details and see
http://c-faq.com/misc/intovf.html on how to implement overflow checks properly.
2021-01-25 13:35:43 +01:00
49a3592f92
Merge pull request #15849 from benpicco/cpu/stm32f7-adc
cpu/stm32: add periph_adc for STM32F7
2021-01-25 13:12:22 +01:00
Benjamin Valentin
65ab38a894 sys/oneway-malloc: only allocate word-aligned chunks
If an unevenly sized allocation is requested, the next buffer handed
out would start at an unaligned address.

Fix this by rounding up to the next word-sized allocation size.
2021-01-25 12:05:05 +01:00
5fef40ab5a
cpu/stm32/clk: cleanup common clock configuration 2021-01-25 11:46:35 +01:00
dfed1b0567
cpu/stm32: merge g0 and g4 clock configuration headers 2021-01-25 11:46:34 +01:00
0aadf367cc
cpu/stm32: rework common clock source selection header 2021-01-25 11:46:34 +01:00
a034e65453
boards/stm32f7: use common clk_conf.h header 2021-01-25 11:44:22 +01:00
Francisco
947c63666e
Merge pull request #15834 from leandrolanzieri/pr/cpu/stm32/kconfig_features_conflict_fix
cpu/stm32/kconfig: fix rtt/rtc error symbol
2021-01-25 10:15:32 +01:00
AravindKarri
e9691e61c2 boards/nucleo-f767zi: add ADC support 2021-01-24 22:31:38 +01:00
AravindKarri
63252d17c0 cpu/stm32/adc_f4: add support for stm32f7 2021-01-24 22:30:49 +01:00
benpicco
71fe6685b5
Merge pull request #13743 from fabian18/driver-nrf24l01p-netdev-minimal
drivers/nrf24l01p: Netdev driver for nrf24l01p
2021-01-24 22:19:50 +01:00
Fabian Hüßler
7d618afa17 nrf24l01p_ng: make use of netdev_register() 2021-01-24 20:49:39 +01:00
Fabian Hüßler
063ff60890 drivers/include: add NETDEV_NRF24L01P_NG 2021-01-24 20:49:39 +01:00
fabian18
dc9e915231 tests/driver_nrf24l01p_ng: Test for nrf24l01p netdev driver 2021-01-24 20:49:39 +01:00
fabian18
f7a77ebb04 drivers/nrf24l01p_ng: netdev driver for nrf24l01+
The driver uses the netdev interface. Due to the limited
capabilities of the transceiver (32 byte FIFO and no source address in the layer2 frame),
it relies on 6LowPAN compression and adds the source address to the frame for that.
2021-01-24 20:49:39 +01:00
67e5a37495
Merge pull request #15841 from btcven/2020_01_22-fix-boards
makefiles/info.inc.mk: fix EXTERNAL_BOARD_DIRS in info-build-json
2021-01-23 23:04:11 +01:00
Marian Buschsieweke
ca94d80ac8
Merge pull request #15837 from bergzand/pr/fe310/ecall_cleanup
cpu/fe310: Mark registers as clobbered and allow using immediates for values
2021-01-23 17:42:45 +01:00
Leandro Lanzieri
e5aca465bd
cpu/stm32/kconfig: fix rtt:rtc error symbol
It only exists conflict between the usage of RTC and RTT on the F1
family, but the error symbol was being set for all of them. This fixes
the issue.
2021-01-23 09:59:03 +01:00
b57b3d490d
cpu/fe310: Allow using immediates for ecall arguments
The mv instruction (which is usually implemented as `add rd, x0, r1`) is
changed to `add rd, x0, %input`. This can either be used as a load
immediate or as an move.

The code size grows by two bytes. This because GCC does not compress the
li instruction to the compressed version (even though this is possible).
2021-01-22 20:49:52 +01:00
896227ab08
cpu/fe310: Add used registers to clobbers 2021-01-22 20:49:17 +01:00
Jean Pierre Dudey
9b4688bab1 makefiles/info.inc.mk: fix EXTERNAL_BOARD_DIRS in info-build-json
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-22 20:33:38 +01:00
benpicco
46337efd93
Merge pull request #15783 from maribu/stm32_eth_fix_error_handling
cpu/stm32/periph_eth: fix error handling in send()
2021-01-22 20:25:25 +01:00
benpicco
4c403d6559
Merge pull request #15788 from bergzand/pr/core/inline_thread_yield_higher
core/thread: Allow for inline thread_yield_higher
2021-01-22 20:25:11 +01:00
benpicco
1a30a3a280
Merge pull request #15707 from ML-PA-Consulting-GmbH/fix/20210105__sam0_common-periph-flashpage__fix_unaligned_write
sam0_common/periph/flashpage: fix unaligned write
2021-01-22 20:24:53 +01:00
benpicco
1df890304a
Merge pull request #15523 from btcven/2020_11_25-bq2429x
drivers: add bq2429x power management IC driver
2021-01-22 20:24:35 +01:00
Marian Buschsieweke
0d432b59fe
Merge pull request #15840 from benpicco/cpu/atmega-rm_ldscripts_compat
cpu/atmega*: drop ldscripts_compat
2021-01-22 20:20:57 +01:00
Jean Pierre Dudey
273721efc0 drivers: add bq2429x power management IC driver
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-22 19:30:12 +01:00
Benjamin Valentin
236c4db83e cpu/atmega*: drop ldscripts_compat
Those were only needed with very old toolchains.
These days they cause more confusion than benefit, so drop them.
2021-01-22 19:05:20 +01:00
benpicco
e1052f0152
Merge pull request #15833 from yarrick/esp_emac_debug
cpu/esp32: Add newline to emac_main debug prints
2021-01-22 14:36:24 +01:00
Martine Lenders
879fbc179e
Merge pull request #15755 from janosbrodbeck/pr/dtls/get_event_session
sock/async: add function to retrieve session object of current DTLS event
2021-01-22 10:51:51 +01:00