Browse Source
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>pull/69687/head
14 changed files with 30 additions and 40 deletions
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
# Copyright (c) 2019 Benjamin Valentin |
||||
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com> |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_SAMR21_XPRO |
||||
select SOC_SAMR21G18A |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
board: |
||||
name: samr21_xpro |
||||
vendor: atmel |
||||
socs: |
||||
- name: samr21g18a |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@ -1,16 +1,16 @@
@@ -1,16 +1,16 @@
|
||||
# Copyright (c) 2019-2020 Gerson Fernando Budke |
||||
# Copyright (c) 2019 Benjamin Valentin |
||||
# Copyright (c) 2019-2024 Gerson Fernando Budke |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
identifier: atsamr21_xpro |
||||
identifier: samr21_xpro |
||||
name: SAM R21 Xplained Pro |
||||
type: mcu |
||||
arch: arm |
||||
ram: 32 |
||||
flash: 256 |
||||
toolchain: |
||||
- zephyr |
||||
- gnuarmemb |
||||
- xtools |
||||
flash: 256 |
||||
ram: 32 |
||||
supported: |
||||
- adc |
||||
- flash |
@ -1,16 +1,13 @@
@@ -1,16 +1,13 @@
|
||||
# Copyright (c) 2019 Benjamin Valentin |
||||
# Copyright (c) 2019 Gerson Fernando Budke |
||||
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com> |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
CONFIG_SOC_SERIES_SAMR21=y |
||||
CONFIG_SOC_PART_NUMBER_SAMR21G18A=y |
||||
CONFIG_SOC_ATMEL_SAMD_XOSC32K=y |
||||
CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y |
||||
CONFIG_BOARD_ATSAMR21_XPRO=y |
||||
|
||||
CONFIG_BUILD_OUTPUT_HEX=y |
||||
|
||||
CONFIG_CONSOLE=y |
||||
CONFIG_GPIO=y |
||||
CONFIG_SERIAL=y |
||||
CONFIG_UART_CONSOLE=y |
||||
CONFIG_UART_INTERRUPT_DRIVEN=y |
@ -1,8 +0,0 @@
@@ -1,8 +0,0 @@
|
||||
# SAM R21 Xplained Pro Board configuration |
||||
|
||||
# Copyright (c) 2019 Benjamin Valentin |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_ATSAMR21_XPRO |
||||
bool "SAM R21 Xplained Pro" |
||||
depends on SOC_PART_NUMBER_SAMR21G18A |
@ -1,11 +0,0 @@
@@ -1,11 +0,0 @@
|
||||
# SAM R21 Xplained Pro board configuration |
||||
|
||||
# Copyright (c) 2019 Benjamin Valentin |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
if BOARD_ATSAMR21_XPRO |
||||
|
||||
config BOARD |
||||
default "atsamr21_xpro" |
||||
|
||||
endif # BOARD_ATSAMR21_XPRO |
Loading…
Reference in new issue