Gunar Schorcht
780fd9a815
cpu/esp_common/freertos: add timeout handling to xQueue
2022-06-20 21:23:47 +02:00
Gunar Schorcht
99fa182fb4
cpu/esp_common/freertos: add required task functions
2022-06-20 21:23:47 +02:00
Gunar Schorcht
ae01985588
cpu/esp_common/freertos: add xSemaphoreGetMutexHolder
...
The mutex and semaphor handling had to be extended by the thread pid.
2022-06-20 21:23:47 +02:00
Gunar Schorcht
02e52513d1
cpu/esp_common/freertos: add xQueueReset function
2022-06-20 21:23:47 +02:00
Gunar Schorcht
e4f1a94219
cpu/esp_common/freertos: allow platform independent compilation
2022-06-20 21:23:47 +02:00
Marian Buschsieweke
740c2faaa8
cpu/avr8_common: fix cpu_print_last_instruction
2022-06-20 19:56:00 +02:00
Marian Buschsieweke
21daf782a7
cpu/avr8_common: clean up thread_arch.c
...
Use __AVR_HAVE_RAMP<D,X,Y,Y>__ and __AVR_HAVE_3_BYTE_PC__ provided by
the compiler instead of custom macros.
2022-06-20 19:49:07 +02:00
Gunar Schorcht
24103ad58a
Merge pull request #18215 from benpicco/pkg/driver_atwinc15x0-bump
...
pkg/driver_atwinc15x0: bump version to 1.6.1
2022-06-20 18:48:53 +02:00
Benjamin Valentin
8cf20a286d
cpu/cortexm_common: allow to overwrite nmi_handler
...
If a user wants to handle NMI events, let them do so by
providing an implementation for nmi_handler() instead of
paniking.
2022-06-20 18:22:22 +02:00
fabian18
780f0a595c
Merge pull request #18231 from benpicco/mtd_write_page_raw-doc
...
dirvers/mtd: fix documentation of mtd_write_page_raw() and mtd_read_page()
2022-06-20 15:35:05 +02:00
Benjamin Valentin
bede0615ad
drivers/mtd: fix doc of mtd_read_page(), mtd_write_page_raw()
...
The function allows for offsets greater than the page size.
2022-06-20 14:59:41 +02:00
benpicco
1638606c5c
Merge pull request #18218 from gschorcht/boards/esp32/cleanup_ci_compilation
...
boards/esp32: cleanup CI compilation for esp_wifi_enterprise
2022-06-19 17:01:13 +02:00
Benjamin Valentin
f8431d7623
drivers/atwinc15x0: blacklist esp8266
2022-06-19 16:53:34 +02:00
benpicco
e32c19f4a3
Merge pull request #18202 from gschorcht/cpu/esp32/remove_dep_on_libc_gettimeofday
...
cpu/esp32: Remove dependency on module libc_gettimeofday
2022-06-18 18:45:44 +02:00
Gunar Schorcht
4dc5e86b2a
cpu/esp32: remove libc_gettimeofday dependency
2022-06-18 16:35:11 +02:00
Gunar Schorcht
8796513ac1
cpu/esp32: add missing newlibc function _gettimeofday_r
2022-06-18 16:34:40 +02:00
Gunar Schorcht
e6823edb6a
Merge pull request #18216 from maribu/makefiles/tests/tests.inc.mk
...
makefiles/tests: use BINFILE for hash comparision instead of ELFFILE
2022-06-18 14:42:19 +02:00
Benjamin Valentin
14afafa2d2
gnrc_pktbuf: fix gnrc_pktbuf_contains()
2022-06-17 19:58:01 +02:00
Marian Buschsieweke
a247e87f8e
Makefile.include: fix typo
2022-06-17 18:31:17 +02:00
Marian Buschsieweke
d1317abc02
makefiles/tests: use FLASHFILE for hash comparision instead of ELFFILE
...
Let's consider firmwares as identical if their flash files are matching.
This will have the side effect that hash mismatches for ESP32 due to
different .debug sections in the ELFFILE are prevented, as for ESP32
the BINFILE is used.
2022-06-17 18:31:17 +02:00
Gunar Schorcht
934c65fb2e
Merge pull request #18212 from benpicco/kernel_defines-CONST
...
core/kernel_defines: drop CONST definition
2022-06-17 17:45:46 +02:00
benpicco
24f7cbf9bb
Merge pull request #18222 from benpicco/sam0_sdhc-align
...
cpu/sam0_common: mtd_sdhc: ensure source address alignment
2022-06-17 10:15:46 +02:00
benpicco
b2ed5af665
Merge pull request #18221 from benpicco/nanocoap_sock_request_cb-assert
...
nanocoap_sock: fix wrong assertion
2022-06-17 10:14:11 +02:00
krzysztof-cabaj
49d8b0a892
boards/nucleo32: fix static test issues
2022-06-17 03:41:22 -04:00
krzysztof-cabaj
fdc7d655ea
boards/nucleo-l412kb: add board short description and flashing command
2022-06-17 03:21:40 -04:00
Marian Buschsieweke
3f28e2314a
Merge pull request #18219 from maribu/cpu/stm32/periph_eth
...
cpu/stm32/periph_eth: enable stm32_eth_link_up with lwip_ipv6
2022-06-17 08:51:47 +02:00
Benjamin Valentin
e8fd493f41
cpu/sam0_common: mtd_sdhc: ensure source address alignment
...
The source / destination address of the SDHC transfer needs to be
word-aligned.
Use the mtd buffer to fix the alignment if `mtd_write_page` is used,
otherwise return -ENOTSUP.
2022-06-16 18:58:10 +02:00
Benjamin Valentin
11e40a9d61
nanocoap_sock: fix wrong assertion
...
The assertion is a bit overeager.
In case of receiving a wrong message ID, we re-try receive without
entering the STATE_REQUEST_SEND state again, so it is expected that
we get a non-NULL ctx/response from sock_udp_recv_buf().
What this assert should actually check is that we don't get a non-NULL
ctx after calling sock_udp_recv_buf() with a non-NULL ctx.
So make this explicit to not falsely fail the assertion.
2022-06-16 18:54:16 +02:00
krzysztof-cabaj
606df51111
boards/nucleo: change all memory size to KiB
2022-06-16 12:46:42 -04:00
krzysztof-cabaj
c378f9dec0
boards/nucleo-l011k4: add board short descritpion and flashing command
2022-06-16 12:30:16 -04:00
benpicco
809f9ed174
Merge pull request #18207 from gschorcht/cpu/esp32/fix_shell_reboot
...
cpu/esp32: fix pm_reboot function
2022-06-16 16:47:31 +02:00
chrysn
54fe5fc8c3
makefiles/rust: Extra checks to ensure a usable build environment
...
... and print actionable errors.
Closes: https://github.com/RIOT-OS/RIOT/issues/18200
2022-06-16 16:23:02 +02:00
chrysn
36a029c07a
makefiles/rust: Line wrap for better readability
2022-06-16 16:15:22 +02:00
chrysn
d129f3dc31
makefiles/rust: Colorful error output
2022-06-16 16:14:39 +02:00
chrysn
95cef2229c
makefiles/rust: Err before trying to build without having the libraries in place
...
This is also a workaround for Rust's [97685], but primarily to enhance
the error message by pointing out that -Zbuild-std is an option, and
generally presenting the error as RIOT usually does.
[97685]: https://github.com/rust-lang/rust/issues/97685
2022-06-16 16:14:34 +02:00
Marian Buschsieweke
c9798c86ce
cpu/stm32/periph_eth: enable stm32_eth_link_up with lwip_ipv6
...
An network devices that supports netdev_driver_t::get(NETOPT_LINK, ...)
also has to emit NETDEV_EVENT_LINK_UP and NETDEV_EVENT_LINK_DOWN with
lwip for IPv6 duplicate address detection to work. The background is
that the STM32 Ethernet MAC requires a periodic timer to poll for the
state to emit these events. For this reason, `stm32_eth_link_up` was
introduced to allow applications to select if they need these events.
With this dependency in place, IPv6 addresses won't get stuck in a
tentative state any more.
2022-06-16 15:45:24 +02:00
Benjamin Valentin
2e7d35f760
core/kernel_defines: drop CONST definition
...
This is not used anywhere in RIOT, but causes conflicts with external
library code.
So let's just get rid of this.
2022-06-16 15:26:27 +02:00
Benjamin Valentin
7bc1fea55a
sys/tm: drop CONST
2022-06-16 15:26:27 +02:00
Gunar Schorcht
3414629614
boards/esp32-ci: define ESP_WIFI_EAP_* variables
...
`ESP_WIFI_EAP_USER` and `ESP_WIFI_EAP_PASS` have to be defined because this board is used in the CI to compile the optional module `esp_wifi_enterprise`.
2022-06-16 14:20:11 +02:00
Gunar Schorcht
54c1cd673e
boards/esp32-wrover-kit: revert changes in commit b74c456
...
In the board definition of `esp32_wrover_kit` default values for `ESP_WIFI_EAP_USER` and `ESP_WIFI_EAP_PASS` had to be defined because this board was used in the CI to compile the optional module `esp_wifi_enterprise`. Now that the CI compilation for the `esp_wifi_enterprise` module is realized by an external board definition `esp32-ci`, these default values should be removed to make the compilation fail if the user did not define these variables.
2022-06-16 14:11:58 +02:00
Gunar Schorcht
0622d45949
cpu/esp32: fix pm_reboot function
2022-06-16 13:40:08 +02:00
Marian Buschsieweke
6db97e2871
Merge pull request #18209 from gschorcht/cpu/esp32/fix_malloc_thread_safety
...
cpu/esp32: fix malloc thread safety
2022-06-16 13:39:26 +02:00
Marian Buschsieweke
dd6243f27f
Merge pull request #18213 from maribu/sys/shell/commands/sc_lwip_netif.c
...
sys/shell/commands/sc_lwip_netif.c: add address state
2022-06-16 13:38:55 +02:00
benpicco
0a16f8266a
Merge pull request #17962 from benpicco/nanocoap_vfs-put
...
nanocoap_vfs: add nanocoap_vfs_put()
2022-06-16 11:53:36 +02:00
Gunar Schorcht
058c882495
Merge pull request #18214 from benpicco/drivers/atwinc15x0-timeout
...
drivers/atwinc15x0: add timeout to init
2022-06-16 11:52:16 +02:00
Marian Buschsieweke
3954217fdf
sys/shell/commands/sc_lwip_netif.c: add address state
...
Add information about the address state (e.g. if it is valid, preferred,
tentative, how many probes have been sent)
2022-06-16 08:40:42 +02:00
benpicco
55b57e1a75
Merge pull request #18208 from chrysn-pull-requests/rust-doc-update
...
doc/rust: Update texts
2022-06-15 21:58:23 +02:00
Benjamin Valentin
9c8fa57f4d
drivers/atwinc15x0: add timeout to init
...
This enables a timeout on init to not hang there forever if init
fails but instead return an error.
2022-06-15 18:19:37 +02:00
Benjamin Valentin
2b401b4a22
pkg/driver_atwinc15x0: bump version
2022-06-15 14:37:03 +02:00
Marian Buschsieweke
90b373e1f2
Merge pull request #18206 from maribu/dist/tools/compile_commands
...
dist/tools/compile_commands: fix clangd mode with ESP32
2022-06-15 14:36:19 +02:00