Browse Source
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>pull/69687/head
14 changed files with 33 additions and 35 deletions
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
# Copyright (c) 2018 Bryan O'Donoghue |
||||
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com> |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_SAMD21_XPRO |
||||
select SOC_SAMD21J18A |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
board: |
||||
name: samd21_xpro |
||||
vendor: atmel |
||||
socs: |
||||
- name: samd21j18a |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
@ -1,6 +1,9 @@
@@ -1,6 +1,9 @@
|
||||
# Copyright (c) 2021 Linaro Limited |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
# SPI is implemented via sercom so node name isn't spi@... |
||||
list(APPEND EXTRA_DTC_FLAGS "-Wno-spi_bus_bridge") |
||||
|
||||
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps: |
||||
# - /soc/pinmux@41004400 & /soc/gpio@41004400 |
||||
# - /soc/pinmux@41004480 & /soc/gpio@41004480 |
@ -1,15 +1,16 @@
@@ -1,15 +1,16 @@
|
||||
# Copyright (c) 2018 Bryan O'Donoghue |
||||
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com> |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
identifier: atsamd21_xpro |
||||
identifier: samd21_xpro |
||||
name: SAM D21 Xplained Pro |
||||
type: mcu |
||||
arch: arm |
||||
ram: 32 |
||||
flash: 256 |
||||
toolchain: |
||||
- zephyr |
||||
- gnuarmemb |
||||
- xtools |
||||
flash: 256 |
||||
ram: 32 |
||||
supported: |
||||
- adc |
||||
- counter |
@ -1,15 +1,13 @@
@@ -1,15 +1,13 @@
|
||||
# Copyright (c) 2018 Bryan O'Donoghue |
||||
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com> |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
CONFIG_SOC_SERIES_SAMD21=y |
||||
CONFIG_SOC_PART_NUMBER_SAMD21J18A=y |
||||
CONFIG_SOC_ATMEL_SAMD_XOSC32K=y |
||||
CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y |
||||
CONFIG_BOARD_ATSAMD21_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 D21 Xplained Pro Board configuration |
||||
|
||||
# Copyright (c) 2018 Bryan O'Donoghue |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_ATSAMD21_XPRO |
||||
bool "SAM D21 Xplained Pro" |
||||
depends on SOC_PART_NUMBER_SAMD21J18A |
Loading…
Reference in new issue