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

35532 Commits

Author SHA1 Message Date
Hauke Petersen
0b1ca863a1 tests/driver_bmx280: add xtimer dependency 2021-04-27 14:24:28 +02:00
Hauke Petersen
9aa2154d3a driver/bmx280: remove unused xtimer dependency 2021-04-27 14:24:28 +02:00
Hauke Petersen
674d6521c5 boards/nrf52840dongle: add I2C pin configuration 2021-04-27 13:55:39 +02:00
Hauke Petersen
729387e090 boards/nrf52840: fix SPI pin configuration 2021-04-27 13:55:39 +02:00
Hauke Petersen
96e36995d3 boards/nrf52840dongle: PWM config: fix formatting 2021-04-27 11:35:37 +02:00
Karl Fessel
827572d771 examples/nanocoap_server: remove unneed case block 2021-04-27 10:16:15 +02:00
Fabian Hüßler
346f92f663 sys/net/link_layer/ieee802154: stricter names for security types
stricter prefixing of security related types and constants with
"ieee802154_sec_"
2021-04-27 08:54:19 +02:00
Fabian Hüßler
9390b3072b sys/net/link_layer/ieee802154: add missing const 2021-04-27 08:54:19 +02:00
Fabian Hüßler
1f0c62fbc8 sys/net/link_layer/ieee802154: move _set_key _sec_ecb _sec_cbc together 2021-04-27 08:54:19 +02:00
Fabian Hüßler
7036c2b9ee sys/net/link_layer/ieee802154: fix small typos 2021-04-27 08:54:19 +02:00
Fabian Hüßler
43f1470abc sys/net/link_layer/ieee802154: fix small copy paste bug 2021-04-27 08:54:19 +02:00
Fabian Hüßler
750435509e drivers/at86rf2xx: remove get NETOPT_ENCRYPTION_KEY
setting NETOPT_ENCRYPTION_KEY in device driver was redundant
because it is also done in the ieee802154 netdev driver
and the key is transfered to the hardware in the ieee802154
security implementation
2021-04-27 08:54:19 +02:00
iosabi
4d40e55edf esptool: Allow to pass the partition table CSV.
The partition table of the device in the esp8266 and esp32 based boards
was set to a default table with one "factory" partition with exactly
the size of the compiled firmware. This is problematic if we want to
update the device on the field.

This patch allows to set the `PARTITION_TABLE_CSV` variable from the
Makefile to a .csv file with a custom partition table, for example this
could be set to a partition table with two ota entries, or with a single
factory entry but of a known fixed size.
2021-04-26 22:50:45 +00:00
Marian Buschsieweke
8a7f3ab6fa
Merge pull request #16393 from fabian18/bug_nrf24l01p_ng_set_address_on_p1
drivers/nrf24l01p_ng: bugfix netdev::set NETOPT_ADDRESS
2021-04-26 20:11:38 +02:00
Marian Buschsieweke
5a24212b00
Merge pull request #16396 from benpicco/drivers/soft_uart-mail
drivers/soft_uart: fix typo in eMail address
2021-04-26 18:45:22 +02:00
Benjamin Valentin
45fbcee7dc drivers/soft_uart: fix typo in eMail address
Somehow an extra letter has sneaked into the mail and was copy & pasted
around.
2021-04-26 17:15:17 +02:00
benpicco
1b7c62a992
Merge pull request #16306 from nandojve/xmega_i2c
cpu/atxmega/periph: Add i2c driver
2021-04-26 14:34:42 +02:00
8c3737798c
Merge pull request #16389 from krzysztof-cabaj/fix-security-issue-in-nanocoap-example
examples/nanocoap_server: fix a buffer overflow bug
2021-04-26 14:29:05 +02:00
a43b6b38cc
Merge pull request #16353 from fjmolinas/pr_test_dbgpin_frdm-k64f
tests/dbgpin: user port 1 for frdm-k64f
2021-04-26 12:03:18 +02:00
Fabian Hüßler
0eed306d94 drivers/nrf24l01p_ng: bugfix netdev set address
The NETOPT_ADDRESS option of the nrf24l01p_ng driver modified the address of pipe 0 but the main listening
address was designed to be the address of pipe 1.
2021-04-26 11:56:33 +02:00
krzysztof-cabaj
68ccf36754 examples/nanocoap_server: fix a buffer overflow bug 2021-04-26 05:52:03 -04:00
Francisco Molina
f3999be3d4
tests/dbgpin: user port 1 for frdm-k64f 2021-04-26 10:40:24 +02:00
285ea200e9
Merge pull request #16371 from benpicco/makefiles/tools/programmer-disable
tools/programmer: do not use programmer wrapper
2021-04-26 10:24:06 +02:00
88e8a971df
Merge pull request #16351 from fjmolinas/pr_avr_flashpage_unittest
tests/periph_flashpage_unittest: lower FLASHPAGE_SIZE for 8bit overflow
2021-04-26 10:09:18 +02:00
Gerson Fernando Budke
a4c5daea3b boards/atxmega-a3bu-xplained: Add i2c configuration
Add J1 i2c bus configuration.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-25 22:06:29 -03:00
Gerson Fernando Budke
084625fa0d boards/atxmega-a1u-xpro: Add i2c configuration
Add EXT-1 i2c bus configuration.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-25 22:06:29 -03:00
Gerson Fernando Budke
1dec526d0a cpu/atxmega/periph/i2c: Add i2c driver
Add initial ATxmega i2c master driver.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-25 22:06:23 -03:00
iosabi
b1bd7bed67 cpu/esp_common: Support disabling I2C clock stretching in ESP8266
In I2C, clock stretching occurs when the controller stops driving SCL
down but the peripheral continues to drive SCL down until the value of
SDA that is expected to be set by the peripheral is ready. This allows a
peripheral to communicate at a high speed but introduce a delay in the
response (like an ACK or read) in some specific situations. Not all I2C
peripherals require I2C stretching, and in many cases SCL is only an
input to these peripherals.

Clock stretching is the only situation where a peripheral may drive down
SCL, which technically makes SCL an open-drain with a pull-up like SDA.
However, if clock stretching is not needed, SCL can be configured as an
output removing the need for a pull-up and specially, allowing to use
as SCL GPIO pins that otherwise have a pull-down connected. In
particular, GPIO15 in the ESP8266 requires an external pull-down during
boot for the ESP8266 to boot from the flash.

This patch allows a board to define `I2C_CLOCK_STRETCH` to 0 to disable
clock stretching and allowing to use GPIO15 as SCL.
2021-04-26 00:36:12 +02:00
benpicco
fed2c8e87e
Merge pull request #16383 from benpicco/sam0_eth/eth-netdev_fix_rec
cpu/sam0_common: ethernet: fix RX detection
2021-04-23 22:50:24 +02:00
Martine Lenders
f7992bb588
Merge pull request #16268 from maribu/sys/Makefile.dep
sys/Makefile.dep: Some cleanup
2021-04-23 21:34:11 +02:00
Marian Buschsieweke
19d92cb455
sys/net/gnrc/Makefile.dep: split out of sys/Makefile.dep 2021-04-23 20:29:38 +02:00
Benjamin Valentin
3f0459288c cpu/sam0_common: ethernet: fix RX detection
Detect RX of frame also when other bits of RSR are set.

fixes #16298
2021-04-23 17:46:36 +02:00
c0c3a76fb8
Merge pull request #16379 from miri64/gh-actions/fix/remove-linters
gh-actions: release-tests: do not run linters for release tests
2021-04-23 11:04:55 +02:00
Martine Lenders
14d3cba8b2
gh-actions: release-tests: do not run linters for release tests 2021-04-23 10:56:19 +02:00
2229e95a3b
Merge pull request #16374 from seeseemelk/master
xtimer: Fix race condition in xtimer_msg_receive_timeout
2021-04-22 18:59:40 +02:00
Sebastiaan de Schaetzen
dee65e7ec6 xtimer: fix race condition in xtimer_msg_receive_timeout 2021-04-22 16:31:36 +02:00
e5a0c2c400
Merge pull request #16366 from maribu/dist/tools/avarice/debug.sh
dist/tools/avarice/debug.sh: less noise
2021-04-22 14:41:49 +02:00
Hauke Petersen
a7a3244b8f
Merge pull request #16367 from kaspar030/fix_ztimer_is_set
ztimer: fix `ztimer_is_set()`
2021-04-22 12:06:41 +02:00
chrysn
81feb3c3c4
Merge pull request #16358 from chrysn-pull-requests/rpl-show-process
sys/shell/sc_gnrc_rpl: Err out early if RPL not even started
2021-04-22 11:19:04 +02:00
20981e5f7c tests/unittests: tests-ztimer: add ztimer_is_set() regression test 2021-04-22 11:12:48 +02:00
88b509e56d ztimer: correctly unset timer->next (fix ztimer_is_set())
ztimer's machinery depends on figuring out if a timer is currently set
or not. It does that using _is_set(), which is also exposed as
ztimer_is_set().
Now when a timer expired and got taken of the timer queue using
_now_next(), the `next` pointer wasn't unset. This caused _is_set() to
wrongly return `true` for that timer.
Internally in ztimer, this didn't cause breakage, just an unnecessary
iteration of the timer queue by _delete_timer_from_list().
But this also broke the public ztimer_is_set().

This commit fixes the issue by correctly NULLing the timer's `next`
pointer when the timer triggers.
2021-04-22 11:06:04 +02:00
Marian Buschsieweke
7f01c17ef3
dist/tools/avarice/debug.sh: less noise
Redirect also stderr to /dev/null when trying to detect the correct
binary name for GDB for AVR.
2021-04-22 08:45:57 +02:00
Bas Stottelaar
cc645c083e
Merge pull request #15684 from iosabi/drv_si705x
drivers/si70xx: Add support for Si705x sensors
2021-04-21 22:29:01 +02:00
Francisco
9e29754fa9
Merge pull request #16361 from fjmolinas/pr_esp_add_coreclock
cpu/esp*: add CLOCK_CORECLOCK
2021-04-21 16:58:24 +02:00
Marian Buschsieweke
855a6fa36a
Merge pull request #16296 from fabian18/nrf24l01p_ng_eui_get
drivers/nrf24l01p_ng: add hook nrf24l01p_ng_eui_get()
2021-04-21 13:56:30 +02:00
benpicco
b0734a8f4a
Merge pull request #16362 from fjmolinas/pr_nanocbor_bump
pkg/nanocbor: bump version
2021-04-21 11:42:41 +02:00
Francisco
d5f9b99555
Merge pull request #16344 from kfessel/p-efm32-rtt-freq
cpu/efm32: add RTT_FREQUENCY support to efm32
2021-04-21 09:59:10 +02:00
Francisco Molina
7749368608
pkg/nanocbor: bump version 2021-04-21 09:25:55 +02:00
Francisco Molina
5ae5c40f26
cpu/esp*: add CLOCK_CORECLOCK 2021-04-21 08:54:43 +02:00
Francisco
1c3c2db812
Merge pull request #16255 from akshaim/add_nucleo-wl55jc
boards/nucleo-wl55jc : Initial support
2021-04-21 08:33:16 +02:00