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

46395 Commits

Author SHA1 Message Date
Marian Buschsieweke
314e31bd1c
doc/CoC: Remove references to communication tools
The list of communication tools has been outdated. Rather than keeping
this list up to date, the list was dropped and the wording changed
so that we refer to communication within the community.
2024-05-03 10:46:30 +02:00
Marian Buschsieweke
e2449184ab
Merge pull request #20301 from elektrozaun/driver_w5500
driver/w5500: driver for the W5500 ethernet chip
2024-05-03 06:15:21 +00:00
Stefan Schmidt
9d62ad4c5c driver/w5500: driver for the W5500 ethernet chip
- driver can be used with interrupt or in polling mode (default)
2024-05-02 22:07:17 +02:00
Marian Buschsieweke
3375899e72
boards/mulle: add JLINK_DEVICE 2024-05-01 21:01:43 +02:00
Marian Buschsieweke
65d2e161c3
boards/mulle: add TTY_BOARD_FILTER 2024-05-01 21:01:43 +02:00
Marian Buschsieweke
0fd649de67
boards/mulle: fix OpenOCD config
- use JTAG instead of SWD to restore old behavior
- replace deprecated configuration names with new ones
2024-05-01 21:01:43 +02:00
Marian Buschsieweke
d1167d9d77
cpu/kinetis/dist-check-fcfield.sh: minor fixes
- `printf "%d" ""` triggers an "invalid number" warning on ash, so
  let's use `0` as portable default for zero
- add quotes where needed to make shellcheck happy
2024-05-01 14:05:36 +02:00
Marian Buschsieweke
28f412f79b
pkg/lwip: add support for netdev_driver_t::confirm_send 2024-04-30 19:14:35 +02:00
Marian Buschsieweke
a620a3c27f
Merge pull request #20573 from maribu/boards/waspmote-pro
boards/waspmote-pro: fix ztimer config
2024-04-30 16:55:47 +00:00
Marian Buschsieweke
162bb6eb41
boards/waspmote-pro: fix ztimer config 2024-04-30 18:44:45 +02:00
Marian Buschsieweke
3783bb1588
Merge pull request #20629 from maribu/examples/gcoap/docker
examples/gcoap: pass through variables to docker
2024-04-30 16:42:12 +00:00
Marian Buschsieweke
91dd1ffdfb
Merge pull request #20635 from maribu/cpu/esp32/gpio_ll
cpu/esp32/gpio_ll: fix & cleanup
2024-04-30 13:10:53 +00:00
Marian Buschsieweke
dd585f9e9d
cpu/esp32/gpio_ll: fix & cleanup
- `gpio_ll_toggle()` now is race-free
- avoid using a look up table but branch to the two different registers
  in the `gpio_ll*()` functions
    - in most cases the GPIO port is a compile time constant and the
      dead branch is eliminated by the optimizer, making this vastly
      more efficient
    - some MCUs do only have a single port, in which case
      `GPIO_PORT_NUM(port)` is known to return `0` even if `port` is
      not known, resulting in one of the branch being eliminated as
      dead branch no matter what
    - in case it really is unknown at compile time which port to work
      on, the branch can still be implemented efficiently by the
      compiler e.g. using a conditional move; likely more efficient
      than fetching a value from the look up table.
2024-04-30 14:16:28 +02:00
benpicco
f6e63d2bb3
Merge pull request #20628 from bmewen/master
pkg/wamr: Added support for THUMB_VFP in wamr Makefile
2024-04-30 09:54:42 +00:00
Marian Buschsieweke
9462ab576e
cpu/native: netdev_tap implements the legacy netdev API 2024-04-30 09:49:36 +02:00
Marian Buschsieweke
b5650915c9
cpu/esp_common: esp_eth implements the legacy netdev API 2024-04-30 09:49:36 +02:00
Berthelot Mewen
150058e8dd pkg/wamr: Added support of THUMB_VFP 2024-04-30 09:25:58 +02:00
Marian Buschsieweke
87e242189a
drivers/kw41zrf: kw41zrf implements the legacy netdev API 2024-04-30 08:41:07 +02:00
Marian Buschsieweke
4824bb38e0
cpu/nrf5x: nrfmin implements the legacy netdev API 2024-04-30 08:41:07 +02:00
Marian Buschsieweke
cefbc394ca
pkg/lwip: automatically pull in lwip_netdev
Pull in lwip_netdev for netdev integration automatically if there is
any netdev to integrate, otherwise don't pull in the module.

As a result, applications no longer need to select that module by hand.
2024-04-30 08:41:07 +02:00
Marian Buschsieweke
e80238d2a5
sys/netdev_test: depend on netdev_legacy_api
The test netdev implements the legacy API, so we need support for that
from the upper layer.
2024-04-30 08:41:07 +02:00
Marian Buschsieweke
ee8569f7da
Merge pull request #20637 from krzysztof-cabaj/led-is-present
drivers/led: add LEDX_IS_PRESENT defines
2024-04-30 05:24:31 +00:00
benpicco
5ad435477d
Merge pull request #18359 from maribu/lwip/evloop
pkg/lwip: use sys/event for handling ISR and bhp
2024-04-29 18:47:31 +00:00
Marian Buschsieweke
7277d1d351
pkg/lwip: use sys/event for handling ISR and bhp
This is directly useful for the two driver using the bhp API, but also
other drivers profit from not loosing IRQs.

The main selling point is that this paves the way for implementing
netdev_driver_t::confirm_send().

Co-authored-by: benpicco <benpicco@googlemail.com>
Co-authored-by: Erik Ekman <eekman@google.com>
2024-04-29 19:12:58 +02:00
Marian Buschsieweke
ff0d00cb8c
Merge pull request #20638 from mguetschow/docker-makefile-prevent-recursion
makefiles/docker: prevent recursive docker invocation
2024-04-29 15:08:43 +00:00
Mikolai Gütschow
286314994f
makefiles/docker: prevent recursive docker invocation 2024-04-29 16:47:34 +02:00
krzysztof-cabaj
a813e9728b drivers/led: add LEDX_IS_PRESENT defines 2024-04-29 16:25:32 +02:00
Marian Buschsieweke
39c231f6dd
Merge pull request #20634 from miri64/l2filter/cleanup/exp
l2filter: mark module and related netopt options as experimental
2024-04-29 12:13:35 +00:00
Martine Lenders
9b11ecab25
netopt: mark l2filter options as experimental 2024-04-29 11:49:33 +02:00
Martine Lenders
ead2785463
l2filter: mark module as experimental 2024-04-29 11:49:33 +02:00
benpicco
6c154958a3
Merge pull request #20627 from benpicco/assert-zombi
core/assert: halt running thread instead of panic
2024-04-29 09:16:46 +00:00
Benjamin Valentin
a28e98b36d examples/dtls-wolfssl: add maple-mini to Makefile.ci 2024-04-29 11:01:18 +02:00
Benjamin Valentin
731ada03e5 core/assert: halt running thread instead of panic 2024-04-28 01:43:18 +02:00
Dylan Laduranty
c2bd865060
Merge pull request #20631 from maribu/doc/doxygen/fix-sidenav
doc/doxygen: fix sidenav handling
2024-04-27 15:56:14 +00:00
Marian Buschsieweke
166d3aa928
doc/doxygen: fix sidenav handling
In https://github.com/RIOT-OS/RIOT/pull/20511/files a quick fix was
added to allow resizing the sidenav. But this broke hiding the sidenav
on mobile screen widths. This fixes the issue and also increase the
default sidenav width a tad.
2024-04-27 10:34:07 +02:00
Marian Buschsieweke
420ee3f191
Merge pull request #20630 from benpicco/core_panic-reboot
core/panic: make reboot on panic configurable
2024-04-26 16:57:08 +00:00
Marian Buschsieweke
43f07fa261
cpu/msp430: implement power management
This implements `pm_set_lowest()` for the MSP430. Unlike most other
platforms, it intentionally does not use pm_layered. It is pretty
similar to `pm_layered` in that is does use reference counters, but it
uses them for two independent clock sources.

The main difference is that the low frequency clock domain can be
disabled even when the high frequency clock is still active. With the
layers, disabling layer n-1 while layer n is still blocked would not
work.
2024-04-26 15:52:41 +02:00
Marian Buschsieweke
01caa1900b
cpu/msp430: use SR alias instead of r2
The register r2 is the status register, which has the SR alias. Using
SR is a lot more readable than r2.
2024-04-26 15:52:41 +02:00
Benjamin Valentin
9e0a32e011 core/panic: make reboot on panic configurable 2024-04-26 15:44:49 +02:00
Marian Buschsieweke
0212caf7e0
examples/gcoap: pass through variables to docker
Pass through application configuration environment variables to docker,
so that one can use e.g. `make LWIP_IPV4=1 BUILD_IN_DOCKER=1`.
2024-04-26 15:28:45 +02:00
Benjamin Valentin
3359f26689 core/assert: move common code to inline function 2024-04-26 14:07:24 +02:00
benpicco
70c70e2afc
Merge pull request #20623 from maribu/cpu/msp430/periph_usci/fix-prescaler
cpu/msp430/perriph_usci: fix prescaler values for ACLK
2024-04-26 09:42:25 +00:00
Marian Buschsieweke
4c0d6f8f7d
cpu/msp430/perriph_usci: fix prescaler values for ACLK
For super low symbol rates the auxiliary clock (ACLK) is used to
conserve power. But with only 32,678 Hz clock just prescaling will
result in poor bit timing, hence correct modulation control settings
to compensate are needed. Since computing this is too expensive, a
look-up table (as switch statement) for the four most common symbol
rates was used.

The datasheet gave the prescaler values ordered by ascending symbol
rate, the switch statement was ordered descending.
This changes the order to match the datasheets order and matches the
correct prescaler setting to the corresponding symbol rate.

Fixes https://github.com/RIOT-OS/RIOT/issues/20620
2024-04-25 22:39:45 +02:00
Teufelchen
925644e4ce
Merge pull request #20596 from Teufelchen1/fix/esp_print
cpu/esp: Handle format print errors
2024-04-25 13:58:12 +00:00
Teufelchen
5409364222
Merge pull request #20595 from Teufelchen1/fix/vfs_cmd
shell/vfs: Handle print failure in genfile cmd gracefully
2024-04-25 13:46:16 +00:00
Teufelchen1
01e78ed333 cpu/esp: Handle format print errors 2024-04-25 15:19:02 +02:00
Teufelchen1
8bd1de8259 shell/vfs: Handle print failure in genfile cmd gracefully 2024-04-25 15:16:42 +02:00
mariemC
768ce5e443 sys/net/application_layer/gcoap/include: add internal proxy header 2024-04-25 13:36:11 +02:00
mariemC
a07a21b3de sys/net/application_layer/gcoap: include header in path 2024-04-25 13:30:16 +02:00
mariemC
6454816676 sys/net/application_layer/gcoap: add proxy thread 2024-04-25 13:30:16 +02:00