boards: ev11l78a: Convert to HWMv2
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
committed by
Carles Cufi
parent
0b1db9c53d
commit
af1096e7ca
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
5
boards/microchip/ev11l78a/board.yml
Normal file
5
boards/microchip/ev11l78a/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: ev11l78a
|
||||
vendor: microchip
|
||||
socs:
|
||||
- name: samd20e16
|
||||
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
@@ -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
|
||||
===========
|
||||
12
boards/microchip/ev11l78a/ev11l78a_defconfig
Normal file
12
boards/microchip/ev11l78a/ev11l78a_defconfig
Normal 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
|
||||
10
boards/microchip/index.rst
Normal file
10
boards/microchip/index.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
.. _boards-microchip-technology-inc:
|
||||
|
||||
Microchip Technology Inc.
|
||||
#########################
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
**/*
|
||||
Reference in New Issue
Block a user