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

44502 Commits

Author SHA1 Message Date
Marian Buschsieweke
66d38101d8
tests/periph/selftest_shield: Consistently use DETAILED_OUTPUT
There already is `DETAILED_OUTPUT` to trade ROM size for more verbose
error messages, no need to abuse `DEBUG()` for the same as well.
2023-11-16 12:59:50 +01:00
Marian Buschsieweke
f51ca593ba
tests/periph/selftest_shield: re-enable ADC test
The R-2R resistor ladder dac --> ADC test was disabled due to a bug in
the v0.1 version of the shield. Since this has been fixed in v0.2 and
v0.3 of the shield, it can be re-enabled.

The comment regarding the high accuracy of the resistor is dropped, as
v0.3 has been ordered with cost efficient resistors rather than with
accurate ones. As a result, the tolerance for error has been increased
to 10%. This quite a bit more lax than I have hoped for, but false
positives would be something to avoid.
2023-11-16 12:59:50 +01:00
Marian Buschsieweke
47d81ffbe1
Merge pull request #20081 from maribu/tests/periph/selftest_shield
tests/periph/selftest_shield: fix integration
2023-11-13 18:03:47 +00:00
Marian Buschsieweke
d6dac4bee2
tests/periph/selftest_shield: Fix copy-paste error in comment 2023-11-13 15:53:58 +01:00
Marian Buschsieweke
b6252b334d
tests/periph/selftest_shield: fix integration
The test should execute only with `make test-with-config` and not with
`make test`, as boards without the shield cannot pass the test.

For some reason I accidentally added both variants, which makes no
sense. This drops the `make test` variant.

Finally, the `README.md` is updated to refer to `make test-with-config`
instead of `make test`.
2023-11-13 14:17:03 +01:00
benpicco
72ddd4d01f
Merge pull request #19944 from gschorcht/cpu/esp32/lcd_parallel_ll_mcu
cpu/esp32: add low-level LCD parallel interface using LCD peripheral
2023-11-13 12:12:53 +00:00
Gunar Schorcht
4e85968145 boards/esp32s3-wt32-sc01-plus: enable LCD parallel interface 2023-11-13 13:01:57 +01:00
Gunar Schorcht
70053c5284 cpu/esp32: add LCD low-level parallel interface suppport 2023-11-13 13:01:57 +01:00
Gunar Schorcht
33d6281432 cpu/esp32/esp-idf: add LCD driver of ESP-IDF 2023-11-13 13:01:57 +01:00
Gunar Schorcht
ab8649bd2f pkg/esp32_sdk: patch for LCD driver on ESP32-S3 2023-11-13 13:01:57 +01:00
Marian Buschsieweke
978176a283
Merge pull request #20074 from maribu/sys/flash_utils/avr
sys/flash_utils: Minor bug fixes
2023-11-11 12:58:08 +00:00
benpicco
5e0968a6f6
Merge pull request #20075 from krzysztof-cabaj/nucleo-f070-SPI
boards/nucleo-f070rb: add SPI configuration
2023-11-10 23:06:38 +00:00
benpicco
5d54e89a17
Merge pull request #20078 from benpicco/mtd_dev_get
drivers/mtd: rename mtd_default_get_dev() -> mtd_dev_get()
2023-11-10 21:36:19 +00:00
krzysztof-cabaj
744f3ecbbb tests/drivers/cc110x: add nucleo-f070rb to Makefile.ci 2023-11-10 21:39:31 +01:00
Benjamin Valentin
c2f93c05f1 treewide: mtd_default_get_dev() -> mtd_dev_get() 2023-11-10 19:53:48 +01:00
Benjamin Valentin
63cd55cc7b drivers/mtd_default: deprecate mtd_default_get_dev() 2023-11-10 19:53:48 +01:00
Benjamin Valentin
396d3bbe2b drivers/mtd: introduce mtd_dev_get() 2023-11-10 19:53:48 +01:00
Marian Buschsieweke
60921df406
Merge pull request #20077 from benpicco/cpu/sam0_common/adc_continuous-fix
cpu/sam0_common: adc_continuous: fix uninitialized access
2023-11-10 18:36:30 +00:00
Marian Buschsieweke
bf582b0d68
Merge pull request #19932 from maribu/peripheral-selftest
tests/periph: Add test using the Peripheral Selftest Shield
2023-11-10 18:12:42 +00:00
Benjamin Valentin
5abdc7eb5f cpu/sam0_common: adc_continuous: fix uninitialized access 2023-11-10 18:35:09 +01:00
krzysztof-cabaj
ca93d1793e boards/nucleo-f070rb: full SPI config in periph_conf.h 2023-11-10 16:31:23 +01:00
Marian Buschsieweke
fe6c94070b
boards/nucleo-wl55jc: Add missing ARDUINO_I2C_UNO
The feature `arduino_i2c` was already provided, but the define this
feature indicates to be present is missing.
2023-11-10 16:29:51 +01:00
Marian Buschsieweke
d7cf39551f
tests/periph/selftest_shield: add test application
This test application makes use of the RIOT Peripheral Selftest Shield,
which connects e.g. PWM to ADC or SPI MOSI to SPI MISO, UART TXD to RXD,
etc. This provides quick and fully automated self testing capabilities.

Please note that the simplicity and ease of use of the hardware comes
with a prices: There are whole classes of issues that cannot be detected
automatically. This test cannot replace other testing approaches
(such as manual testing or PHiLIP on the HiL), but only complement them.
2023-11-10 15:13:23 +01:00
Marian Buschsieweke
cee7cccfd0
cpu/avr8_common/flash_utils: use C and linker for aliases
`flash_<funcname>()` is implemented by `<funcname>_P()` provided by
the AVR libc on AVR targets. Previously, the preprocessor was used
to do the aliasing, but this causes issues with LLVM: The signatures of
e.g. `printf_P()` expects `const char *`, whereas flash utils expects
`FLASH_ATTR const char *`. For GCC this will just implicitly drop the
`FLASH_ATTR`, while it requires an explicit cast for LLVM.

To implement the explicit cast, `static inline` function wrappers
where used instead where possible. But for the variadic functions
(e.g. `printf(fmt, ...)`) the linker is used to provide the aliases,
as there is no way to pass the variadic functions throw in C. The
alternative would be to implement `flash_printf()` by calling
`vprintf_P()`, but that increased ROM size quite a bit.

Finally, a work around for a bug in Ubuntu's toolchain has been added:
An unused function that calls to `printf_P()`, `fprintf_P()` and
`snprintf_P()`. Since this function is garbage collected anyway, it
has no impact on the generated ELF file.
2023-11-10 14:54:22 +01:00
krzysztof-cabaj
d97ea9dbd3 boards/nucleo-f070rb: SPI config: Kconfig, Makefile.features, periph_conf.h 2023-11-10 14:05:14 +01:00
benpicco
d783aa8176
Merge pull request #20046 from benpicco/6lo_multicast_ns
gnrc/ipv6/nib: don't do multicast address resolution on 6LoWPAN
2023-11-10 12:23:21 +00:00
benpicco
04617ee0a9
Merge pull request #20045 from benpicco/periph_adc_continous
periph/adc: introduce periph_adc_continuous
2023-11-10 12:13:54 +00:00
Benjamin Valentin
75f10a5725 gnrc/ipv6/nib: don't do multicast neighbor solicitation on 6LoWPAN 2023-11-10 12:11:49 +01:00
Benjamin Valentin
d3dfd4baf0 periph/adc_continous: add test for ADC continous API 2023-11-10 12:10:49 +01:00
Benjamin Valentin
b289d69b4f cpu/sam0_common: implement periph_adc_continous 2023-11-10 12:10:49 +01:00
Benjamin Valentin
2421919295 periph/adc: introduce periph_adc_continous 2023-11-10 12:10:49 +01:00
Marian Buschsieweke
d6797867fb
sys/flash_utils: Fix signature in documentation
The function signature in the Doxygen generated doc was incorrect.
Given that the implementation does have the correct signature, the
impact may not be that large. Still, incorrect doc is confusing, so
let's fix it.
2023-11-10 11:17:51 +01:00
Marian Buschsieweke
8f31e24919
Merge pull request #20070 from maribu/drivers/pcf857x
drivers/pcf857x: minor cleanup
2023-11-10 09:16:30 +00:00
Marian Buschsieweke
4b88a420ad
drivers/pcf857x: minor cleanup
- make sure format specifiers match variable arguments in debug
  statements
- drop unused headers
2023-11-10 09:57:58 +01:00
ed52c410a3
Merge pull request #20053 from benpicco/lwext4_fixes
pkg/lwext4: small fixes
2023-11-09 19:28:25 +00:00
a2ee19f2fd
Merge pull request #20050 from MrKevinWeiss/pr/uf2ignore
dist/tools/uf2: Ignore the .json file
2023-11-09 19:28:08 +00:00
MrKevinWeiss
85cebf332d
dist/tools/uf2: Ignore the .json file 2023-11-09 20:22:52 +01:00
Benjamin Valentin
e2cee4255d pkg/lwext4: don't consider fs mounted if recover fails 2023-11-09 20:15:53 +01:00
Benjamin Valentin
f731ec7bff sys/malloc_tracing: fix calloc printouts 2023-11-09 20:15:53 +01:00
Benjamin Valentin
616932f24b pkg/lwext4: don't include debug strings by default 2023-11-09 20:15:53 +01:00
Benjamin Valentin
3889592db5 drivers/mtd_sdmmc: support mounting ext2/3/4 filesystems 2023-11-09 20:15:52 +01:00
fce429d19f
Merge pull request #20072 from gschorcht/boards/esp32/fix_doc
boards/common/esp32x: fix doxygen group
2023-11-09 18:54:17 +00:00
Gunar Schorcht
03e2537be5 boards/common/esp32x: fix doxygen group 2023-11-09 16:46:09 +01:00
7c57db8b6a
Merge pull request #20063 from RIOT-OS/merge_groups_migration
ci: migrate to github merge queues
2023-11-09 13:07:08 +00:00
282c77c84c .murdock: clarify is_merge_queue_build() help text 2023-11-09 13:54:10 +01:00
a6c2bb8ecf .murdock: drop bors CI_BASE_BRANCH logic 2023-11-09 13:54:10 +01:00
f849816686 ci: workflows: static-test: fix CI_BASE_BRANCH for merge_groups 2023-11-09 13:54:10 +01:00
MrKevinWeiss
d41e368bf7 .github/workflows/*: Allow merge_groups and prs to be required 2023-11-09 13:54:10 +01:00
MrKevinWeiss
1e7f488448 .murdock: adapt bors to merge queue 2023-11-09 13:54:10 +01:00
Kevin "Tristate Tom" Weiss
9ba6eb2aee
Merge pull request #20052 from kaspar030/murdock_merge_trains
ci: build github merge train branches with murdock
2023-11-07 21:41:54 +01:00