boards: ev11l78a: Convert to HWMv2

Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke
2024-02-11 17:14:47 +01:00
committed by Carles Cufi
parent 0b1db9c53d
commit af1096e7ca
14 changed files with 34 additions and 24 deletions

View File

@@ -1,8 +0,0 @@
# Microchip EV11L78A Board configuration
# Copyright (c) 2023 Meta Platforms, Inc. and its affiliates.
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "ev11l78a"
depends on BOARD_EV11L78A

View File

@@ -1,16 +1,7 @@
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_SAMD20=y
CONFIG_SOC_PART_NUMBER_SAMD20E16=y
CONFIG_SOC_ATMEL_SAMD_OSC8M=y
CONFIG_SOC_ATMEL_SAMD_OSC8M_AS_MAIN=y
CONFIG_BOARD_EV11L78A=y
CONFIG_BUILD_OUTPUT_HEX=y
CONFIG_CONSOLE=y
CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
if USBC_STACK
# Kernel Options due to Low Memory (4k)
CONFIG_LOG_BUFFER_SIZE=256
@@ -24,3 +15,5 @@ CONFIG_SRAM_VECTOR_TABLE=n
# This board only supports the sink role, so
# no need to ever implement source for it.
CONFIG_USBC_CSM_SINK_ONLY=y
endif # USBC_STACK

View File

@@ -1,8 +1,6 @@
# Microchip EV11L78A Board configuration
# Copyright (c) 2023 Meta Platforms, Inc. and its affiliates.
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_EV11L78A
bool "Microchip EV11L78A"
depends on SOC_PART_NUMBER_SAMD20E16
select SOC_SAMD20E16

View File

@@ -0,0 +1,5 @@
board:
name: ev11l78a
vendor: microchip
socs:
- name: samd20e16

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -73,7 +73,7 @@ Other hardware features are not currently supported by Zephyr.
Refer to the `EV11L78A Schematics`_ for a detailed hardware diagram.
The default configuration can be found in the Kconfig
:zephyr_file:`boards/arm/ev11l78a/ev11l78a_defconfig`.
:zephyr_file:`boards/microchip/ev11l78a/ev11l78a_defconfig`.
Serial Port
===========

View File

@@ -0,0 +1,12 @@
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_ATMEL_SAMD_OSC8M=y
CONFIG_SOC_ATMEL_SAMD_OSC8M_AS_MAIN=y
CONFIG_BUILD_OUTPUT_HEX=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y

View File

@@ -0,0 +1,10 @@
.. _boards-microchip-technology-inc:
Microchip Technology Inc.
#########################
.. toctree::
:maxdepth: 1
:glob:
**/*