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
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
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
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
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
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
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
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
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
chrysn
5b9c1d31fd
boards/nrf52840dongle: Configure PWM to drive the LEDs
2020-09-29 15:16:22 +02:00
fc794d9a21
Merge pull request #15092 from bergzand/pr/suit/per_component_flags
...
suit: Introduce per-component flags
2020-09-29 15:03:06 +02:00
Hendrik van Essen
8dc94b6ccd
tests/driver_aip31068: add test for aip31068 driver
2020-09-29 14:42:19 +02:00
Hendrik van Essen
6778bf4b98
driver/aip31068: add new driver
2020-09-29 14:42:15 +02:00
Francisco
109012b194
Merge pull request #14923 from aabadie/pr/boards/stm32f0f1f3_clock_kconfig
...
boards/stm32f1/f3: rework clock initialization and configuration
2020-09-29 14:30:58 +02:00
a7bb409eb5
boards/stm32f0: fix missing CLOCK_APB2 define
2020-09-29 14:28:33 +02:00
a3cf779866
examples: exclude nucleo-g431rb where it doesn't fit
2020-09-29 14:09:47 +02:00
72ef2086b5
suit: Group the HAVE_COMPONENTS flag with the others
2020-09-29 13:09:32 +02:00
d9cf10c109
suit: Introduce per-component flags
2020-09-29 13:09:32 +02:00
benpicco
9970a26277
Merge pull request #15113 from kaspar030/fix_ztimer_spin
...
ztimer: fix ztimer_spin() time_left == duration case
2020-09-29 13:00:19 +02:00
Marian Buschsieweke
e2e0554eaa
tests: Add test app for sys/architecture
2020-09-29 12:34:01 +02:00
Marian Buschsieweke
e66d5fad31
cpu/native: Add architecture_arch.h
2020-09-29 12:34:00 +02:00
Marian Buschsieweke
bf13dc99fb
cpu/esp_common: Add architecture_arch.h
2020-09-29 12:34:00 +02:00
Marian Buschsieweke
94eab47b26
cpu/fe310: Add architecture_arch.h
2020-09-29 12:34:00 +02:00
Marian Buschsieweke
d9525f38b0
cpu/mips32r2_common: Add architecture_arch.h
2020-09-29 12:34:00 +02:00
Marian Buschsieweke
29132c9013
cpu/arm7_common: Add architecture_arch.h
2020-09-29 12:34:00 +02:00
Marian Buschsieweke
30bebdb3ff
cpu/cortexm_common: Add architecture_arch.h
2020-09-29 12:34:00 +02:00
Marian Buschsieweke
3812ff7689
cpu/msp430_common: Add architecture_arch.h
2020-09-29 12:33:59 +02:00
Marian Buschsieweke
4abbda5b3e
cpu/atmega_common: Add architecture_arch.h
2020-09-29 12:33:59 +02:00
Marian Buschsieweke
27c1c453f7
sys: Module to access architecture details
...
Add a platform independent way to access architecture details. Currently only
macros to query word size, word sized integer types, and a type qualifier for
aligning variables to word boundaries are provided.
2020-09-29 12:33:59 +02:00
f92b0fdb40
tests: exclude nucleo-g431rb where it doesn't fit
2020-09-29 12:27:07 +02:00
0eb5c81501
boards/nucleo64: adapt user button for nucleo-g431rb
2020-09-29 12:26:26 +02:00
4de05b4837
boards/nucleo-g431rb: add initial support
2020-09-29 12:26:26 +02:00
b06c252a33
boards/stm32: add default tim2 config for stm32g4
2020-09-29 12:26:26 +02:00
ef742cddb2
cpu/stm32: add support for stm32g431rb
2020-09-29 12:26:26 +02:00
70b160713e
ztimer: add comment explaining ztimer_spin() logic
2020-09-29 11:53:35 +02:00
Marian Buschsieweke
a6dc9bdb2d
sys/ztimer: assert() successful initialized
...
Use an `assert()` to make sure that `periph_timer` was successfully initialized.
2020-09-29 11:52:26 +02:00
Marian Buschsieweke
6deb89f887
sys/xtimer: assert() successful initialized
...
Use an `assert()` to make sure that `periph_timer` was successfully initialized.
2020-09-29 11:52:26 +02:00
Martine Lenders
f55031e65d
Merge pull request #15079 from miri64/gnrc_ipv6_nib/enh/multicast-6LN-UNREACHABLED-probe
...
gnrc_ipv6_nib: only multicast probe UNREACHABLE neighbor if 6LR
2020-09-29 11:49:27 +02:00