Gerson Fernando Budke
93ed3cd9d6
cpu/atxmega: Add periph power management
...
The current xmega don't have a way to disable peripherals that are
not in used. Add peripheral management to allow enable only the mcu
blocks that will be used by application. This saves power on active
and sleep modes. By default, at clock initialization, all peripherals
are now disabled and each drive must activate at initialization phase.
The periph_timer and periph_uart were updated with this new feature.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-02 14:24:31 -03:00
Francisco
e04dd4dcce
Merge pull request #16272 from jue89/fix/stm32_gpio_irq
...
cpu/stm32/gpio: fix IRQ handler
2021-04-02 13:07:39 +02:00
Ollrogge
650e69038c
crypto/ciphers: remove unneeded max_key_size in cipher_interface_st
2021-04-02 10:50:58 +02:00
Francisco
9d1d2f9e21
Merge pull request #16172 from kfessel/p-zimer-sec
...
sys/ztimer: add ZTIMER_SEC, improve auto_init
2021-04-02 08:32:38 +02:00
Jue
43f83a520b
cpu/stm32/gpio: fix IRQ handler
2021-04-01 19:31:27 +01:00
dylad
7eae017d5d
makefiles/dfu-util: add default DFU_ALT for riotboot/flash-slotX
2021-04-01 20:29:46 +02:00
Karl Fessel
3f66735bde
ztimer/periph_rtc: intialize struct tm to avoid TZ and IDST problems
...
{ .elem = 0 } initializes the complete struct to 0
{} is not ISO C conform
2021-04-01 18:19:15 +02:00
Karl Fessel
15f2d0008a
native/rtc: ensure no struct tm extra information is used
2021-04-01 18:19:15 +02:00
Karl Fessel
9e7f1d0097
sys/ztimer: add ZTIMER_SEC to Kconfig
2021-04-01 18:19:15 +02:00
Karl Fessel
0b5709a853
ztimer/periph_rtc: count months from 0
...
contrary to the western civilised world struct tm requires
us to count months from 0
2021-04-01 18:19:15 +02:00
Karl Fessel
72213ec99a
native/rtc: avoid dealing with DST
2021-04-01 18:19:15 +02:00
Karl Fessel
febfa5bc62
tests/ztimer_xsec: add a simple high level ztimer test
2021-04-01 18:19:15 +02:00
Karl Fessel
c9e17196de
sys/ztimer: enhance periph selection documentation
...
provide more information about the selection procedure to Doxygen
2021-04-01 18:19:15 +02:00
Karl Fessel
aa770fdd8c
ztimer/auto_init: restructure for flexibitily, pm for ZTIMER_SEC
...
MSEC and SEC are now usable on TIMER(0) without having USEC
pm is configured by used hardware
OLD configuration values are translated for backward compatibility
prefer rtt for ZTIMER_SEC
avoid doing partial ztimer setup if auto_init_ztimer is disabled
before this patch some const pointers might have been definend to values
that a user who disables auto_init for ztimer does not like.
2021-04-01 18:19:01 +02:00
Marian Buschsieweke
fc3e0b6055
tests/ztimer_underflow: allow testing ZTIMER_SEC
2021-04-01 15:31:40 +02:00
Marian Buschsieweke
cc92a0aea3
tests/ztimer_msg: Allow testing ZTIMER_SEC
2021-04-01 15:31:40 +02:00
Francisco
4b816916dc
Merge pull request #16269 from maribu/drivers/sht1x
...
drivers/sht1x: fix code style issues
2021-04-01 13:51:53 +02:00
benpicco
156c08854d
Merge pull request #16265 from dylad/pr/sam0/doc_update
...
cpu/sam0: correct periph_cpu_common.h documentation
2021-04-01 12:57:28 +02:00
benpicco
2f79410444
Merge pull request #16271 from maribu/sys/Makefile.dep2
...
sys/Makefile.dep: clean up
2021-04-01 12:56:51 +02:00
Francisco
9e092f49f1
Merge pull request #16270 from leandrolanzieri/pr/tests/add_atmega328p_xplained_mini
...
tests: add atmega328p-xplained-mini to insufficient memory list
2021-04-01 12:17:46 +02:00
Marian Buschsieweke
1454dc3566
sys/Makefile.dep: clean up
2021-04-01 11:06:22 +02:00
Leandro Lanzieri
88d94daeb6
tests: add atmega328p-xplained-mini to insufficient memory list
2021-04-01 10:33:48 +02:00
Marian Buschsieweke
78aa197ab8
sys/shell/commands/sc_sht1x.c: fix style
2021-04-01 10:19:30 +02:00
Marian Buschsieweke
80aaf265d6
drivers/sht1x: fix various style issues
2021-04-01 10:17:28 +02:00
Leandro Lanzieri
835589a301
tests/pkg_tinydtls_sock_async: add missing ID to server PSK
2021-04-01 09:47:39 +02:00
Leandro Lanzieri
6428505017
net/sock/dtls: allow CREDMAN_TAG_EMPTY on sock creation
2021-04-01 09:47:39 +02:00
Leandro Lanzieri
cff9a547af
examples/dtls-sock: add multiple credentials
2021-04-01 09:47:39 +02:00
Leandro Lanzieri
bccfb6e990
pkg/tinydtls/sock: allow multiple RPK credentials
2021-04-01 09:47:38 +02:00
Leandro Lanzieri
1c1c5f1d36
pkg/tinydtls/sock: allow multiple PSK credentials
2021-04-01 09:47:38 +02:00
Leandro Lanzieri
95fd4f947a
net/sock/dtls: add documentation on multi-credential
2021-04-01 09:47:37 +02:00
Leandro Lanzieri
8b57b87258
net/sock/dtls: add RPK callback for credential selection
2021-04-01 09:47:37 +02:00
Leandro Lanzieri
81892ee389
net/sock/dtls: add client PSK callback for credential selection
2021-04-01 09:47:37 +02:00
Leandro Lanzieri
62fb9ad69f
net/sock/dtls: allow to register multiple credentials into a sock
2021-04-01 09:47:36 +02:00
Leandro Lanzieri
d7440ce1e3
net/sock/dtls: allow to set PSK Identity hint
2021-04-01 09:47:36 +02:00
dylad
99764b82ab
cpu/sam0: correct periph_cpu_common.h documentation
2021-03-31 22:17:01 +02:00
benpicco
cb06924fb2
Merge pull request #16239 from nandojve/xplained-mini
...
boards: introduce atmega328p-xplained-mini
2021-03-31 13:37:56 +02:00
Francisco
9a5657a2bc
Merge pull request #15789 from haukepetersen/add_event_timeoutztimer
...
sys/event: add event_wait_timeout_ztimer()
2021-03-31 11:38:56 +02:00
Hauke Petersen
98de4b968a
tests: add event_wait_timeout_ztimer test app
2021-03-31 10:11:51 +02:00
Marian Buschsieweke
164aa72250
cpu/stm32/periph_eth: fix format specifier in DEBUG()
...
Use PRIu32 instead of lu to make LLVM happy.
2021-03-31 10:11:46 +02:00
Hauke Petersen
91859fc261
sys/event: add event_wait_timeout_ztimer()
2021-03-31 10:11:29 +02:00
Hauke Petersen
91bf7bc376
Merge pull request #15920 from haukepetersen/add_nimble_netifscchanmap
...
pkg/nimble/netif: allow to read used channel map
2021-03-31 10:10:35 +02:00
Francisco
c082b42b04
Merge pull request #16238 from aabadie/semtech-loramac_sx126x
...
pkg/semtech-loramac: add support for sx126x/llcc68 radios
2021-03-31 09:31:46 +02:00
Marian Buschsieweke
02e069a357
tests/malloc_thread_safety: improve test
...
- fix false test failure on picolibc
- For picolibc, the result of mallinfo().uordblks doesn't go back
to zero after the first allocation. By adding `free(malloc(4))`
before recording the pre-test mallinfo() value, this issues is
worked arround
- increase test coverage to also cover realloc()
- ease testing with picolibc by allowing `make PICOLIBC=1 flash test`
2021-03-31 09:17:50 +02:00
chrysn
fa9a297e7c
Merge pull request #16250 from chrysn-pull-requests/nrf52-more-timers
...
cpu/nrf52: Expose more timers
2021-03-30 20:28:27 +02:00
efdaf9225f
sys/net/gnrc: disable sx126x auto init with loramac
2021-03-30 19:03:34 +02:00
ba9b626b6d
sys/auto_init/loramac: add support for sx126x radio
2021-03-30 19:03:34 +02:00
5da185c58f
examples/lorawan: add support for sx126x radio
2021-03-30 19:03:34 +02:00
18a0889bc4
Merge pull request #16177 from aabadie/driver_llcc68
...
drivers: add support for sx1261/2 and llcc68 radio devices
2021-03-30 19:02:27 +02:00
Marian Buschsieweke
ca8641c213
Merge pull request #16258 from maribu/cpu/sam3/periph_rtt
...
cpu/sam3/periph_rtt: fix rtt_get_alarm()
2021-03-30 17:47:30 +02:00
chrysn
1da4693e5c
b/c/microbit: Use timer 2 on microbit-v2
...
Timer 1 is already in use for NRF802154_TIMER
2021-03-30 16:34:44 +02:00