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

40146 Commits

Author SHA1 Message Date
Teufelchen1
1231807bab Documentation: Renaming OS X to macOS 2022-06-23 17:25:48 +02:00
benpicco
1fba8d3d76
Merge pull request #18232 from benpicco/nmi_handler
cpu/cortexm_common: allow to overwrite nmi_handler
2022-06-21 09:39:15 +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
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
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
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
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
Gunar Schorcht
041fe58209 cpu/esp32: add malloc_thread_safe if esp_idf_heap not used 2022-06-15 07:31:02 +02:00
chrysn
1e7ac17e07 doc/rust: Migrate and modernize text from rust_minimal README
This is a rewrite of text that has come to be quite outdated, pulled
into the central location for information about RIOT's Rust integration.
2022-06-15 00:01:27 +02:00
chrysn
af0e673c04 doc/rust: Updates on Rust and C2Rust versions
This better reflects the current state of things. Setting the nightly
toolchain as default works better for new users with the current
settings of the examples. Not pinning the C2Rust version -- we don't pin
the nightly version in the docs either, and breakage is easy to track
given the container builds as a base line.
2022-06-14 23:02:11 +02:00
chrysn
6b49a391c8 doc/rust: Typo and link fixes 2022-06-14 22:52:03 +02:00
Marian Buschsieweke
e90975da6f
dist/tools/compile_commands: fix clangd mode with ESP32
In clangd mode drop a number of compiler flags not supported by LLVM.
2022-06-14 13:20:14 +02:00
Marian Buschsieweke
9827e573c0
Merge pull request #18205 from maribu/dist/tools/compile_commands
dist/tools/compile_commands: fix error handling
2022-06-14 13:16:41 +02:00
Marian Buschsieweke
a5f52cbbb7
dist/tools/compile_commands: fix error handling
detect_includes_and_version_gcc() previously only detected the includes,
but has been extended to also return the version. This is done by
returning a tuple, with the first item being the list of include paths,
and the second being the version. In the error handling the script still
returns only an empty list of includes, but not an empty version. This
fixes the issue.
2022-06-14 12:32:22 +02:00
Marian Buschsieweke
c5083303f6
Merge pull request #12665 from gschorcht/drivers/hd44780_i2c_pcf857x
drivers/hd44780: PCF857x I2C interface added
2022-06-14 10:23:19 +02:00
benpicco
6a15ad4df2
Merge pull request #18179 from maribu/sys/shell_commands
sys/shell/commands: add static qualifier where appropriate
2022-06-14 10:06:07 +02:00
benpicco
324b26d67d
Merge pull request #18195 from benpicco/core/assert-fix
core/assert: print last instruction in assert()
2022-06-13 11:49:56 +02:00
Kevin "Tristate Tom" Weiss
22977ea01d
Merge pull request #18192 from leandrolanzieri/pr/dist/tools/kconfiglib/add_evaluate_config
dist/tools/kconfiglib: add configuration evaluation function
2022-06-13 10:35:46 +02:00
benpicco
cbb3ca1d07
Merge pull request #18198 from benpicco/constfs-void
sys/fs/constfs: allow to host arbitrary data
2022-06-12 22:23:33 +02:00
Benjamin Valentin
148651a94d sys/fs/constfs: allow to host arbitrary data
Don't require data to be a uint8_t array to to be casted into one.
2022-06-12 19:39:27 +02:00
benpicco
056b33a242
Merge pull request #18197 from gschorcht/drivers/rtt_rtc_fix_set_alarm
drivers/rtt_rtc: normalize tm struct in rtc_set_alarm
2022-06-12 18:45:05 +02:00