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

39179 Commits

Author SHA1 Message Date
Marian Buschsieweke
d61e28fe27
dist/tools/usb-serial/ttys.py: Add regex support
Use regular expressions instead of matching literal strings for all
attributes instead of the serial number to be more flexible.

The idea is to aid users when multiple boards are connected to a machine
but each of a different type. If a board would define filter arguments
for dist/tools/usb-serial/ttys.py it could be possible to detect the
right TTY automatically, without user-side modifications. However,
some boards present different model names depending on the firmware
version of the programmer. Support for regular expressions can provide
the flexibility needed to just match all revisions and variants of a
board.
2022-03-28 10:57:00 +02:00
benpicco
639a1d19f8
Merge pull request #17872 from benpicco/drivers/mtd_spi_nor-fix-atmel
drivers/mtd_spi_nor: fix Atmel size calculation
2022-03-28 01:16:10 +02:00
Benjamin Valentin
628855fead drivers/mtd_spi_nor: fix Atmel size calculation
Lower bits of the device ID are not the capacity in bytes but in sectors:

 4 - 4 Mb -> 32k << 4
 5 - 8 Mb -> 32k << 5
 …
2022-03-27 23:01:14 +02:00
Marian Buschsieweke
a20d8f67f5
Merge pull request #17856 from miri64/gnrc_netif/fix/null-ptr
gnrc_netif: fix potential null pointer dereference
2022-03-26 20:49:48 +01:00
benpicco
7135c91763
Merge pull request #17866 from jue89/fix/mtd_mapper_backend
drivers/mtd_mapper: fix read_page and write_page backend
2022-03-26 16:10:32 +01:00
benpicco
2e51328228
Merge pull request #17765 from HendrikVE/pr/pkg_tinydtls_ipv4_support
pkg/tinydtls: add IPv4 support
2022-03-26 14:42:53 +01:00
Jue
6cf7e419fc drivers/mtd_mapper: fix read_page and write_page backend 2022-03-26 14:30:42 +01:00
Jue
347152b128 tests/mtd_mapper: add tests for the read_page and write_page backend 2022-03-26 14:30:42 +01:00
benpicco
a7377bd5d2
Merge pull request #17864 from benpicco/drivers/mtd_sdcard-printf
drivers/mtd_sdcard: drop printf()
2022-03-26 03:12:50 +01:00
Juergen Fitschen
77dfa47da8
Merge pull request #17865 from jue89/fix/fatfs_vfs_format_mutex
pkg/fatfs: fix missing mutex header
2022-03-25 22:08:55 +01:00
Benjamin Valentin
a0059eee43 drivers/sdcard_spi: be sure to always write state 2022-03-25 19:09:11 +01:00
Jue
80305ade1f tests/mtd_mapper: clear fake-memory for every test 2022-03-25 18:32:07 +01:00
Jue
67fc79707f pkg/fatfs: include missing mutex headers 2022-03-25 17:40:19 +01:00
Jue
2756287ad1 test/pkg_fatfs_vfs: format with static buffer 2022-03-25 17:23:37 +01:00
Benjamin Valentin
c3543b7a69 drivers/mtd_sdcard: drop printf()
Only print errors when debug is enabled.
2022-03-25 17:21:15 +01:00
Hendrik van Essen
d424aaedac pkg/tinydtls: add IPv4 support 2022-03-25 17:19:47 +01:00
Gunar Schorcht
753b435cb5
Merge pull request #17854 from benpicco/drivers/atwinc15x0-sleep
drivers/atwinc15x0: enable sleep state
2022-03-25 16:43:27 +01:00
Francisco
a10b1572aa
Merge pull request #17627 from benpicco/mtd_flashpage_t
drivers/mtd_flashpage: add mtd_flashpage_t type
2022-03-25 16:24:04 +01:00
Hendrik van Essen
e623133dab pkg/tinydtls: remove unnecessary void casts 2022-03-25 14:30:47 +01:00
Hendrik van Essen
21644234cd pkg/tinydtls: rename condition WITH_RIOT_GNRC to WITH_RIOT_SOCK
Using tinydtls on RIOT OS is not limited to GNRC as network stack.
It is also working with e.g. lwIP, see: https://github.com/RIOT-OS/RIOT/pull/17552
Therefore the name WITH_RIOT_GNRC is misleading.
2022-03-25 14:30:47 +01:00
Martine Lenders
844279fa6b
Merge pull request #17849 from leandrolanzieri/pr/pkg/tinydtls/fix_ep_to_session
pkg/tinydtls/contrib/sock_dtls: fix ep_to_session
2022-03-25 10:58:08 +01:00
Leandro Lanzieri
05db36a3d0
pkg/tinydtls: join IPv6 address and port in addr member 2022-03-25 09:44:44 +01:00
fabian18
09b98ea4fc
Merge pull request #17850 from fabian18/bugfix_nib_6LN_context_option_length
ipv6/nib: bugfix of 6CO length checking
2022-03-24 22:07:18 +01:00
benpicco
f4385ae73a
Merge pull request #17857 from MichelRottleuthner/pr_pba_fix_clk_init
pba-d-01-kw2x: fix clock init by preceding cpu_init with modem clock init
2022-03-24 19:18:40 +01:00
Michel Rottleuthner
ecce95cacb boards/pba-d-01-kw2x: init modem clock in post_startup to precede cpu_init 2022-03-24 16:28:22 +01:00
Martine Lenders
76935ddbf5
Merge pull request #17510 from benpicco/sock_tl_str2ep-dns
sys/net/sock_util: add sock_tl_name2ep() to optionally perform DNS lookups
2022-03-24 15:59:59 +01:00
Martine Lenders
624e8099ec
gnrc_netif: fix potential null pointer dereference 2022-03-24 15:53:23 +01:00
Francisco
b91b984e38
Merge pull request #17733 from fjmolinas/pr_gettimeofday_64_bit
sys/syscalls: make gettimeofday() implementation optional
2022-03-24 15:22:27 +01:00
Francisco
d53f37546f
Merge pull request #17852 from fjmolinas/pr_gnrc_sock_ztimer_alt
sys/net/gnrc/sock: use ztimer_usec or xtimer for timeout
2022-03-24 14:22:55 +01:00
Benjamin Valentin
b28738c11c drivers/atwinc15x0: enable sleep state
This allows the interface to enter SLEEP state in which it only
consumes 4µA.
2022-03-24 14:04:53 +01:00
Francisco Molina
0819660303 sys/syscalls: add libc_gettimeofday
Conditionally implement gettimeofday() if module is included, this
avoids including ztimer64 even when not needed
2022-03-24 11:36:49 +01:00
Fabian Hüßler
77cbe15b1d ipv6/nib: bugfix of 6CO length checking 2022-03-24 10:06:56 +01:00
Marian Buschsieweke
3e2e0d59be
Merge pull request #17851 from fjmolinas/pr_tests_sys_atomic_use_ztimer
tests/sys_atomic_utils: use ztimer_usec
2022-03-24 09:09:25 +01:00
Francisco Molina
66d87fccf9 sys/net/gnrc/sock: use ztimer_usec or xtimer for timeout 2022-03-24 08:06:05 +01:00
Francisco Molina
da489697e4 tests/sys_atomic_utils: use ztimer_usec 2022-03-24 08:02:09 +01:00
Francisco
bdf35b8aeb
Merge pull request #17846 from fjmolinas/pr_ztimer_porting_board_adjust
doc/doxygen: recommend adding ADJUST ztimer values for new boards
2022-03-24 07:50:45 +01:00
benpicco
a811eb0972
Merge pull request #17848 from leandrolanzieri/pr/cpu/nrf52/radio/fix_confirm_op
cpu/nrf52/radio: fix confirm_op info cast
2022-03-23 22:40:47 +01:00
Leandro Lanzieri
e48f957a52
cpu/nrf52/radio: fix confirm_op info cast 2022-03-23 19:07:49 +01:00
530e699de1
Merge pull request #17324 from aabadie/pr/cpu/stm32_i2c_hsi
cpu/stm32/i2c: fix wrong speed parameters
2022-03-23 12:27:29 +01:00
benpicco
ed01480741
Merge pull request #17837 from benpicco/pkg/littlefs2-bump
pkg/littlefs2: bump version to 2.4.2
2022-03-23 11:14:41 +01:00
fdacb1a118
boards/stm32: adapt I2C configuration where needed 2022-03-23 10:10:08 +01:00
cb5fef4486
cpu/stm32: use HSI with I2C 2022-03-23 10:10:08 +01:00
Francisco Molina
c16119b815 doc/doxygen: recommend adding ADJUST ztimer values for new boards 2022-03-23 10:04:02 +01:00
20ffa92ba3
Merge pull request #11237 from aabadie/pr/examples/lorawan
examples/lorawan: add the possibility to use ABP activation procedure
2022-03-23 09:33:14 +01:00
Francisco
b1e3f9c2de
Merge pull request #17839 from fjmolinas/pr_ztimer_adjust_correcitons
boards: fix ztimer adjust values for arduino-mega2560 and z1
2022-03-23 08:14:02 +01:00
benpicco
858e4b6f46
Merge pull request #17833 from benpicco/nanocoap_get_blockwise_url_to_buf
nanocoap: add nanocoap_get_blockwise_url_to_buf() function
2022-03-22 21:22:07 +01:00
feda38ceb5
Merge pull request #17721 from fjmolinas/pr_xtimer_ztimer_default_backend
sys/xtimer: make xtimer_ztimer_compat default backend
2022-03-22 18:01:52 +01:00
Francisco Molina
1f5a96deea boards/arduino-mega2560: add ztimer adjust paramters 2022-03-22 15:20:31 +01:00
Francisco Molina
2bb6bc1b1b boards/z1: update ztimer adjust params 2022-03-22 15:05:13 +01:00
benpicco
dd8b3fc593
Merge pull request #17353 from benpicco/tests/gnrc_rpl
tests/gnrc_rpl: add automated test for gnrc_rpl
2022-03-22 12:10:34 +01:00