Browse Source
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>pull/69687/head
16 changed files with 64 additions and 66 deletions
@ -1,8 +0,0 @@
@@ -1,8 +0,0 @@
|
||||
# TDK RoboKit 1 Board Options |
||||
|
||||
# Copyright (c) 2022 Intel Corporation |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_TDK_ROBOKIT1 |
||||
bool "TDK RoboKit1 Board" |
||||
depends on SOC_PART_NUMBER_SAME70Q21 || SOC_PART_NUMBER_SAME70Q21B |
@ -1,11 +0,0 @@
@@ -1,11 +0,0 @@
|
||||
# TDK RoboKit1 Configuration |
||||
|
||||
# Copyright (c) 2022 Intel Corporation |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
if BOARD_TDK_ROBOKIT1 |
||||
|
||||
config BOARD |
||||
default "tdk_robotkit1" |
||||
|
||||
endif # BOARD_TDK_ROBOKIT1 |
@ -1,16 +0,0 @@
@@ -1,16 +0,0 @@
|
||||
/* |
||||
* Copyright (c) 2022 Intel Corporation |
||||
* |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
/dts-v1/; |
||||
|
||||
#include <atmel/same70q21.dtsi> |
||||
|
||||
#include "tdk_robokit1-common.dtsi" |
||||
|
||||
/ { |
||||
model = "TDK RoboKit1"; |
||||
compatible = "tdk,robokit1", "atmel,same70q21", "atmel,same70"; |
||||
}; |
@ -1,17 +0,0 @@
@@ -1,17 +0,0 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
CONFIG_SOC_SERIES_SAME70=y |
||||
CONFIG_SOC_PART_NUMBER_SAME70Q21B=y |
||||
CONFIG_SOC_ATMEL_SAME70_EXT_MAINCK=y |
||||
CONFIG_SOC_ATMEL_SAME70_PLLA_MULA=24 |
||||
CONFIG_SOC_ATMEL_SAME70_PLLA_DIVA=1 |
||||
CONFIG_ARM_MPU=y |
||||
CONFIG_CONSOLE=y |
||||
CONFIG_UART_CONSOLE=y |
||||
CONFIG_SERIAL=y |
||||
CONFIG_BOARD_TDK_ROBOKIT1=y |
||||
CONFIG_WDT_DISABLE_AT_BOOT=y |
||||
CONFIG_BUILD_OUTPUT_HEX=y |
||||
|
||||
# Enable HW stack protection |
||||
CONFIG_HW_STACK_PROTECTION=y |
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
.. _boards-tdk: |
||||
|
||||
TDK |
||||
### |
||||
|
||||
.. toctree:: |
||||
:maxdepth: 1 |
||||
:glob: |
||||
|
||||
**/* |
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
# Copyright (c) 2022 Intel Corporation |
||||
# Copyright (c) 2024 Gerson Fernando Budke |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_ROBOKIT1 |
||||
select SOC_SAME70Q21B |
@ -1,6 +1,7 @@
@@ -1,6 +1,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
board_runner_args(jlink "--device=ATSAME70Q21") |
||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||
|
||||
board_runner_args(openocd --cmd-post-verify "atsamv gpnvm set 1") |
||||
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) |
||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
board: |
||||
name: robokit1 |
||||
vendor: tdk |
||||
socs: |
||||
- name: same70q21b |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
/* |
||||
* Copyright (c) 2022 Intel Corporation |
||||
* Copyright (c) 2024 Gerson Fernando Budke |
||||
* |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
/dts-v1/; |
||||
|
||||
#include <atmel/same70q21b.dtsi> |
||||
|
||||
#include "robokit1-common.dtsi" |
||||
|
||||
/ { |
||||
model = "TDK RoboKit1"; |
||||
compatible = "tdk,robokit1", "atmel,same70q21b", "atmel,same70"; |
||||
}; |
@ -1,21 +1,21 @@
@@ -1,21 +1,21 @@
|
||||
identifier: tdk_robokit1 |
||||
identifier: robokit1 |
||||
name: TDK RoboKit1 |
||||
type: mcu |
||||
arch: arm |
||||
ram: 384 |
||||
flash: 2048 |
||||
ram: 384 |
||||
toolchain: |
||||
- zephyr |
||||
- gnuarmemb |
||||
- xtools |
||||
supported: |
||||
- can |
||||
- dma |
||||
- i2c |
||||
- hwinfo |
||||
- gpio |
||||
- i2c |
||||
- pwm |
||||
- spi |
||||
- watchdog |
||||
- usb_device |
||||
- pwm |
||||
- can |
||||
- hwinfo |
||||
- watchdog |
||||
vendor: tdk |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
CONFIG_BUILD_OUTPUT_HEX=y |
||||
|
||||
CONFIG_ARM_MPU=y |
||||
CONFIG_HW_STACK_PROTECTION=y |
||||
CONFIG_WDT_DISABLE_AT_BOOT=y |
||||
|
||||
CONFIG_CONSOLE=y |
||||
CONFIG_UART_CONSOLE=y |
||||
CONFIG_SERIAL=y |
Loading…
Reference in new issue