benpicco
f2a1043654
Merge pull request #13565 from jia200x/pr/netdev_submodule
...
netdev: make netdev_% variants a submodule
2020-09-30 22:55:45 +02:00
3cf082d59b
Merge pull request #15110 from bergzand/pr/suit/storage_backend
...
SUIT: Introduction of a payload storage API for SUIT manifest payloads
2020-09-30 22:47:33 +02:00
benpicco
4b28e6ecfa
Merge pull request #15127 from chrysn-pull-requests/particle-mesh-pwm
...
boards/c/particle-mesh: Enable PWM on the LED pins
2020-09-30 22:42:40 +02:00
benpicco
a96f1659a6
Merge pull request #15126 from btcven/2020_09_30-cc26x0-fix
...
cpu/cc26xx_cc13xx: use _rom_length symbol for CCFG origin
2020-09-30 21:48:58 +02:00
chrysn
87b41e6aee
boards/c/particle-mesh: Enable PWM on the LED pins
2020-09-30 19:01:00 +02:00
Jean Pierre Dudey
3561c7dc78
cpu/cc26xx_cc13xx: fix CCFG.MODE_CONF_1 on cc26x0
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-09-30 11:52:04 -05:00
Jean Pierre Dudey
ed2e04904b
cpu/cc26xx_cc13xx: use _rom_length symbol for CCFG origin
...
>Now `ROM_LEN` is the "real" length, 352K and 128K respectively
and the CCFG position is determined by subtracting it's size
from `_rom_length` symbol.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-09-30 11:52:04 -05:00
Koen Zandberg
04d1eb54b2
Merge pull request #15124 from kaspar030/blacklist_mtd_tests_esp32
...
tests: blacklist mtd using tests for esp32-wroom-32
2020-09-30 17:27:25 +02:00
Alexandre Abadie
ef6d098da9
Merge pull request #14998 from aabadie/pr/cpu/stm32_lines
...
cpu/stm32: model CPU lines in Kconfig + small refactoring
2020-09-30 17:09:07 +02:00
Jose Alamos
8289612529
Makefile.dep: fix netdev_register resolution
2020-09-30 16:33:39 +02:00
Marian Buschsieweke
d68437249f
Merge pull request #15096 from benpicco/eui64_to_eui48
...
net/eui64: add eui64_to_eui48()
2020-09-30 16:15:14 +02:00
benpicco
b2401eb73b
Merge pull request #14966 from HendrikVE/pr/driver/aip31068
...
driver/aip31068: add new driver
2020-09-30 15:52:52 +02:00
benpicco
add0814cd0
Merge pull request #15117 from chrysn-pull-requests/nrf52-pwm-fixes
...
cpu/nrf52: PWM fixes
2020-09-30 15:51:16 +02:00
benpicco
615561b53a
Merge pull request #14219 from btcven/2020_06_07-ccfg
...
cpu/cc26xx_cc13xx: add & link CCFG configuration
2020-09-30 15:16:25 +02:00
benpicco
e05e963a74
Merge pull request #15125 from benpicco/cpu/nrf5x_uart-1MB
...
cpu/nrf5x_common: UART: add support for 1 MBaud
2020-09-30 15:05:34 +02:00
Koen Zandberg
17a676d0c5
tests/suit_manifest: Adapt to mock transport and ram storage
2020-09-30 14:32:27 +02:00
Koen Zandberg
b72d510690
suit/transport/mock: Use common storage backend
2020-09-30 14:32:27 +02:00
Koen Zandberg
edeffdcd54
suit: Adapt manifest handling to use common storage backend
2020-09-30 14:32:27 +02:00
Benjamin Valentin
33f49183d9
cpu/nrf5x_common: UART: add support for 1 MBaud
...
`UART_BAUDRATE_BAUDRATE_Baud1M` is defined in the vendor files, so
make it available to the user.
2020-09-30 13:42:59 +02:00
Koen Zandberg
a29eaf557f
suit/storage/flashwrite: Add riotboot flashwrite storage backend
2020-09-30 13:32:39 +02:00
Koen Zandberg
9ce2ba1c55
suit/storage/ram: Introduce RAM storage backend for SUIT
2020-09-30 13:32:38 +02:00
Koen Zandberg
7742750abd
suit: Introduce generic storage backend
...
This commit introduces a common storage backend for SUIT manifest
payloads. Different backends can be compiled into a single firmware.
Degending on the component name in the SUIT manifest, a storage backend
is selected by the parser.
2020-09-30 13:32:38 +02:00
chrysn
2053a1785a
cpu/nrf52: Ensure that uninitialized PWM outputs are disabled
2020-09-30 13:16:59 +02:00
chrysn
65d4c88be8
cpu/nrf52: Warn against implicit 0 in PWM channels
...
Working with less-than-full PWMs has shown that a warning is indicated
here, as just missing an item would result in inadvertently driving
P0.00.
2020-09-30 13:15:18 +02:00
chrysn
8dd60286a7
cpu/nrf52: Fix PWM generation if <4 channels are used
...
The PWM decodeer, in LOAD=Single mode, loads data in groups of 4
half-words. Previously, if any channel was not connected to a pin (a
connection that's immaterial to the loader), a smaller number would be
given resulting in the decoder not loading anything at all.
See-Also: https://infocenter.nordicsemi.com/pdf/nRF52840_PS_v1.1.pdf#page=256
2020-09-30 13:14:47 +02:00
chrysn
65e63ffbbb
cpu/nrf52: Don't touch pin modes on PWM startup
...
Once PWM is running, the active PWM module overrides the PIN_CNF state;
only when PWM is stopped the pin returns into its PIN_CNF state (which,
then, the board may set to whatever idle means there).
(Moreover, the code there only worked for P0 registers, not eg. the
P1.09 of the nrf52840dongle's RGB LED).
2020-09-30 13:14:47 +02:00
d59fd84bff
tests: blacklist mtd using tests for esp32-wroom-32
2020-09-30 13:02:31 +02:00
benpicco
329a65fb3b
Merge pull request #15122 from benpicco/boards/common/nrf52xxxdk-led_pwm
...
boards/common/nrf52xxxdk: configure LEDs as PWM
2020-09-30 11:28:06 +02:00
Benjamin Valentin
307ea6224a
net/eui48: add eui64_to_eui48()
...
Provide helper function to mangle a EUI-64 into an EUI-48.
This can be useful to get predictable, locally unique addreses.
2020-09-30 11:18:36 +02:00
Benjamin Valentin
d7943a49aa
net/eui48: reorder code
...
Move eui48_set_local() and eui48_clear_group() to the top so we can
use it later in the file.
2020-09-30 11:18:34 +02:00
benpicco
0bc80250cf
Merge pull request #15101 from benpicco/sys/net/uhcp-log
...
sys/net/uhcp: use LOG_xxx functions
2020-09-30 11:08:53 +02:00
Alexandre Abadie
40262c1b7a
cpu/stm32: reorganize Kconfig files per families
2020-09-30 10:31:38 +02:00
Alexandre Abadie
1e6a336227
cpu/stm32/Kconfig: move features declared in models to lines
2020-09-30 10:31:29 +02:00
Alexandre Abadie
8738bd5e5c
cpu/stm32: select lines from models in Kconfig
2020-09-30 10:31:29 +02:00
Alexandre Abadie
d1bab4a25f
cpu/stm32: add Kconfig config for all cpu lines
2020-09-30 10:31:29 +02:00
Alexandre Abadie
ba4edb3c63
cpu/stm32: split main Kconfig
2020-09-30 10:31:29 +02:00
Alexandre Abadie
e8c79e7a41
cpu/stm32: extend CPU_LINES for G4 and L1
2020-09-30 10:31:29 +02:00
Alexandre Abadie
cada451383
cpu/stm32: document info extracted from CPU model name
2020-09-30 10:31:28 +02:00
2dab6c7b30
Merge pull request #15111 from maribu/xtimer-assert
...
sys/{x,z}timer: assert() successful initialization of periph_timer
2020-09-30 08:52:34 +02:00
aa6e64316c
Merge pull request #15053 from kaspar030/ztimer_periodic
...
sys/ztimer: add periodic timers API
2020-09-29 23:58:51 +02:00
7b30777429
tests/ztimer_periodic: initial commit
2020-09-29 23:04:39 +02:00
548c4f02fc
sys/ztimer: add ztimer_periodic
2020-09-29 23:04:39 +02:00
Benjamin Valentin
8361a273ca
boards/common/nrf52xxxdk: configure LEDs as PWM
...
The 'common' pwm pins don't make sense for every board.
Use the LED pin defines instead as a sensible PWM default.
2020-09-29 21:58:37 +02:00
benpicco
bd7a9fe330
Merge pull request #15115 from chrysn-pull-requests/nrf52840-pwm
...
boards/nrf52840dongle: Configure PWM to drive the LEDs
2020-09-29 21:21:47 +02:00
Marian Buschsieweke
a206df5399
Merge pull request #15104 from maribu/platform
...
sys/architecture: New module to access architecture internals in platform-independent way
2020-09-29 18:12:34 +02:00
Alexandre Abadie
bcbe3ac1d5
Merge pull request #15114 from aabadie/pr/boards/stm32f0_apb2_clock_fix
...
boards/stm32f0: fix missing CLOCK_APB2 define
2020-09-29 17:37:19 +02:00
Alexandre Abadie
d407878bc5
Merge pull request #15112 from aabadie/pr/boards/nucleo64-g431kb
...
boards/nucleo-g431rb: add initial support
2020-09-29 15:26:39 +02:00
Koen Zandberg
ea007ada05
suit: Mark conversion function arguments as const
...
Small cleanup to mark arguments of the conversion functions for param to
cbor and vice versa as const where possible
2020-09-29 15:18:57 +02:00
Koen Zandberg
8159819087
tools/suit: Add optional component ID argument
...
This extends the component argument of the gen_manifest.py script with
an optional component name. As component names in the SUIT manifest
consist of an array of bytestrings, the commponent name in the argument
is also split. Each part of the name ends up as a separate part of the
component name in the manifest. Component names are split by colons to
match the separator used in the rest of the argument.
2020-09-29 15:18:56 +02:00
Koen Zandberg
f05c5f7708
riotboot/flashwrite: Add force flush to storage function
2020-09-29 15:18:56 +02:00