zephyr/boards: Add NXP MIMXRT1020 EVK board.

This board has plenty of RAM, flash, and peripherals, including Ethernet.
It also has a microSD slot, which also works.

Access to the REPL is via UART1, which is available via the DAPLink
connector J23.

Signed-off-by: Ned Konz <ned@metamagix.tech>
This commit is contained in:
Ned Konz 2025-10-05 10:45:41 -07:00 committed by Damien George
parent 7bb78fb6df
commit 2082a4d189
4 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,21 @@
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="Zephyr MicroPython"
CONFIG_USB_MASS_STORAGE=y
CONFIG_MASS_STORAGE_DISK_NAME="SDMMC"
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_MICROPY_FROZEN_MODULES=y
CONFIG_MICROPY_FROZEN_MANIFEST="boards/mimxrt1020_evk/manifest.py"
CONFIG_MICROPY_CONFIGFILE="boards/mimxrt1020_evk/mpconfigport.h"
# CONFIG_DYNAMIC_THREAD=y
CONFIG_THREAD_CUSTOM_DATA=y
CONFIG_THREAD_MONITOR=y
CONFIG_THREAD_STACK_INFO=y
CONFIG_LOG=n
CONFIG_FP16=n
CONFIG_BOOT_BANNER=n

View File

@ -0,0 +1,9 @@
/ {
aliases {
watchdog0 = &wdog0;
};
};
&wdog0 {
status = "okay";
};

View File

@ -0,0 +1,6 @@
include("$(MPY_DIR)/extmod/asyncio")
freeze("$(PORT_DIR)/modules")
require("upysh")
require("aiorepl")

View File

@ -0,0 +1,3 @@
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
#include "../mpconfigport.h"