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

39227 Commits

Author SHA1 Message Date
ba86f51b26 sys/test_utils/print_stack_usage: add Kconfig support 2022-03-29 21:49:35 +02:00
47dd3b1889 tests: make test_utils_print_stack_usage a default module 2022-03-29 21:49:35 +02:00
2ba85c1bc8 core: add support for test_utils_print_stack_usage
- activate THREAD_CREATE_STACKTEST also if test_utils_print_stack_usage
  is used

- make thread_measure_stack_free() available unconditionally

- if DEVELHELP is active, call test_utils_print_stack_usage() on any
  thread exit

- if DEVELHELP is active, call test_utils_print_stack_usage() after main
  for the idle thread, if that is used
2022-03-29 21:49:35 +02:00
fbe57de85e sys/test_utils: add print_stack_usage
This commit adds a module that can print stack metrics in the format as
understood by CI.
2022-03-29 21:49:35 +02:00
fabian18
c0f26fcaaa
Merge pull request #17803 from benpicco/gnrc/ipv6/nib-adv_address
gnrc/nib: don't advertise single address for auto-configuration
2022-03-29 10:49:54 +02:00
Francisco
4f3d7c9e1f
Merge pull request #17853 from fjmolinas/pr_z1_socat
makefiles: socat set tty mode 8N1
2022-03-29 10:29:47 +02:00
Francisco
52f12e0734
Merge pull request #17711 from benpicco/periph_init_buttons
drivers/periph_common: add periph_init_buttons to init on-board buttons
2022-03-29 10:29:39 +02:00
Benjamin Valentin
8da2e1045e tests/leds: add test where LEDs are mapped to buttons 2022-03-29 09:05:46 +02:00
Francisco
c078fdeb70
Merge pull request #17836 from fjmolinas/pr_xtimer_backoff_cleanups
drivers/mtd_spi_nor: add ztimer_usec alternative
2022-03-28 21:39:50 +02:00
Martine Lenders
ef7329f85c
Merge pull request #17855 from miri64/ztimer/fix/init-unitialized
treewide: initialize several stack-allocated, but uninitialized timer structs
2022-03-28 20:05:47 +02:00
benpicco
1133d04de1
Merge pull request #17813 from leandrolanzieri/pr/tests/eth_drivers_rework
tests: rework eth drivers
2022-03-28 18:15:27 +02:00
benpicco
22d8656c6c
Merge pull request #17875 from krzysztof-cabaj/doc-board-nucleo-f429zi
boards/nucleo-f429zi: improvements to documentation
2022-03-28 18:13:09 +02:00
Martine Lenders
a81c5a527e
ztimer: initialized un-initialized timer objects 2022-03-28 16:57:20 +02:00
chrysn
9458cd91ea
Merge pull request #17876 from maribu/dist/tools/usb-serial
dist/tools/usb-serial/ttys.py: Add regex support
2022-03-28 16:16:35 +02:00
80da040efa
Merge pull request #17873 from leandrolanzieri/pr/dist/tools/kconfiglib/fix_dev_null_rewrite
dist/tools/kconfiglib: avoid rewriting `/dev/null`
2022-03-28 15:00:27 +02:00
krzysztof-cabaj
30f72c15df boards/nucleo-f429zi/doc: improvements to documentation 2022-03-28 06:55:49 -04:00
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
ef4b453d4d
Merge pull request #17760 from fjmolinas/pkg_lvgl_widget_dep
pkg/lvgl: add extra widget dependency
2022-03-28 10:34:44 +02:00
Karl Fessel
88942be06c dist/tools/goodfet: set serial parity to none on exit 2022-03-28 10:19:50 +02:00
Leandro Lanzieri
aa97392cad
dist/tools/kconfiglib: avoid rewriting /dev/null 2022-03-28 10:15:10 +02:00
13a4393e0f
Merge pull request #17840 from fjmolinas/pr_tests_fixes
tests: multiple fixes
2022-03-28 10:09:45 +02:00
Francisco Molina
3017020bc9 drivers/mtd_spi_nor: add ztimer_usec alternative 2022-03-28 09:08:31 +02:00
Francisco Molina
1567a080ce pkg/lvgl: add extra diget dependency 2022-03-28 08:59:16 +02:00
Francisco Molina
5397b4f783 tests/shell: remove z1 socat workaround 2022-03-28 08:53:27 +02:00
Francisco Molina
a3ff566708 makefiles/tools/serial.inc.mk: socat set no parity 2022-03-28 08:53:27 +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