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

32564 Commits

Author SHA1 Message Date
2d6e8984b8
boards/stm32l0/l1: add Kconfig clock configuration 2020-11-03 14:23:46 +01:00
fb35edd22d
cpu/stm32: adapt clock configuration for l0/l1 2020-11-03 14:23:46 +01:00
Juergen Fitschen
dd13e5c639
Merge pull request #15366 from jue89/fix/mtd_flashpage_erase
drivers/mtd_flashpage: fix erasure of multiple sectors
2020-11-03 14:18:02 +01:00
benpicco
ee7a52db2f
Merge pull request #14023 from benpicco/core/msg_bus-bus_flag
core/msg_bus: allow to differ between messages form bus and from thread
2020-11-03 13:51:19 +01:00
Juergen Fitschen
a15d50dffe drivers/mtd_flashpage: fix erasure of multiple sectors 2020-11-03 12:35:43 +01:00
Juergen Fitschen
2c85ba2af2 test/mtd_flashpage: extend test to erase multiple sectors in one go 2020-11-03 12:35:36 +01:00
benpicco
9681c204d6
Merge pull request #14959 from benpicco/at86rf215-mr-fsk
drivers/at86rf215: implement MR-FSK
2020-11-03 11:26:24 +01:00
Bas Stottelaar
e8cadc02d8
Merge pull request #15285 from basilfx/feature/optimize_debug
treewide: more cleanups of ENABLE_DEBUG
2020-11-03 11:13:53 +01:00
Benjamin Valentin
27d26538d8 tests/thread_msg_bus: check if the message came from the right thread 2020-11-03 10:52:43 +01:00
Benjamin Valentin
d6a6c218a3 core/msg_bus: allow to differ between messages form bus and from thread
Currently it is not possible to check if a message was sent over a bus
or if it was send the usual way using `msg_send()`.

This adds a flag to the `sender_pid` if the message was sent over a bus.
`MAXTHREADS` is currently set to 32, so there is still plenty of room in
the PID space. (`kernel_pid_t` is `int16_t`)

The message type for bus message type is already accessed through a getter
function, so it's just consistent to do the same for sender_pid.
2020-11-03 10:52:43 +01:00
Benjamin Valentin
37928acd7c tests/driver_at86rf215: update Makefile.ci 2020-11-03 10:51:21 +01:00
Benjamin Valentin
a6db7d56ba drivers/at86rf215: fix CCA duration
The standard CCA backoff period is 8 symbols and only differs for
MR-O-QPSK where it is dependent on the chip rate.
2020-11-03 10:51:21 +01:00
Benjamin Valentin
6f23263503 drivers/at86rf215: implement MR-FSK 2020-11-03 10:51:21 +01:00
a95b0c699e
Merge pull request #15363 from benpicco/board/stm32-highlevel_stdio
boards: provide highlevel_stdio feature on STM32 boards with STDIO CDC ACM
2020-11-03 09:20:18 +01:00
benpicco
3d30266736
Merge pull request #15360 from benpicco/drivers/mtd_spi_nor_enhance
drivers/mtd_spi_nor: enable 32 bit addressing, define WP and HOLD pins
2020-11-02 23:39:56 +01:00
Bas Stottelaar
0c8df9bb3c dist/coccinelle: adapt rules for ENABLE_DEBUG 2020-11-02 21:49:40 +01:00
Bas Stottelaar
a76cb4ea2f sys/*: ENABLE_DEBUG not needed for inttypes.h 2020-11-02 21:49:39 +01:00
Bas Stottelaar
cc2e6b08d1 core/*: ENABLE_DEBUG not needed for inttypes.h 2020-11-02 21:49:39 +01:00
Bas Stottelaar
28ae0c97cd sys/*: use DEBUG_EXTRA_STACKSIZE for debug stacks 2020-11-02 21:49:39 +01:00
Bas Stottelaar
53c1392d4d tests/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:39 +01:00
Bas Stottelaar
922e2ac1c9 sys/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:39 +01:00
Bas Stottelaar
9dd3b7a3ec pkg/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:39 +01:00
Bas Stottelaar
bf88a24fb4 examples/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:28 +01:00
Bas Stottelaar
62994dfb16 drivers/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:34:12 +01:00
Bas Stottelaar
94171b7389 cpu/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:34:12 +01:00
Bas Stottelaar
2d3d047fd6 core/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:34:12 +01:00
Bas Stottelaar
27a684aa60 sys/*: remove unneeded ENABLE_DEBUG 2020-11-02 21:34:12 +01:00
Bas Stottelaar
d2ce652dff drivers/*: remove unneeded ENABLE_DEBUG 2020-11-02 21:34:12 +01:00
Benjamin Valentin
9b91bf0a3e boards/weact-f411ce: add highlevel_stdio feature 2020-11-02 21:25:39 +01:00
Benjamin Valentin
44911bc3e0 boards/stm32f429i-disco: add highlevel_stdio feature 2020-11-02 21:24:45 +01:00
Benjamin Valentin
98f88e849c drivers/mtd_spi_nor: check addr_width with assert() 2020-11-02 21:17:36 +01:00
Benjamin Valentin
c839fe2e77 boards: define mtd_spi_nor HOLD and WP pins
None of the boards used them before, so just set them to GPIO_UNDEF
2020-11-02 21:17:36 +01:00
Benjamin Valentin
53ca0dd1d0 drivers/mtd_spi_nor: define WP and HOLD pin
Hold and WP are not used by the driver, but if they are connected
to the flash they must be driven HIGH to enable writes and not stop
any flash operation.
2020-11-02 21:17:36 +01:00
Benjamin Valentin
dee3ae4ab7 drivers/mtd_spi_nor: enable 32 bit addressing 2020-11-02 17:03:34 +01:00
benpicco
2198598c50
Merge pull request #15355 from a-podshivalov/loramac-crc-bugfix
Fixed a critical bug, allowing to crash the whole system with a specially crafted LoRa frame
2020-11-02 13:05:00 +01:00
391a26aa2e
Merge pull request #15351 from bergzand/pr/usb-serial/list-ttys/resolve_shellcheck
usb-serial/list-ttys: Resolve shellcheck issues
2020-11-02 10:21:48 +01:00
Alexander Podshivalov
a82318d4ec pkg/semtech-loramac: reduce scope of radio_payload and make CI happy 2020-10-31 18:09:51 +03:00
benpicco
e77d12da26
Merge pull request #15188 from benpicco/drivers/kw41zrf-register
drivers/kw41zrf: register with netdev
2020-10-31 14:30:00 +01:00
Martine Lenders
44741ff99f
Merge pull request #15345 from nmeum/pr/sock_dns_overflow
sock_dns: Fix incorrect buffer bounds check
2020-10-31 12:57:17 +01:00
Marian Buschsieweke
d046772e7f
Merge pull request #15348 from maribu/periph_timer_type
drivers/periph_timer: Use uint32_t over unsigned long for frequency
2020-10-30 23:22:51 +01:00
Alexander Podshivalov
4d5812eded pkg/semtech-loramac: check return value of recv() in NETDEV_EVENT_RX_COMPLETE 2020-10-31 00:22:11 +03:00
Marian Buschsieweke
b48679e497
sys/ztimer: Use uint32_t for freq in periph_timer
Now that timer_init() of periph_timer uses uint32_t for the frequency, ztimer
should do the same.
2020-10-30 22:02:12 +01:00
Marian Buschsieweke
125c892c03
drivers/periph/timer: Use uint32_t for frequency
For all currently supported platforms `unsigned long` is 32 bit in width. But
better use `uint32_t` to be safe.
2020-10-30 22:02:12 +01:00
Sören Tempel
85296ce6cc sock_dns: Fix incorrect buffer bounds check
Apart from advancing the buffer by RR_TYPE_LENGTH, RR_CLASS_LENGTH,
and RR_TTL_LENGTH the code also attempts to read a two byte unsigned
integer using _get_short(bufpos):

	unsigned addrlen = ntohs(_get_short(bufpos));

The bounds check must therefore ensure that the given buffer is large
enough to contain two more bytes after advancing the buffer.
2020-10-30 21:41:39 +01:00
Martine Lenders
95ef8118df
Merge pull request #15340 from bergzand/pr/release/notes-2020.10
release-notes.txt: add 2020.10 release notes
2020-10-30 17:29:11 +01:00
4e07b2840e
release-notes.txt: add 2020.10 release notes 2020-10-30 17:19:18 +01:00
cf04e5c824
Merge pull request #15347 from bergzand/pr/tools/sh2bash
dist/tools: Use bash instead of sh where needed
2020-10-30 16:47:38 +01:00
9222b72f8b
Merge pull request #15320 from benpicco/tools/insufficient_memory-nodocker
tools/insufficient_memory: restore build with no docker
2020-10-30 16:43:47 +01:00
cb660898b3
usb-serial/list-ttys: Resolve shellcheck issues 2020-10-30 16:13:05 +01:00
4c289f49b0
Merge pull request #15349 from kaspar030/work_around_sam3_timer_issue
cpu/sam3/periph/timer: fix trigger of cleared timer
2020-10-30 15:15:18 +01:00