1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/core
bors[bot] d362a8d697
Merge #19565 #19568 #19574
19565: tests: move core related applications to their own tests/core/ folder r=maribu a=aabadie



19568: tests: move remaining driver related applications to tests/drivers r=maribu a=aabadie



19574: cpu/stm32/periph_gpio: reset PU/PD for ADC channels r=maribu a=gschorcht

### Contribution description

This PR provides a small fix that is relevant when a GPIO has been used as input/output with a pull resistor before it is initialized as an ADC channel.

The PU/PD configuration has to be `0b00` for analog outputs which is corresponds to the reset state. However, if the GPIO is not in the reset state but was used digital input/output with any pull resistor, the PU/PD configuration has also to be reset to use it as ADC channel.

### Testing procedure

- Green CI
- The `periph_adc` test application should still work for any board that supports the `periph_adc` feature.

### Issues/PRs references



Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-05-11 10:11:37 +00:00
..
bitarithm_timings tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
cond_order tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
deferred_yield_higher tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
irq tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
irq_cpp tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
irq_disable_restore tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
isr_yield_higher tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
msg_avail tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
msg_queue_capacity tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
msg_queue_print tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
msg_send_receive tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
msg_try_receive tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
mutex_cancel tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
mutex_order tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
mutex_unlock_and_sleep tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
rmutex tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
rmutex_cpp tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
sched_change_priority tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
sched_testing tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_basic tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_cooperation tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_exit tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_flags tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_flags_xtimer tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_float tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_flood tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_msg tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_msg_block_race tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_msg_block_w_queue tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_msg_block_wo_queue tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_msg_bus tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_msg_seq tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_priority_inversion tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_race tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_stack_alignment tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
thread_zombie tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
Makefile.core_common tests: move core related applications to tests/core/ subdirectory 2023-05-10 15:41:38 +02:00
Makefile.sys_common tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00