Skip to content

Commit 2082a4d

Browse files
bikeNomaddpgeorge
authored andcommitted
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 <[email protected]>
1 parent 7bb78fb commit 2082a4d

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
CONFIG_USB_DEVICE_STACK=y
2+
CONFIG_USB_DEVICE_PRODUCT="Zephyr MicroPython"
3+
CONFIG_USB_MASS_STORAGE=y
4+
CONFIG_MASS_STORAGE_DISK_NAME="SDMMC"
5+
6+
CONFIG_FLASH=y
7+
CONFIG_FLASH_MAP=y
8+
CONFIG_FLASH_PAGE_LAYOUT=y
9+
10+
CONFIG_MICROPY_FROZEN_MODULES=y
11+
CONFIG_MICROPY_FROZEN_MANIFEST="boards/mimxrt1020_evk/manifest.py"
12+
CONFIG_MICROPY_CONFIGFILE="boards/mimxrt1020_evk/mpconfigport.h"
13+
14+
# CONFIG_DYNAMIC_THREAD=y
15+
CONFIG_THREAD_CUSTOM_DATA=y
16+
CONFIG_THREAD_MONITOR=y
17+
CONFIG_THREAD_STACK_INFO=y
18+
19+
CONFIG_LOG=n
20+
CONFIG_FP16=n
21+
CONFIG_BOOT_BANNER=n
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/ {
2+
aliases {
3+
watchdog0 = &wdog0;
4+
};
5+
};
6+
7+
&wdog0 {
8+
status = "okay";
9+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include("$(MPY_DIR)/extmod/asyncio")
2+
3+
freeze("$(PORT_DIR)/modules")
4+
5+
require("upysh")
6+
require("aiorepl")
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
2+
3+
#include "../mpconfigport.h"

0 commit comments

Comments
 (0)