first commit
This commit is contained in:
6
boards/arm/e73_tmb/Kconfig.board
Normal file
6
boards/arm/e73_tmb/Kconfig.board
Normal file
@@ -0,0 +1,6 @@
|
||||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_E73_TMB
|
||||
bool "e73-tmb"
|
||||
depends on SOC_NRF52810_QFAA
|
||||
13
boards/arm/e73_tmb/Kconfig.defconfig
Normal file
13
boards/arm/e73_tmb/Kconfig.defconfig
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_E73_TMB
|
||||
|
||||
config BOARD
|
||||
default "e73_tmb"
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
|
||||
endif
|
||||
9
boards/arm/e73_tmb/board.cmake
Normal file
9
boards/arm/e73_tmb/board.cmake
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
board_runner_args(jlink "--device=nrf52810_xxaa" "--speed=4000")
|
||||
board_runner_args(pyocd "--target=nrf52810" "--frequency=4000000")
|
||||
|
||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
||||
88
boards/arm/e73_tmb/e73_tmb.dts
Normal file
88
boards/arm/e73_tmb/e73_tmb.dts
Normal file
@@ -0,0 +1,88 @@
|
||||
// Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/dts-v1/;
|
||||
#include <nordic/nrf52810_qfaa.dtsi>
|
||||
|
||||
/ {
|
||||
model = "e73-tmb";
|
||||
compatible = "mi,e73-tmb";
|
||||
|
||||
chosen {
|
||||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,uart-mcumgr = &uart0;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,code-partition = &slot0_partition;
|
||||
};
|
||||
aliases {
|
||||
led0 = &myled0;
|
||||
led1 = &myled1;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
myled0: led_0 {
|
||||
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
myled1: led_1 {
|
||||
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
|
||||
label = "LED";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpiote {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
boot_partition: partition@0 {
|
||||
label = "mcuboot";
|
||||
reg = <0x0 0xc000>;
|
||||
};
|
||||
slot0_partition: partition@c000 {
|
||||
label = "image-0";
|
||||
reg = <0xc000 0xa000>;
|
||||
};
|
||||
slot1_partition: partition@16000 {
|
||||
label = "image-1";
|
||||
reg = <0x16000 0xa000>;
|
||||
};
|
||||
scratch_partition: partition@20000 {
|
||||
label = "image-scratch";
|
||||
reg = <0x20000 0xa000>;
|
||||
};
|
||||
storage_partition: partition@2a000 {
|
||||
label = "storage";
|
||||
reg = <0x2a000 0x6000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
compatible="nordic,nrf-uart";
|
||||
pinctrl-0 = <&uart0_default>;
|
||||
pinctrl-names = "default";
|
||||
current-speed = <115200>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
uart0_default: uart0_default {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(UART_TX, 0, 6)>, <NRF_PSEL(UART_RX, 0, 8)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
16
boards/arm/e73_tmb/e73_tmb_defconfig
Normal file
16
boards/arm/e73_tmb/e73_tmb_defconfig
Normal file
@@ -0,0 +1,16 @@
|
||||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_NRF52X=y
|
||||
CONFIG_SOC_NRF52810_QFAA=y
|
||||
CONFIG_BOARD_E73_TMB=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
# Enable hardware stack protection
|
||||
CONFIG_HW_STACK_PROTECTION=y
|
||||
|
||||
# Enable debug
|
||||
CONFIG_CORTEX_M_DEBUG_MONITOR_HOOK=y
|
||||
CONFIG_SEGGER_DEBUGMON=y
|
||||
@@ -1,7 +0,0 @@
|
||||
&timer0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&timer1 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -1,7 +0,0 @@
|
||||
&timer0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&timer1 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -1,7 +0,0 @@
|
||||
&timer0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&timer1 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -1,7 +0,0 @@
|
||||
&timer0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&timer1 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -1,11 +0,0 @@
|
||||
&dppic {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&timer0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpiote {
|
||||
status = "okay";
|
||||
};
|
||||
Reference in New Issue
Block a user