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

32557 Commits

Author SHA1 Message Date
Marian Buschsieweke
71b2860322
dist/tools/bmp: Fix flashing with pygdbmi 0.10.0
The flashing script for the black magic probe stopped working with pygdbmi in
version 0.10.0 due to an API change. This adapts the code to first try
initialization with the old pygdbmi API (as before), but tries again with the
new API if that fails.
2020-11-03 16:33:46 +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
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
b1146c0f42
Merge pull request #15308 from fjmolinas/pr_missing_suit_deps
sys/suit: dependencies fixes
2020-10-30 13:32:06 +01:00
554285da1d
Merge pull request #15332 from benpicco/cpu/sam0_common-ldscripts
cpu/sam0_common: remove unused linker script
2020-10-30 13:31:28 +01:00
c5b2ded055
dist/tools: Use /usr/bin/env bash for bash scripts 2020-10-30 13:13:40 +01:00
8455756618 cpu/sam3/periph/timer: fix trigger of cleared timer 2020-10-30 13:06:12 +01:00
Cenk Gündoğan
2f7d6f9d00
Merge pull request #15338 from leandrolanzieri/pr/net/ipv4_ipv6_addr_from_buf
sys/net/ipv{4, 6}: add address parsing from char buffer
2020-10-30 12:39:44 +01:00
96cad82910
dist/tools: Use bash instead of sh where needed
A number of scripts use features from bash such as `local` which are not
in the POSIX spec. This breaks on systems where sh is not symlinked to
bash.

This patch changes the interpreter indicated by the hashbang to bash for
those scripts
2020-10-30 12:12:10 +01:00
Leandro Lanzieri
f14c898dd0
sys/net/ipv6: add ipv6_addr_from_buf function
This allows to parse IPv6 address from strings that not end with '\0'.
2020-10-30 11:20:25 +01:00