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

31778 Commits

Author SHA1 Message Date
Vincent Dupont
e2fa5bcb7c tests/candev: adapt to use periph_can
This makes tests/candev use periph_can by default instead of old native
specific driver.
2020-09-30 12:59:03 +02:00
Vincent Dupont
b4f29035ce native/can: fix CAN init
Native CAN device was not properly ported to periph_can interface.
This commit fixes this by renaming all needed structures and files so
auto_init_can can initialize the native device. FEATURES_PROVIDED is
also updated for native.
2020-09-30 12:59:03 +02:00
Vincent Dupont
98c39d5104 can: add proper checks for ifnum validity
Most functions were using asserts, but in some cases it might not be a
programmatic error to pass an invalid ifnum. This makes sure the code
does not crash by testing it at runtim and returning an error.
2020-09-30 12:59:02 +02:00
Francisco
bfb8fc52b1
Merge pull request #15094 from bergzand/pr/suit/secure_fetch
SUIT: fail fetch if the image size doesn't match expected
2020-09-28 14:11:26 +02:00
Martine Lenders
612d723d6c
Merge pull request #15087 from miri64/tapsetup/enh/tun
tapsetup: add support for single, unbridged TUN interface
2020-09-28 13:49:37 +02:00
7c029c7f43
Merge pull request #14907 from OTAkeys/pr/adcxx1c_get_alert
drivers/adcxx1c: add clear alert function
2020-09-28 13:28:15 +02:00
ab0cc57997
suit: Only finish the flashwrite when mock is not active
This can be removed as soon as the SUIT module has a proper storage
abstraction
2020-09-28 13:03:40 +02:00
Martine Lenders
2ed4b32e54
tapsetup: add support for single, unbridged TUN interface 2020-09-28 12:31:22 +02:00
Martine Lenders
73b8342528
tapsetup: make deleting interfaces a function 2020-09-28 12:31:22 +02:00
Martine Lenders
4a133a7d30
Merge pull request #15088 from maribu/sc_gnrc_icmpv6_echo
sys/shell/commands/gnrc_icmpv6_echo: Fix alignment
2020-09-28 11:30:08 +02:00
Marian Buschsieweke
4243c180cb
Merge pull request #15097 from benpicco/boards/mcb2388_doc
boards/mcb2388: enhance documentation
2020-09-28 09:43:11 +02:00
9b08cdca3d
Merge pull request #15098 from benpicco/cpu/fe310_rtc_fix
cpu/fe310: run RTT at 1 Hz if RTC is selected
2020-09-28 09:16:42 +02:00
Benjamin Valentin
2647f5f3c2 cpu/fe310: run RTT at 1 Hz if RTC is selected
The RTC on the fe310 is emulated using the RTT.
This only works if the RTT frequency is 1 Hz, so default to that
value in case `periph_rtc` is selected.
2020-09-27 22:45:04 +02:00
Benjamin Valentin
3e87d201c7 boards/mcb2388: enhance documentation
Document the implementation status of the MCUs peripherals.
2020-09-27 22:23:59 +02:00
ad45506924
Merge pull request #15082 from leandrolanzieri/pr/sys/net/remove_routing
sys/net: remove unused routing directory
2020-09-27 15:55:30 +02:00
Juergen Fitschen
62fb4a2ade
Merge pull request #13661 from jue89/feature/evtimer_on_ztimer
sys/evtimer: introduce ZTIMER_MSEC as timer backend
2020-09-27 14:07:04 +02:00
9334897ab9
Merge pull request #15086 from maribu/ibs-after-stackpointer
cpu/cortexm_common: Flush pipeline after triggering PendSV
2020-09-26 21:05:04 +02:00
benpicco
d1afb8983e
Merge pull request #15093 from bergzand/pr/suit/pol_check_before_fetch
suit: Move policy check to before fetch
2020-09-26 19:32:13 +02:00
benpicco
ab15d67e80
Merge pull request #15059 from maribu/core-thread-cast-align
core/thread.c: Silence -Wcast-align flase positives
2020-09-26 16:31:58 +02:00
91df9cae87
suit: Finalize image after digest verification 2020-09-26 14:40:14 +02:00
791155d3dd
suit/coap: fail fetch if the image size doesn't match expected 2020-09-26 13:34:50 +02:00
cdf45f9798
suit: Move policy check to before fetch
This prevents the whole payload fetch if the manifest fails the policy
check
2020-09-26 12:48:53 +02:00
6a2b2aab5d
Merge pull request #14879 from benpicco/cpu/kinetis/rtc_mktimr
cpu/kinetis: RTC use rtc_mktime()
2020-09-25 21:48:16 +02:00
a1473431da
Merge pull request #14878 from benpicco/cpu/fe310/rtc_mktime
cpu/fe310: RTC: use rtc_mktime()
2020-09-25 21:19:04 +02:00
benpicco
70a014fc47
Merge pull request #15089 from aabadie/pr/tests/pkg_utensor_stacksize
tests/pkg_utensor: increase stacksize with LLVM build on ARM
2020-09-25 20:22:30 +02:00
Juergen Fitschen
dfec601dea sys/evtimer: adjusted documentation for evtimer_on_ztimer 2020-09-25 18:55:01 +02:00
benpicco
a923cda323
Merge pull request #14944 from benpicco/drivers/mtd_mci
cpu/lpc23xx: add MTD wrapper for MCI driver
2020-09-25 18:22:48 +02:00
Benjamin Valentin
d092c12a66 cpu/fe310: RTC: use rtc_mktime()
Use RTC helper functions instead of libc functions.
This gives us y2038 safety by the extended epoch and saves
a good chunk of memory:

picolibc mktime():

   text	   data	    bss	    dec	    hex	filename
  15048	    520	   2504	  18072	   4698	tests/periph_rtc/bin/hifive1/tests_periph_rtc.elf

rtc_mktime():

   text	   data	    bss	    dec	    hex	filename
   7632	     40	   2452	  10124	   278c	tests/periph_rtc/bin/hifive1/tests_periph_rtc.elf
2020-09-25 18:22:10 +02:00
benpicco
2bfe7e1ce2
Merge pull request #15090 from aabadie/pr/boards/nucleo-g071rb
boards/nucleo-g071rb: add initial support
2020-09-25 18:21:29 +02:00
316871a4fa
Merge pull request #15068 from MrKevinWeiss/pr/dev_enum
drivers/dev_enums: Remove unused dev_enums.h
2020-09-25 17:35:21 +02:00
Benjamin Valentin
0822a4c77e tests/pkg_fatfs_vfs: adapt for mtd_mci 2020-09-25 15:26:02 +02:00
Benjamin Valentin
07dc9cc53b boards/msba2: add default MTD backend 2020-09-25 15:26:02 +02:00
Benjamin Valentin
00bbacc7e8 boards/mcb2388: add default MTD backend 2020-09-25 15:26:02 +02:00
Benjamin Valentin
f738ac66d3 drivers/mtd_mci: add MTD wrapper for MCI driver 2020-09-25 15:26:02 +02:00
3949271953
tests: exclude nucleo-g071rb where necessary 2020-09-25 15:20:15 +02:00
46fc0d2694
examples: exclude nucleo-g071rb where necessary 2020-09-25 15:20:15 +02:00
20ef6af4c8
boards/nucleo-g071rb: add support for nucleo-g071rb 2020-09-25 15:20:15 +02:00
84f1a70b7f
cpu/stm32/rtt: adapt for stm32g0 2020-09-25 15:20:14 +02:00
Marian Buschsieweke
e028f6bbe6
core/thread: thread_measure_stack_free() const arg
Add `const` to stack pointer passed to thread_measure_stack_free()
2020-09-25 14:30:33 +02:00
Marian Buschsieweke
49f3d1056d
cpu/cortexm_common: Code style
Fix code alignment
2020-09-25 13:58:25 +02:00
Marian Buschsieweke
304f4ec7d4
cpu/cortexm_common: flush pipeline after PendSV
https://interrupt.memfault.com/blog/arm-cortex-m-exceptions-and-nvic#pendsv-example
2020-09-25 13:58:06 +02:00
25e1fec90c
cpu/stm32: add support for stm32g071rb 2020-09-25 13:08:07 +02:00
b36278f18d
tests/pkg_utensor: increase stacksize with LLVM build on ARM 2020-09-25 13:06:29 +02:00
Marian Buschsieweke
5a04f48238
sys/shell/commands/gnrc_icmpv6_echo: Fix alignment
Fix unaligned memory access in `ping6` shell command
2020-09-25 12:42:02 +02:00
Martine Lenders
ff8b7a92d4
tapsetup: fix output for no sub-interfaces with list command
To be correct YAML, an empty list must be signified as a `[]`
2020-09-25 12:21:58 +02:00
Francisco
f69d6d042e
Merge pull request #15050 from chrysn-pull-requests/clang-gets-explicit-mfloat
makefiles: Pass explicit float mode to clang
2020-09-25 12:16:21 +02:00
chrysn
2eeda9a1ca makefiles: Pass explicit float mode to clang
The assumption that clang defaults to hard-float on ARM architectures
does not hold on Debian systems where [set-correct-float-abi].
As setting the flags that are implied on most systems does no harm, the
flags for the selected hard- or soft float behavior are now set
independently of the toolchain.

[set-correct-float-abi]: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/10/debian/patches/26-set-correct-float-abi.diff

Closes: https://github.com/RIOT-OS/RIOT/issues/15026
2020-09-25 11:02:29 +02:00
Francisco
ad9e35c445
Merge pull request #14436 from bergzand/pr/suit/ietf_v7
SUIT: Upgrade to draft-ietf-suit-manifest-09
2020-09-24 21:57:24 +02:00
464aa26565
tests/suit_manifest: extend with multi-component test 2020-09-24 21:15:13 +02:00
401f8eb9bd
dist/tools/suit: Update suit tooling to IETF-v7 compliance 2020-09-24 21:15:13 +02:00