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:
parent
7bb78fb6df
commit
2082a4d189
21
ports/zephyr/boards/mimxrt1020_evk.conf
Normal file
21
ports/zephyr/boards/mimxrt1020_evk.conf
Normal 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
|
||||
9
ports/zephyr/boards/mimxrt1020_evk.overlay
Normal file
9
ports/zephyr/boards/mimxrt1020_evk.overlay
Normal file
@ -0,0 +1,9 @@
|
||||
/ {
|
||||
aliases {
|
||||
watchdog0 = &wdog0;
|
||||
};
|
||||
};
|
||||
|
||||
&wdog0 {
|
||||
status = "okay";
|
||||
};
|
||||
6
ports/zephyr/boards/mimxrt1020_evk/manifest.py
Normal file
6
ports/zephyr/boards/mimxrt1020_evk/manifest.py
Normal file
@ -0,0 +1,6 @@
|
||||
include("$(MPY_DIR)/extmod/asyncio")
|
||||
|
||||
freeze("$(PORT_DIR)/modules")
|
||||
|
||||
require("upysh")
|
||||
require("aiorepl")
|
||||
3
ports/zephyr/boards/mimxrt1020_evk/mpconfigport.h
Normal file
3
ports/zephyr/boards/mimxrt1020_evk/mpconfigport.h
Normal file
@ -0,0 +1,3 @@
|
||||
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
|
||||
|
||||
#include "../mpconfigport.h"
|
||||
Loading…
Reference in New Issue
Block a user