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

31893 Commits

Author SHA1 Message Date
Simon Brummer
132882df73 gnrc_tcp: Replace xtimer with evtimer 2020-10-01 11:30:00 +02:00
Francisco
b5c51d244e
Merge pull request #14909 from OTAkeys/pr/conn_can_clean_up
can: add proper checks for ifnum validity
2020-10-01 09:22:28 +02:00
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
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
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
17a676d0c5
tests/suit_manifest: Adapt to mock transport and ram storage 2020-09-30 14:32:27 +02:00
b72d510690
suit/transport/mock: Use common storage backend 2020-09-30 14:32:27 +02:00
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
a29eaf557f
suit/storage/flashwrite: Add riotboot flashwrite storage backend 2020-09-30 13:32:39 +02:00
9ce2ba1c55
suit/storage/ram: Introduce RAM storage backend for SUIT 2020-09-30 13:32:38 +02:00
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
Vincent Dupont
590f07b38a stm32/can: fix features dependency 2020-09-30 12:59:03 +02:00
Vincent Dupont
c498bbdc83 esp32/can: include can_esp.h from periph_cpu.h 2020-09-30 12:59:03 +02:00
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
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
40262c1b7a
cpu/stm32: reorganize Kconfig files per families 2020-09-30 10:31:38 +02:00
1e6a336227
cpu/stm32/Kconfig: move features declared in models to lines 2020-09-30 10:31:29 +02:00
8738bd5e5c
cpu/stm32: select lines from models in Kconfig 2020-09-30 10:31:29 +02:00
d1bab4a25f
cpu/stm32: add Kconfig config for all cpu lines 2020-09-30 10:31:29 +02:00
ba4edb3c63
cpu/stm32: split main Kconfig 2020-09-30 10:31:29 +02:00
e8c79e7a41
cpu/stm32: extend CPU_LINES for G4 and L1 2020-09-30 10:31:29 +02:00
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