Gunar Schorcht
90b863c24f
boards: add ESP32-H2-DekitM-1 board definition
2025-07-04 13:51:32 +02:00
Gunar Schorcht
4326d1b685
boards/common: add common board definitions for ESP32-H2
2025-07-04 13:51:32 +02:00
Gunar Schorcht
bdc0a0bdae
dist/tools/esptool: fix shellcheck warnings
2025-06-23 16:48:24 +02:00
Gunar Schorcht
be9172ffd6
dist/tools/esptool: add esp32h2
2025-06-23 16:48:23 +02:00
benpicco
e6741e6bf9
Merge pull request #21557 from gschorcht/pkg/esptool
...
pkg: use esptool.py v4.9.0 as package
2025-06-23 09:15:56 +00:00
Gunar Schorcht
2fff3412ac
cpu/esp32: using esptool.py as package
2025-06-22 18:31:39 +02:00
Gunar Schorcht
8ff29b1a88
makefiles/tools: use esptool.py in virtual Python environment
...
`esptool.py` is now used as a package within a virtual Python environment. Since `esptool.py` is used for compilation on the one hand and for flashing on the other, `esptool.py` is installed in two separate virtual Python environments, one for compilation and one for flashing only. This is required
1. to be able to flash a precompiled application only without compiling the package and
2. to be able to compile an application in RIOT Docker and flash it on the host system.
2025-06-22 17:30:55 +02:00
Gunar Schorcht
bc43e5e55d
pkg: add esptool.py as package for compilation
2025-06-22 17:13:57 +02:00
benpicco
15cc7c43ed
Merge pull request #21556 from derMihai/mir/event_thread_opt
...
sys/event/thread: optimize stack usage
2025-06-20 17:33:46 +00:00
Mihai Renea
65dcaf7885
sys/event/thread: optimize stack usage
2025-06-20 17:06:44 +02:00
crasbe
3d7b5b017c
Merge pull request #14999 from benpicco/cpu/sam0_common-pm_off
...
cpu/sam0_common: implement pm_off()
2025-06-20 13:58:41 +00:00
Benjamin Valentin
fea0e0f34c
cpu/sam0_common: implement pm_off()
2025-06-20 15:32:55 +02:00
benpicco
8590133fcb
Merge pull request #21539 from benpicco/event_deferred_callback_post-fix
...
sys/event/deferred_callback: disable timer before modifying event
2025-06-19 12:20:21 +00:00
benpicco
a80f768873
Merge pull request #20787 from ML-PA-Consulting-GmbH/dl/riot/20240715__periph_init__unblock_i2c
...
periph_common/init.c: unblock i2c bus
2025-06-19 11:43:17 +00:00
Daniel Lockau
763dbccc78
cpu/sam0_common/periph/i2c.c: attempt to unblock bus after error
2025-06-19 13:00:16 +02:00
benpicco
ce7a3b58fd
Merge pull request #21554 from krzysztof-cabaj/nucleo-l412kb-DOC
...
boards/nucleo-l412kb: improve board doc page
2025-06-19 10:01:21 +00:00
Alexandre Abadie
4db7d0166d
Merge pull request #21553 from aabadie/ztimer_500k
...
sys/ztimer: add support for timers running at a 500kHz frequency
2025-06-19 08:47:46 +00:00
krzysztof-cabaj
236c1296f5
boards/nucleo-l412kb: add MCU table to doc page
2025-06-18 20:12:46 +02:00
Alexandre Abadie
bc2417226a
sys/ztimer: add support for 500kHz timer frequency
2025-06-17 13:32:39 +02:00
Teufelchen
734c5707cc
Merge pull request #21552 from Teufelchen1/feat/crc16fcs
...
checksum: Add crc16-fcs / IBM-SDLC
2025-06-16 15:01:11 +00:00
Teufelchen1
65fc4b0f3f
checksum: Add crc16-fcs / IBM-SDLC
2025-06-16 16:18:50 +02:00
crasbe
b1296afe58
Merge pull request #21523 from maribu/build-system/openocd/tigard/tty-detection
...
build-sytem/openocd: detect serial port TTY
2025-06-16 10:06:55 +00:00
Marian Buschsieweke
41fd70e06f
build-sytem/openocd: detect serial port TTY
...
This adds a default `TTY_BOARD_FILTER` for use with the Tigard debugger,
so that when the programmer is a Tigard that tigard is also used by
default for the serial connection.
In addition, this allows selecting the TTY via the programmer serial
number.
Co-authored-by: crasbe <crasbe@gmail.com>
2025-06-16 09:09:58 +02:00
Marian Buschsieweke
e069db9cd5
build-system: process programmer before serial
...
This allows the serial PORT selection to make use of info provided by
the programmer. This is especially useful when a programmer provides both
programming interface (e.g. SWD) and a serial (e.g. intraged USB-UART
bridge or exposes SWO logging as a TTY).
2025-06-16 09:09:57 +02:00
crasbe
521aa89b74
Merge pull request #21550 from krzysztof-cabaj/nucleo-l432-DOC-typo
...
boards/nucleo-l432kc: fix typo in MCU table
2025-06-15 11:05:21 +00:00
krzysztof-cabaj
52adf42200
boards/nucleo-l432kc: fix typo in MCU table
2025-06-14 15:59:22 +02:00
krzysztof-cabaj
ed48aa9073
boards/nucleo-l412kb: add pinout to board doc page
2025-06-14 15:57:44 +02:00
krzysztof-cabaj
2bb74d2855
boards/nucleo-l412kb: rename doc.txt -> doc.md
2025-06-14 15:49:22 +02:00
Benjamin Valentin
845deae77e
sys/event/deferred_callback: disable timer before modifying event
2025-06-13 17:39:13 +02:00
benpicco
e2403dbff7
Merge pull request #21549 from camoz/spi-fix
...
cpu/nrf{52,9160}: set GPIO modes correctly for MISO/MOSI SPI signals
2025-06-11 15:52:29 +00:00
Merlin Büge
923e530d38
cpu/nrf{52,9160}: set GPIO modes correctly for MISO/MOSI SPI signals
...
Commit 4906353c introduced a bug that changed the behavior of
spi_init_pins(): MISO is erroneously set to GPIO_OUT, and MOSI is
erroneously set to GPIO_IN. The bug was caused by a simple typo.
2025-06-11 17:27:42 +02:00
benpicco
80ea84d570
Merge pull request #21511 from benpicco/riotboot_gen_hdr-json
...
dist/tools/riotboot_gen_hdr: add JSON mode
2025-06-11 14:27:07 +00:00
crasbe
18c666a15a
Merge pull request #21548 from benpicco/cpu/samd5x-dac
...
cpu/sam0_common: fix DAC on SAM D5x/E5x
2025-06-11 11:27:52 +00:00
Benjamin Valentin
22cdbdeaa3
boards/same54-xpro: default to internal voltage reference for DAC
...
Using the external reference produces no output when no voltage is
connected, which makes for a confusing non-functional DAC on the eval
board.
2025-06-11 13:06:50 +02:00
Benjamin Valentin
d86b75a4a6
cpu/sam0_common: fix DAC on SAM D5x/E5x
2025-06-11 13:06:50 +02:00
benpicco
c049ff1982
Merge pull request #21546 from krzysztof-cabaj/nucleo-l432-ADC
...
boards/nucleo-l432: enable ADC
2025-06-11 09:50:27 +00:00
krzysztof-cabaj
ac4b20beb1
boards/nucleo-l432kc: add Doxygen doc
2025-06-11 10:48:30 +02:00
krzysztof-cabaj
5cc59a0a1e
boards/nucleo-l432kc: add ADC configuration
2025-06-11 10:48:30 +02:00
krzysztof-cabaj
d79ec155ce
boards/nucleo-l432kc: enabling ADC feature
2025-06-11 10:48:30 +02:00
crasbe
168799cc78
Merge pull request #21518 from camoz/lcdfill-fix
...
tests/drivers/{st77xx,ili9341}: fix coordinates in lcd_fill()
2025-06-10 21:33:09 +00:00
benpicco
5a7c925fdf
Merge pull request #21547 from krzysztof-cabaj/nucleo-l4-vbat
...
boards/nucleo-l4: fix VBAT capable boards list
2025-06-10 16:34:22 +00:00
krzysztof-cabaj
6619a5acf4
boards/nucleo-l4: fix VBAT capable boards list
2025-06-10 17:14:26 +02:00
Marian Buschsieweke
07542b6871
Merge pull request #21131 from basilfx/bmp-pep723
...
dist/tools/bmp: in-line dependencies using PEP 723
2025-06-10 13:03:07 +00:00
Bas Stottelaar
8c61fa97f3
dist/tools/bmp: in-line dependencies using PEP 723
...
PEP 723 is an accepted proposal to in-line script metadata. One such
use cases is to put script dependencies inside the script, which makes
the requirements.txt redundant [1].
With the correct shebang, it becomes even possible to run the script
directly, without creating a virtual environment and installing
dependencies in advance.
Combining both makes the execution of single-file scripts within RIOT
much easier and friendlier.
PEP 723 metadata can be used by `pipx` [2] and can be easily
installed when `pip` is available.
[1] `pip install` still requires a requirements.txt, which is
generally accepted during development. An open issue exists to
add support for reading dependencies from PEP 723 as well. See
https://github.com/pypa/pip/issues/12891
[2] https://github.com/pypa/pipx
2025-06-10 14:58:38 +02:00
Merlin Büge
3636d0c16d
tests/drivers/{st77xx,ili9341}: fix coordinates in lcd_fill()
...
The lcd_fill() argument x2 (y2) must be less than dev.params->lines
(dev.params->rgb_channels) to not draw to invalid LCD coordinates.
2025-06-10 09:39:45 +02:00
crasbe
42a38240a2
Merge pull request #21543 from crasbe/pr/crc8_refl
...
sys/checksum: Add LSB-first (reflected) CRC8 Function
2025-06-07 12:07:11 +00:00
crasbe
14bd987c40
Merge pull request #21544 from RainbowSimon/master
...
drivers/st77xx: Fix initialization order to allow C++ compilation [2]
2025-06-07 11:37:49 +00:00
Simon Grund
7548f0430e
drivers/st77xx: Fix compilation with C++
2025-06-07 13:18:19 +02:00
crasbe
a8ccd544e6
tests/unittests: Add unittest for CRC8-LSB
2025-06-07 11:43:25 +02:00
crasbe
b19fd5446d
sys/checksum: add reflected CRC8 function
2025-06-06 22:13:36 +02:00