Jean Pierre Dudey
447cdebd26
cpu/cc26xx_cc13xx: add & link CCFG configuration
...
> Allows flahsing CCFG configuration using Kconfig,
formely "make menuconfig".
> Supports cc26x0, cc26x2_cc13x2.
> Can be used to enable bootloader backdoor, to use
cc2538-bsl flashing script.
> Not all options are in Kconfig, most important ones,
others can be added in further commits.
> On cc13xx targets the VDDR high option can be enabled
using Kconfig.
> With this, RIOT can flash blank chips and the firmware
will run just fine.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-09-27 17:58:11 -05:00
Jean Pierre Dudey
978ea409b5
cpu/cc26xx_cc13xx: add CCFG register values
...
This adds almost all registers necessary to flash create
the CCFG configuration.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-09-27 17:56:55 -05:00
Jean Pierre Dudey
d0aedf0f95
cpu/cc26xx_cc13xx: add custom ld script
...
This add a custom ldscript for cc26xx_cc13xx CPUs,
which allows linking CCFG configuration, usage of GPRAM,
etc.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-09-27 17:54:14 -05: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
c8ecc9c3ca
suit: Upgrade manifest parser to IETF-v9 compliance
2020-09-24 21:15:08 +02:00
Leandro Lanzieri
0cd94c7c67
sys/net: remove unused routing directory
2020-09-24 17:32:34 +02:00
f25398ae25
Merge pull request #15075 from benpicco/evtimer_warn
...
sys/evtimer: copy warning from xtimer
2020-09-24 16:28:44 +02:00
Jose Alamos
34b3f55200
pkg/openthread: migrate to event loop
2020-09-24 15:48:07 +02:00
Martine Lenders
f862166cbb
Merge pull request #15077 from miri64/gnrc_ipv6_nib/fix/UNREACHABLE-6LN
...
gnrc_ipv6_nib: set NCE stale on incoming ARO
2020-09-24 14:20:26 +02:00
Martine Lenders
555c62de51
gnrc_ipv6_nib: set NCE stale on incoming ARO
...
In accordance with RFC 6775, section 5.2 an NCE should be set STALE
when an ARO renews the address registration for the address:
> The routers SHOULD NOT garbage-collect Registered NCEs (see
> Section 3.4), since they need to retain them until the Registration
> Lifetime expires. Similarly, if NUD on the router determines that
> the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE
> SHOULD NOT be deleted but rather retained until the Registration
> Lifetime expires. A renewed ARO should mark the cache entry as
> STALE. Thus, for 6LoWPAN routers, the Neighbor Cache doesn't behave
> like a cache. Instead, it behaves as a registry of all the host
> addresses that are attached to the router.
2020-09-24 13:13:43 +02:00
Juergen Fitschen
838d1007b3
gnrc/mac/timeout: add missing include
2020-09-24 13:06:47 +02:00
Benjamin Valentin
bb2b6adb7e
sys/evtimer: copy warning from xtimer
...
Callbacks from evtimer are still executed in interrupt context.
While xtimer warns about this, evtimer leaves the user unsuspecting.
Copy the warning from xtimer to keep users vigilant.
2020-09-24 11:52:56 +02:00
Juergen Fitschen
c3a20f8fb8
sys/evtimer: introduce ZTIMER_MSEC as timer backend
2020-09-24 11:30:26 +02:00