boards: board dts and defconfig file adjustments
Adjustments of dts and defconfig files to adjust for the MERGE removal. The revert of MERGE requires specific dts and defconfig files for boards which relied on the MERGE feature. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
4e3a01df41
commit
abca917055
19 changed files with 111 additions and 32 deletions
|
@ -4,8 +4,18 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
CONFIG_RUNTIME_NMI=y
|
||||
CONFIG_ARM_TRUSTZONE_M=y
|
||||
CONFIG_ARM_MPU=y
|
||||
CONFIG_QEMU_ICOUNT_SHIFT=6
|
||||
|
||||
# GPIOs
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# Serial
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
|
||||
# Build a non-secure firmware image
|
||||
CONFIG_TRUSTED_EXECUTION_SECURE=n
|
||||
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
|
||||
|
|
|
@ -17,7 +17,6 @@ CONFIG_2ND_LEVEL_INTERRUPTS=y
|
|||
CONFIG_BUILD_OUTPUT_BIN=n
|
||||
|
||||
CONFIG_MP_MAX_NUM_CPUS=2
|
||||
CONFIG_CORE_COUNT=2
|
||||
|
||||
CONFIG_DCACHE_LINE_SIZE=64
|
||||
|
||||
|
|
7
boards/native/native_posix/native_posix_64.dts
Normal file
7
boards/native/native_posix/native_posix_64.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2023 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "../native_sim/native_sim.dts"
|
4
boards/native/native_posix/native_posix_64_defconfig
Normal file
4
boards/native/native_posix/native_posix_64_defconfig
Normal file
|
@ -0,0 +1,4 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000
|
7
boards/native/native_sim/native_sim_64.dts
Normal file
7
boards/native/native_sim/native_sim_64.dts
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2023 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "native_sim.dts"
|
4
boards/native/native_sim/native_sim_64_defconfig
Normal file
4
boards/native/native_sim/native_sim_64_defconfig
Normal file
|
@ -0,0 +1,4 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "nrf54h20dk_nrf54h20_cpuppr.dts"
|
|
@ -1,12 +0,0 @@
|
|||
#
|
||||
# Copyright 2024 NXP
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# Common Kconfigs for all board targets
|
||||
#
|
||||
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_PINCTRL=y
|
||||
|
||||
CONFIG_RUNTIME_NMI=y
|
|
@ -0,0 +1,10 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright 2018 Foundries.io Ltd
|
||||
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
CONFIG_MULTI_LEVEL_INTERRUPTS=y
|
17
boards/qemu/riscv32/qemu_riscv32_qemu_virt_riscv32_smp.dts
Normal file
17
boards/qemu/riscv32/qemu_riscv32_qemu_virt_riscv32_smp.dts
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <virt.dtsi>
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,sram = &ram0;
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
};
|
18
boards/qemu/riscv64/qemu_riscv64_qemu_virt_riscv64_smp.dts
Normal file
18
boards/qemu/riscv64/qemu_riscv64_qemu_virt_riscv64_smp.dts
Normal file
|
@ -0,0 +1,18 @@
|
|||
/* Copyright (c) 2019 BayLibre SAS */
|
||||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <virt.dtsi>
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,sram = &ram0;
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
};
|
|
@ -0,0 +1,15 @@
|
|||
# Sipeed longan nano Development Board Configuration
|
||||
#
|
||||
# Copyright (c) 2021 Tokita, Hiroshi <tokita.hiroshi@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_GD32_HXTAL_8MHZ=y
|
||||
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
|
||||
CONFIG_GPIO=y
|
|
@ -1,14 +0,0 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (c) 2017 Synopsys
|
||||
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
|
||||
CONFIG_XIP=n
|
||||
CONFIG_BUILD_NO_GAP_FILL=y
|
||||
CONFIG_BUILD_OUTPUT_BIN=n
|
||||
CONFIG_ARCV2_INTERRUPT_UNIT=y
|
||||
CONFIG_ARCV2_TIMER=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
CONFIG_GPIO=y
|
|
@ -1,14 +1,10 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
|
||||
CONFIG_XIP=n
|
||||
CONFIG_BUILD_NO_GAP_FILL=y
|
||||
CONFIG_BUILD_OUTPUT_BIN=n
|
||||
CONFIG_ARCV2_INTERRUPT_UNIT=y
|
||||
CONFIG_ARCV2_TIMER=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
CONFIG_ARC_MPU_ENABLE=y
|
||||
CONFIG_GPIO=y
|
11
samples/modules/lvgl/demos/boards/native_posix_64.overlay
Normal file
11
samples/modules/lvgl/demos/boards/native_posix_64.overlay
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Fabian Blatz <fabianblatz@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&sdl_dc {
|
||||
compatible = "zephyr,sdl-dc";
|
||||
height = <272>;
|
||||
width = <480>;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue