mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +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:
commit
c7f750a880
@ -78,8 +78,8 @@ static const uart_conf_t uart_config[] = {
|
||||
{ /* STMod+/PMOD connectors */
|
||||
.dev = USART1,
|
||||
.rcc_mask = RCC_APB2ENR_USART1EN,
|
||||
.rx_pin = GPIO_PIN(PORT_B, 6),
|
||||
.tx_pin = GPIO_PIN(PORT_G, 10),
|
||||
.rx_pin = GPIO_PIN(PORT_G, 10),
|
||||
.tx_pin = GPIO_PIN(PORT_B, 6),
|
||||
.rx_af = GPIO_AF7,
|
||||
.tx_af = GPIO_AF7,
|
||||
.bus = APB2,
|
||||
|
@ -18,6 +18,7 @@ APPLICATION_DIRS := \
|
||||
tests/drivers \
|
||||
tests/periph \
|
||||
tests/pkg \
|
||||
tests/sys \
|
||||
#
|
||||
|
||||
APPLICATION_DIRS := $(addprefix $(RIOTBASE)/,$(APPLICATION_DIRS))
|
||||
|
2
tests/core/Makefile.sys_common
Normal file
2
tests/core/Makefile.sys_common
Normal file
@ -0,0 +1,2 @@
|
||||
RIOTBASE ?= $(CURDIR)/../../..
|
||||
include $(CURDIR)/../../Makefile.tests_common
|
@ -1 +1 @@
|
||||
../../usbus_cdc_acm_stdio/main.c
|
||||
../../sys/usbus_cdc_acm_stdio/main.c
|
@ -1 +1 @@
|
||||
../shell/main.c
|
||||
../sys/shell/main.c
|
2
tests/sys/Makefile.sys_common
Normal file
2
tests/sys/Makefile.sys_common
Normal file
@ -0,0 +1,2 @@
|
||||
RIOTBASE ?= $(CURDIR)/../../..
|
||||
include $(CURDIR)/../../Makefile.tests_common
|
@ -1,5 +1,5 @@
|
||||
BOARD ?= samr21-xpro
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1,6 +1,6 @@
|
||||
BOARD ?= arduino-zero
|
||||
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += arduino
|
||||
|
@ -1,6 +1,6 @@
|
||||
BOARD ?= arduino-zero
|
||||
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
LED_PIN ?= 3
|
||||
|
@ -1,6 +1,6 @@
|
||||
BOARD ?= arduino-zero
|
||||
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEPKG += talking_leds
|
||||
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += atomic_utils
|
||||
USEMODULE += fmt
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += embunit
|
||||
USEMODULE += atomic_utils
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += hashes
|
||||
USEMODULE += bloom
|
@ -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
|
||||
DISABLE_MODULE := core_msg
|
@ -1,5 +1,5 @@
|
||||
export APPLICATION = can_trx
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += shell_cmds_default
|
||||
USEMODULE += ps
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += shell
|
||||
USEMODULE += can
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += cb_mux
|
||||
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += cb_mux \
|
||||
xtimer
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += congure_abe
|
||||
USEMODULE += congure_test
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += congure_quic
|
||||
USEMODULE += congure_test
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += congure_reno
|
||||
USEMODULE += congure_test
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += congure_mock
|
||||
USEMODULE += congure_test
|
@ -1,6 +1,6 @@
|
||||
BOARD ?= nucleo-f767zi
|
||||
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += shell_cmds_default
|
||||
USEMODULE += ps
|
@ -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
|
||||
# size for every thread
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.sys_common
|
||||
|
||||
USEMODULE += cpp11-compat
|
||||
USEMODULE += libc_gettimeofday
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user