1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 18:13:49 +01:00
19566: tests: move sys related applications to their own tests/sys/ folder r=aabadie a=aabadie



19570: boards/p-l496g-cell02: fix UART_DEV(2) configuration r=aabadie a=gschorcht

### Contribution description

This PR fixes the configuration of `UART_DEV(2)`. RX and TX pin were reversed in configuration. The TX pin is connected to PB6 instead of PG10 and the RX pin is connected to PG10 instead of PB6, see [schematic](https://www.st.com/content/ccc/resource/technical/layouts_and_diagrams/schematic_pack/group2/f5/28/1b/e1/55/12/4d/3c/mb1261-cell02-b06-schematic/files/mb1261-cell02-b06-schematic.pdf/jcr:content/translations/en.mb1261-cell02-b06-schematic.pdf), page 14.

### Testing procedure

The UART interface at STMOD+ or PMOD connector should work.

### Issues/PRs references

Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
This commit is contained in:
bors[bot] 2023-05-10 13:02:19 +00:00 committed by GitHub
commit c7f750a880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
566 changed files with 142 additions and 139 deletions

View File

@ -78,8 +78,8 @@ static const uart_conf_t uart_config[] = {
{ /* STMod+/PMOD connectors */ { /* STMod+/PMOD connectors */
.dev = USART1, .dev = USART1,
.rcc_mask = RCC_APB2ENR_USART1EN, .rcc_mask = RCC_APB2ENR_USART1EN,
.rx_pin = GPIO_PIN(PORT_B, 6), .rx_pin = GPIO_PIN(PORT_G, 10),
.tx_pin = GPIO_PIN(PORT_G, 10), .tx_pin = GPIO_PIN(PORT_B, 6),
.rx_af = GPIO_AF7, .rx_af = GPIO_AF7,
.tx_af = GPIO_AF7, .tx_af = GPIO_AF7,
.bus = APB2, .bus = APB2,

View File

@ -18,6 +18,7 @@ APPLICATION_DIRS := \
tests/drivers \ tests/drivers \
tests/periph \ tests/periph \
tests/pkg \ tests/pkg \
tests/sys \
# #
APPLICATION_DIRS := $(addprefix $(RIOTBASE)/,$(APPLICATION_DIRS)) APPLICATION_DIRS := $(addprefix $(RIOTBASE)/,$(APPLICATION_DIRS))

View File

@ -0,0 +1,2 @@
RIOTBASE ?= $(CURDIR)/../../..
include $(CURDIR)/../../Makefile.tests_common

View File

@ -1 +1 @@
../../usbus_cdc_acm_stdio/main.c ../../sys/usbus_cdc_acm_stdio/main.c

View File

@ -1 +1 @@
../shell/main.c ../sys/shell/main.c

View File

@ -0,0 +1,2 @@
RIOTBASE ?= $(CURDIR)/../../..
include $(CURDIR)/../../Makefile.tests_common

View File

@ -1,5 +1,5 @@
BOARD ?= samr21-xpro BOARD ?= samr21-xpro
include ../Makefile.tests_common include ../Makefile.sys_common
include $(RIOTBASE)/Makefile.include include $(RIOTBASE)/Makefile.include

View File

@ -1,6 +1,6 @@
BOARD ?= arduino-zero BOARD ?= arduino-zero
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += arduino USEMODULE += arduino

View File

@ -1,6 +1,6 @@
BOARD ?= arduino-zero BOARD ?= arduino-zero
include ../Makefile.tests_common include ../Makefile.sys_common
LED_PIN ?= 3 LED_PIN ?= 3

View File

@ -1,6 +1,6 @@
BOARD ?= arduino-zero BOARD ?= arduino-zero
include ../Makefile.tests_common include ../Makefile.sys_common
USEPKG += talking_leds USEPKG += talking_leds

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += atomic_utils USEMODULE += atomic_utils
USEMODULE += fmt USEMODULE += fmt

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += embunit USEMODULE += embunit
USEMODULE += atomic_utils USEMODULE += atomic_utils

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += hashes USEMODULE += hashes
USEMODULE += bloom USEMODULE += bloom

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
# As it is a simple compilation test, only the basic modules are needed # As it is a simple compilation test, only the basic modules are needed
DISABLE_MODULE := core_msg DISABLE_MODULE := core_msg

View File

@ -1,5 +1,5 @@
export APPLICATION = can_trx export APPLICATION = can_trx
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += shell_cmds_default USEMODULE += shell_cmds_default
USEMODULE += ps USEMODULE += ps

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += shell USEMODULE += shell
USEMODULE += can USEMODULE += can

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += cb_mux USEMODULE += cb_mux

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += cb_mux \ USEMODULE += cb_mux \
xtimer xtimer

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += congure_abe USEMODULE += congure_abe
USEMODULE += congure_test USEMODULE += congure_test

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += congure_quic USEMODULE += congure_quic
USEMODULE += congure_test USEMODULE += congure_test

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += congure_reno USEMODULE += congure_reno
USEMODULE += congure_test USEMODULE += congure_test

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += congure_mock USEMODULE += congure_mock
USEMODULE += congure_test USEMODULE += congure_test

View File

@ -1,6 +1,6 @@
BOARD ?= nucleo-f767zi BOARD ?= nucleo-f767zi
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += shell_cmds_default USEMODULE += shell_cmds_default
USEMODULE += ps USEMODULE += ps

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
# nucleo-f303k8 doesn't have enough RAM to run the test so we reduce the stack # nucleo-f303k8 doesn't have enough RAM to run the test so we reduce the stack
# size for every thread # size for every thread

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common include ../Makefile.sys_common
USEMODULE += cpp11-compat USEMODULE += cpp11-compat
USEMODULE += libc_gettimeofday USEMODULE += libc_gettimeofday

Some files were not shown because too many files have changed in this diff Show More