Skip to content

Commit

Permalink
tests: atmel_sam0: Update platform name
Browse files Browse the repository at this point in the history
This update all atmel_sam0 related entries to use the new
platform name.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
  • Loading branch information
nandojve committed Feb 19, 2024
1 parent 5d2818a commit ae12fc2
Show file tree
Hide file tree
Showing 35 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion tests/drivers/build_all/adc/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tests:
drivers.adc.nrf.saadc.build:
platform_allow: nrf21540dk/nrf52840
drivers.adc.sam0.build:
platform_allow: atsame54_xpro
platform_allow: same54_xpro
drivers.adc.sam.afec.build:
platform_allow: sam_e70_xplained/same70q21
drivers.adc.stm32.build:
Expand Down
2 changes: 1 addition & 1 deletion tests/drivers/build_all/dac/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ tests:
drivers.dac.mcux32.build:
platform_allow: twr_ke18f
drivers.dac.sam0.build:
platform_allow: atsamd21_xpro
platform_allow: samd21_xpro
drivers.dac.stm32.build:
platform_allow: nucleo_f091rc
2 changes: 1 addition & 1 deletion tests/drivers/build_all/pwm/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tests:
platform_allow: nrf52840dk/nrf52840
extra_args: SHIELD=adafruit_pca9685
drivers.pwm.sam0.tcc.build:
platform_allow: atsame54_xpro
platform_allow: same54_xpro
drivers.pwm.build.sam:
platform_allow:
- sam_e70_xplained/same70q21
Expand Down
6 changes: 3 additions & 3 deletions tests/drivers/flash/common/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ tests:
fixture: external_flash_mx25v1635f
drivers.flash.common.sam0:
platform_allow:
- atsamd20_xpro
- atsamr21_xpro
- atsame54_xpro
- samd20_xpro
- samr21_xpro
- same54_xpro
drivers.flash.common.gd32:
platform_allow:
- gd32vf103v_eval
Expand Down
12 changes: 6 additions & 6 deletions tests/drivers/uart/uart_async_api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ tests:
drivers.uart.async_api.sam0:
filter: CONFIG_SERIAL_SUPPORT_ASYNC and CONFIG_SOC_FAMILY_SAM0
platform_allow:
- atsamc21n_xpro
- atsamd21_xpro
- atsaml21_xpro
- atsamr21_xpro
- atsamr34_xpro
- atsame54_xpro
- samc21n_xpro
- samd21_xpro
- saml21_xpro
- samr21_xpro
- samr34_xpro
- same54_xpro
extra_configs:
- CONFIG_UART_SAM0_ASYNC=y
- CONFIG_DMA=y
Expand Down
6 changes: 3 additions & 3 deletions tests/drivers/uart/uart_mix_fifo_poll/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@

#if DT_NODE_EXISTS(DT_NODELABEL(dut))
#define UART_NODE DT_NODELABEL(dut)
#elif defined(CONFIG_BOARD_ATSAMD21_XPRO)
#elif defined(CONFIG_BOARD_SAMD21_XPRO)
#define UART_NODE DT_NODELABEL(sercom1)
#elif defined(CONFIG_BOARD_ATSAMR21_XPRO)
#elif defined(CONFIG_BOARD_SAMR21_XPRO)
#define UART_NODE DT_NODELABEL(sercom3)
#elif defined(CONFIG_BOARD_ATSAME54_XPRO)
#elif defined(CONFIG_BOARD_SAME54_XPRO)
#define UART_NODE DT_NODELABEL(sercom1)
#else
#define UART_NODE DT_CHOSEN(zephyr_console)
Expand Down

0 comments on commit ae12fc2

Please sign in to comment.