diff --git a/bsp/imxrt1052-evk/.config b/bsp/imxrt1052-evk/.config
index bdf82c00c..a0e1bf8e6 100644
--- a/bsp/imxrt1052-evk/.config
+++ b/bsp/imxrt1052-evk/.config
@@ -8,12 +8,15 @@
#
CONFIG_RT_NAME_MAX=8
CONFIG_RT_ALIGN_SIZE=4
+# CONFIG_RT_THREAD_PRIORITY_8 is not set
+CONFIG_RT_THREAD_PRIORITY_32=y
+# CONFIG_RT_THREAD_PRIORITY_256 is not set
CONFIG_RT_THREAD_PRIORITY_MAX=32
CONFIG_RT_TICK_PER_SECOND=100
CONFIG_RT_DEBUG=y
CONFIG_RT_USING_OVERFLOW_CHECK=y
CONFIG_RT_DEBUG_INIT=0
-# CONFIG_RT_DEBUG_THREAD is not set
+CONFIG_RT_DEBUG_THREAD=0
CONFIG_RT_USING_HOOK=y
CONFIG_IDLE_THREAD_STACK_SIZE=256
# CONFIG_RT_USING_TIMER_SOFT is not set
@@ -32,15 +35,18 @@ CONFIG_RT_USING_MESSAGEQUEUE=y
# Memory Management
#
# CONFIG_RT_USING_MEMPOOL is not set
-# CONFIG_RT_USING_MEMHEAP is not set
-CONFIG_RT_USING_HEAP=y
-CONFIG_RT_USING_SMALL_MEM=y
+CONFIG_RT_USING_MEMHEAP=y
+# CONFIG_RT_USING_NOHEAP is not set
+# CONFIG_RT_USING_SMALL_MEM is not set
# CONFIG_RT_USING_SLAB is not set
+CONFIG_RT_USING_MEMHEAP_AS_HEAP=y
+CONFIG_RT_USING_HEAP=y
#
# Kernel Device Object
#
CONFIG_RT_USING_DEVICE=y
+# CONFIG_RT_USING_INTERRUPT_INFO is not set
CONFIG_RT_USING_CONSOLE=y
CONFIG_RT_CONSOLEBUF_SIZE=128
CONFIG_RT_CONSOLE_DEVICE_NAME="uart1"
@@ -78,8 +84,13 @@ CONFIG_FINSH_USING_MSH_DEFAULT=y
CONFIG_RT_USING_DFS=y
CONFIG_DFS_USING_WORKDIR=y
CONFIG_DFS_FILESYSTEMS_MAX=2
+CONFIG_DFS_FILESYSTEM_TYPES_MAX=2
CONFIG_DFS_FD_MAX=4
CONFIG_RT_USING_DFS_ELMFAT=y
+
+#
+# elm-chan's FatFs, Generic FAT Filesystem Module
+#
CONFIG_RT_DFS_ELM_CODE_PAGE=437
CONFIG_RT_DFS_ELM_WORD_ACCESS=y
CONFIG_RT_DFS_ELM_USE_LFN_0=y
@@ -94,6 +105,9 @@ CONFIG_RT_DFS_ELM_MAX_SECTOR_SIZE=512
CONFIG_RT_DFS_ELM_REENTRANT=y
CONFIG_RT_USING_DFS_DEVFS=y
# CONFIG_RT_USING_DFS_NET is not set
+# CONFIG_RT_USING_DFS_ROMFS is not set
+# CONFIG_RT_USING_DFS_RAMFS is not set
+# CONFIG_RT_USING_DFS_UFFS is not set
# CONFIG_RT_USING_DFS_NFS is not set
#
@@ -111,6 +125,11 @@ CONFIG_RT_USING_SERIAL=y
CONFIG_RT_USING_SDIO=y
# CONFIG_RT_USING_SPI is not set
# CONFIG_RT_USING_WDT is not set
+# CONFIG_RT_USING_WIFI is not set
+
+#
+# Using USB
+#
# CONFIG_RT_USING_USB_HOST is not set
# CONFIG_RT_USING_USB_DEVICE is not set
@@ -118,10 +137,8 @@ CONFIG_RT_USING_SDIO=y
# POSIX layer and C standard library
#
CONFIG_RT_USING_LIBC=y
-CONFIG_RT_USING_PTHREADS=y
-CONFIG_RT_USING_POSIX=y
-# CONFIG_RT_USING_POSIX_MMAP is not set
-# CONFIG_RT_USING_POSIX_TERMIOS is not set
+# CONFIG_RT_USING_PTHREADS is not set
+# CONFIG_RT_USING_POSIX is not set
#
# Network stack
@@ -141,6 +158,13 @@ CONFIG_RT_LWIP_DHCP=y
CONFIG_IP_SOF_BROADCAST=1
CONFIG_IP_SOF_BROADCAST_RECV=1
# CONFIG_LWIP_USING_DHCPD is not set
+
+#
+# Static IPv4 Address
+#
+CONFIG_RT_LWIP_IPADDR="192.168.1.30"
+CONFIG_RT_LWIP_GWADDR="192.168.1.1"
+CONFIG_RT_LWIP_MSKADDR="255.255.255.0"
CONFIG_RT_LWIP_UDP=y
CONFIG_RT_LWIP_TCP=y
# CONFIG_RT_LWIP_RAW is not set
@@ -178,6 +202,17 @@ CONFIG_LWIP_SO_RCVBUF=1
#
# CONFIG_RT_USING_GUIENGINE is not set
+#
+# VBUS(Virtual Software BUS)
+#
+# CONFIG_RT_USING_VBUS is not set
+
+#
+# Utilities
+#
+# CONFIG_RT_USING_LOGTRACE is not set
+# CONFIG_RT_USING_RYM is not set
+
#
# RT-Thread online packages
#
@@ -187,24 +222,30 @@ CONFIG_LWIP_SO_RCVBUF=1
#
# CONFIG_PKG_USING_PARTITION is not set
# CONFIG_PKG_USING_SQLITE is not set
+# CONFIG_PKG_USING_RTI is not set
#
# IoT - internet of things
#
-# CONFIG_PKG_USING_CJSON is not set
# CONFIG_PKG_USING_PAHOMQTT is not set
# CONFIG_PKG_USING_WEBCLIENT is not set
# CONFIG_PKG_USING_MONGOOSE is not set
-# CONFIG_PKG_USING_WEB_TERMINAL is not set
+# CONFIG_PKG_USING_WEBTERMINAL is not set
+# CONFIG_PKG_USING_CJSON is not set
+# CONFIG_PKG_USING_EZXML is not set
+# CONFIG_PKG_USING_NANOPB is not set
#
# security packages
#
+# CONFIG_PKG_USING_MBEDTLS is not set
+# CONFIG_PKG_USING_libsodium is not set
#
# language packages
#
# CONFIG_PKG_USING_JERRYSCRIPT is not set
+# CONFIG_PKG_USING_MICROPYTHON is not set
#
# multimedia packages
@@ -214,15 +255,18 @@ CONFIG_LWIP_SO_RCVBUF=1
# tools packages
#
# CONFIG_PKG_USING_CMBACKTRACE is not set
-# CONFIG_PKG_USING_ELOG is not set
+# CONFIG_PKG_USING_EASYLOGGER is not set
+# CONFIG_PKG_USING_SYSTEMVIEW is not set
#
# miscellaneous packages
#
-# CONFIG_PKG_USING_HELLO is not set
+# CONFIG_PKG_USING_FASTLZ is not set
+# CONFIG_PKG_USING_MINILZO is not set
#
-# BSP_SPECIAL CONFIG
+# example package: hello
#
+# CONFIG_PKG_USING_HELLO is not set
CONFIG_RT_USING_UART=y
CONFIG_RT_USING_UART1=y
diff --git a/bsp/imxrt1052-evk/project.ewd b/bsp/imxrt1052-evk/project.ewd
index 4f844da53..a329cdbf1 100644
--- a/bsp/imxrt1052-evk/project.ewd
+++ b/bsp/imxrt1052-evk/project.ewd
@@ -11,7 +11,7 @@
C-SPY
2
- 28
+ 29
1
1
@@ -48,7 +48,7 @@
RunToEnable
- 1
+ 0
RunToName
@@ -76,7 +76,7 @@
OCDownloadVerifyAll
- 0
+ 1
OCProductVersion
@@ -84,15 +84,15 @@
OCDynDriverList
- ARMSIM_ID
+ JLINK_ID
OCLastSavedByProductVersion
- 8.11.2.13604
+ 8.20.1.14181
UseFlashLoader
- 0
+ 1
CLowLevel
@@ -112,7 +112,7 @@
FlashLoadersV3
- $TOOLKIT_DIR$\config\flashloader\
+ $TOOLKIT_DIR$\config\flashloader\NXP\FlashIMXRT1050_EVK_FlexSPI.board
OCImagesSuppressCheck1
@@ -210,6 +210,10 @@
OCAttachSlave
0
+
+ MassEraseBeforeFlashing
+ 0
+
@@ -288,7 +292,7 @@
CMSISDAPResetList
1
- 10
+ 4
CMSISDAPHWResetDuration
@@ -308,7 +312,7 @@
CMSISDAPInterfaceRadio
- 0
+ 1
CMSISDAPInterfaceCmdLine
@@ -373,31 +377,31 @@
CatchMMERR
- 1
+ 0
CatchNOCPERR
- 1
+ 0
CatchCHKERR
- 1
+ 0
CatchSTATERR
- 1
+ 0
CatchBUSERR
- 1
+ 0
CatchINTERR
- 1
+ 0
CatchHARDERR
- 1
+ 0
CatchDummy
@@ -425,7 +429,7 @@
CMSISDAPSelectedCPUBehaviour
- 0
+
ICpuName
@@ -721,7 +725,7 @@
1
CCCatchSFERR
- 0
+ 1
JLinkSpeed
@@ -822,12 +826,12 @@
CCJLinkInterfaceRadio
- 0
+ 1
CCJLinkResetList
6
- 5
+ 8
CCJLinkInterfaceCmdLine
@@ -1402,6 +1406,10 @@
$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin
0
+
+ $EW_DIR$\common\plugins\TargetAccessServer\TargetAccessServer.ENU.ewplugin
+ 0
+
$EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin
0
@@ -1418,7 +1426,7 @@
C-SPY
2
- 28
+ 29
1
0
@@ -1617,6 +1625,10 @@
OCAttachSlave
0
+
+ MassEraseBeforeFlashing
+ 0
+
@@ -2809,6 +2821,10 @@
$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin
0
+
+ $EW_DIR$\common\plugins\TargetAccessServer\TargetAccessServer.ENU.ewplugin
+ 0
+
$EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin
0
diff --git a/bsp/imxrt1052-evk/project.ewp b/bsp/imxrt1052-evk/project.ewp
index d220c8669..106e7cffd 100644
--- a/bsp/imxrt1052-evk/project.ewp
+++ b/bsp/imxrt1052-evk/project.ewp
@@ -171,7 +171,6 @@
FSL_SDK_ENABLE_DRIVER_CACHE_CONTROL=1
RT_USING_DLIBC
_DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
CCPreprocFile
@@ -301,31 +300,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\components\libc\compilers\dlib
- $PROJ_DIR$\Libraries
- $PROJ_DIR$\..\..\include
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include\netif
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\components\dfs\filesystems\net
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\Libraries\drivers
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include\ipv4
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m7
- $PROJ_DIR$\..\..\components\dfs\include
- $PROJ_DIR$\..\..\components\dfs\filesystems\devfs
- $PROJ_DIR$\..\..\components\dfs\filesystems\net\socket
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src
$PROJ_DIR$\Libraries\CMSIS\Include
+ $PROJ_DIR$\..\..\include
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\components\libc\compilers\dlib
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\include\netif
+ $PROJ_DIR$\..\..\libcpu\arm\cortex-m7
$PROJ_DIR$\Libraries\utilities
+ $PROJ_DIR$\.
+ $PROJ_DIR$\Libraries
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\components\dfs\filesystems\net\select
- $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\include
+ $PROJ_DIR$\..\..\components\dfs\include
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\include\ipv4
+ $PROJ_DIR$\..\..\components\drivers\include
$PROJ_DIR$\..\..\components\dfs\filesystems\elmfat
- $PROJ_DIR$\..\..\components\libc\pthreads
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\arch\include
+ $PROJ_DIR$\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\arch\include
+ $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\Libraries\drivers
+ $PROJ_DIR$\..\..\components\dfs\filesystems\devfs
CCStdIncCheck
@@ -722,7 +717,7 @@
IlinkIcfFile
- $PROJ_DIR$\imxrt1052_sdram.icf
+ $PROJ_DIR$\Libraries\iar\MIMXRT1052xxxxx_flexspi_nor.icf
IlinkIcfFileSlave
@@ -1245,31 +1240,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\components\libc\compilers\dlib
- $PROJ_DIR$\Libraries
- $PROJ_DIR$\..\..\include
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include\netif
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\components\dfs\filesystems\net
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\Libraries\drivers
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include\ipv4
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m7
- $PROJ_DIR$\..\..\components\dfs\include
- $PROJ_DIR$\..\..\components\dfs\filesystems\devfs
- $PROJ_DIR$\..\..\components\dfs\filesystems\net\socket
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src
$PROJ_DIR$\Libraries\CMSIS\Include
+ $PROJ_DIR$\..\..\include
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\components\libc\compilers\dlib
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\include\netif
+ $PROJ_DIR$\..\..\libcpu\arm\cortex-m7
$PROJ_DIR$\Libraries\utilities
+ $PROJ_DIR$\.
+ $PROJ_DIR$\Libraries
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\components\dfs\filesystems\net\select
- $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\include
+ $PROJ_DIR$\..\..\components\dfs\include
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\include\ipv4
+ $PROJ_DIR$\..\..\components\drivers\include
$PROJ_DIR$\..\..\components\dfs\filesystems\elmfat
- $PROJ_DIR$\..\..\components\libc\pthreads
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\arch\include
+ $PROJ_DIR$\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\arch\include
+ $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\Libraries\drivers
+ $PROJ_DIR$\..\..\components\dfs\filesystems\devfs
CCStdIncCheck
@@ -1892,6 +1883,9 @@
$PROJ_DIR$\applications\main.c
+
+ $PROJ_DIR$\applications\mem_dump.c
+
$PROJ_DIR$\applications\mem_test.c
@@ -1907,6 +1901,12 @@
$PROJ_DIR$\drivers\usart.c
+
+ $PROJ_DIR$\drivers\hyper_flash_boot.c
+
+
+ $PROJ_DIR$\drivers\drv_sdram.c
+
$PROJ_DIR$\drivers\drv_eth.c
@@ -2127,7 +2127,7 @@
$PROJ_DIR$\..\..\src\kservice.c
- $PROJ_DIR$\..\..\src\mem.c
+ $PROJ_DIR$\..\..\src\memheap.c
$PROJ_DIR$\..\..\src\object.c
@@ -2177,12 +2177,6 @@
$PROJ_DIR$\..\..\components\dfs\src\dfs_posix.c
-
- $PROJ_DIR$\..\..\components\dfs\src\poll.c
-
-
- $PROJ_DIR$\..\..\components\dfs\src\select.c
-
$PROJ_DIR$\..\..\components\dfs\filesystems\devfs\devfs.c
@@ -2192,15 +2186,6 @@
$PROJ_DIR$\..\..\components\dfs\filesystems\elmfat\ff.c
-
- $PROJ_DIR$\..\..\components\dfs\filesystems\net\dfs_net.c
-
-
- $PROJ_DIR$\..\..\components\dfs\filesystems\net\net_netdb.c
-
-
- $PROJ_DIR$\..\..\components\dfs\filesystems\net\net_sockets.c
-
DeviceDrivers
@@ -2329,153 +2314,111 @@
- pthreads
+ LwIP
- $PROJ_DIR$\..\..\components\libc\pthreads\clock_time.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\api_lib.c
- $PROJ_DIR$\..\..\components\libc\pthreads\mqueue.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\api_msg.c
- $PROJ_DIR$\..\..\components\libc\pthreads\pthread.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\err.c
- $PROJ_DIR$\..\..\components\libc\pthreads\pthread_attr.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\netbuf.c
- $PROJ_DIR$\..\..\components\libc\pthreads\pthread_barrier.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\netdb.c
- $PROJ_DIR$\..\..\components\libc\pthreads\pthread_cond.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\netifapi.c
- $PROJ_DIR$\..\..\components\libc\pthreads\pthread_mutex.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\sockets.c
- $PROJ_DIR$\..\..\components\libc\pthreads\pthread_rwlock.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\api\tcpip.c
- $PROJ_DIR$\..\..\components\libc\pthreads\pthread_spin.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\arch\sys_arch.c
- $PROJ_DIR$\..\..\components\libc\pthreads\pthread_tls.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\def.c
- $PROJ_DIR$\..\..\components\libc\pthreads\sched.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\dhcp.c
- $PROJ_DIR$\..\..\components\libc\pthreads\semaphore.c
-
-
-
- lwIP
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\dns.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\api\api_lib.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\init.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\api\api_msg.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\memp.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\api\err.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\netif.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\api\netbuf.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\pbuf.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\api\netdb.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\raw.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\api\netifapi.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\stats.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\api\sockets.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\sys.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\api\tcpip.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\tcp.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\def.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\tcp_in.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\dns.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\tcp_out.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\timers.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\init.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\udp.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ip.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\autoip.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\memp.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\icmp.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\netif.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\igmp.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\pbuf.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\inet.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\raw.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\inet_chksum.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\stats.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\ip.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\sys.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_addr.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\tcp.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_frag.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\tcp_in.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\netif\etharp.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\tcp_out.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\netif\ethernetif.c
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\timeouts.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\udp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\netif\ethernet.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c
+ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\netif\slipif.c
diff --git a/bsp/imxrt1052-evk/project.uvprojx b/bsp/imxrt1052-evk/project.uvprojx
index e14285091..1bfed90eb 100644
--- a/bsp/imxrt1052-evk/project.uvprojx
+++ b/bsp/imxrt1052-evk/project.uvprojx
@@ -10,13 +10,14 @@
RT-Thread IMXRT1052
0x4
ARM-ADS
- 5060528::V5.06 update 5 (build 528)::ARMCC
+ 5060750::V5.06 update 6 (build 750)::ARMCC
0
MIMXRT1052:M7
NXP
- NXP.iMXRT_DFP.1.0.1
+ NXP.iMXRT_DFP.1.0.2
+ http://mcuxpresso.nxp.com/cmsis_pack/repo/
IRAM(0x20000000,0x00060000) IRAM2(0x00000000,0x00020000) CPUTYPE("Cortex-M7") FPU3(SFPU) CLOCK(12000000) ELITTLE
@@ -48,12 +49,12 @@
1
.\build\
- rtthread-lpc
+ rtthread-imxrt
1
0
0
1
- 1
+ 0
.\build\
1
0
@@ -79,9 +80,9 @@
0
- 0
+ 1
0
-
+ fromelf --bin !L --output rtthread-mdk.bin
0
0
@@ -332,10 +333,10 @@
0
0
- --library_interface=armcc --library_type=standardlib --diag_suppress=66,1296,186
+ --library_interface=armcc --library_type=standardlib --diag_suppress=66
SKIP_SYSCLK_INIT, CPU_MIMXRT1052DVL6A, FSL_SDK_ENABLE_DRIVER_CACHE_CONTROL=1, EVK_MCIMXRM, FSL_FEATURE_PHYKSZ8081_USE_RMII50M_MODE, RT_USING_ARM_LIBC
- applications;.;drivers;Libraries;Libraries\drivers;Libraries\utilities;Libraries\CMSIS\Include;..\..\include;..\..\libcpu\arm\cortex-m7;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\dfs\filesystems\net;..\..\components\dfs\filesystems\net\select;..\..\components\dfs\filesystems\net\socket;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\pthreads;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif
+ applications;.;drivers;Libraries;Libraries\drivers;Libraries\utilities;Libraries\CMSIS\Include;..\..\include;..\..\libcpu\arm\cortex-m7;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\net\lwip-1.4.1\src;..\..\components\net\lwip-1.4.1\src\include;..\..\components\net\lwip-1.4.1\src\include\ipv4;..\..\components\net\lwip-1.4.1\src\arch\include;..\..\components\net\lwip-1.4.1\src\include\netif
@@ -366,10 +367,10 @@
0x00000000
0x10000000
- .\imxrt1052_sdram.sct
+ .\Libraries\arm\MIMXRT1052xxxxx_flexspi_nor.scf
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab)
+ --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab)
@@ -389,6 +390,11 @@
1
applications\main.c
+
+ mem_dump.c
+ 1
+ applications\mem_dump.c
+
mem_test.c
1
@@ -414,6 +420,16 @@
1
drivers\usart.c
+
+ hyper_flash_boot.c
+ 1
+ drivers\hyper_flash_boot.c
+
+
+ drv_sdram.c
+ 1
+ drivers\drv_sdram.c
+
drv_eth.c
1
@@ -780,9 +796,9 @@
..\..\src\kservice.c
- mem.c
+ memheap.c
1
- ..\..\src\mem.c
+ ..\..\src\memheap.c
object.c
@@ -864,16 +880,6 @@
1
..\..\components\dfs\src\dfs_posix.c
-
- poll.c
- 1
- ..\..\components\dfs\src\poll.c
-
-
- select.c
- 1
- ..\..\components\dfs\src\select.c
-
devfs.c
1
@@ -889,21 +895,6 @@
1
..\..\components\dfs\filesystems\elmfat\ff.c
-
- dfs_net.c
- 1
- ..\..\components\dfs\filesystems\net\dfs_net.c
-
-
- net_netdb.c
- 1
- ..\..\components\dfs\filesystems\net\net_netdb.c
-
-
- net_sockets.c
- 1
- ..\..\components\dfs\filesystems\net\net_sockets.c
-
@@ -1084,255 +1075,190 @@
1
..\..\components\libc\compilers\armlibc\stubs.c
-
-
-
- pthreads
-
- clock_time.c
+ time.c
1
- ..\..\components\libc\pthreads\clock_time.c
-
-
- mqueue.c
- 1
- ..\..\components\libc\pthreads\mqueue.c
-
-
- pthread.c
- 1
- ..\..\components\libc\pthreads\pthread.c
-
-
- pthread_attr.c
- 1
- ..\..\components\libc\pthreads\pthread_attr.c
-
-
- pthread_barrier.c
- 1
- ..\..\components\libc\pthreads\pthread_barrier.c
-
-
- pthread_cond.c
- 1
- ..\..\components\libc\pthreads\pthread_cond.c
-
-
- pthread_mutex.c
- 1
- ..\..\components\libc\pthreads\pthread_mutex.c
-
-
- pthread_rwlock.c
- 1
- ..\..\components\libc\pthreads\pthread_rwlock.c
-
-
- pthread_spin.c
- 1
- ..\..\components\libc\pthreads\pthread_spin.c
-
-
- pthread_tls.c
- 1
- ..\..\components\libc\pthreads\pthread_tls.c
-
-
- sched.c
- 1
- ..\..\components\libc\pthreads\sched.c
-
-
- semaphore.c
- 1
- ..\..\components\libc\pthreads\semaphore.c
+ ..\..\components\libc\compilers\armlibc\time.c
- lwIP
+ LwIP
-
- sys_arch.c
- 1
- ..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c
-
api_lib.c
1
- ..\..\components\net\lwip-2.0.2\src\api\api_lib.c
+ ..\..\components\net\lwip-1.4.1\src\api\api_lib.c
api_msg.c
1
- ..\..\components\net\lwip-2.0.2\src\api\api_msg.c
+ ..\..\components\net\lwip-1.4.1\src\api\api_msg.c
err.c
1
- ..\..\components\net\lwip-2.0.2\src\api\err.c
+ ..\..\components\net\lwip-1.4.1\src\api\err.c
netbuf.c
1
- ..\..\components\net\lwip-2.0.2\src\api\netbuf.c
+ ..\..\components\net\lwip-1.4.1\src\api\netbuf.c
netdb.c
1
- ..\..\components\net\lwip-2.0.2\src\api\netdb.c
+ ..\..\components\net\lwip-1.4.1\src\api\netdb.c
netifapi.c
1
- ..\..\components\net\lwip-2.0.2\src\api\netifapi.c
+ ..\..\components\net\lwip-1.4.1\src\api\netifapi.c
sockets.c
1
- ..\..\components\net\lwip-2.0.2\src\api\sockets.c
+ ..\..\components\net\lwip-1.4.1\src\api\sockets.c
tcpip.c
1
- ..\..\components\net\lwip-2.0.2\src\api\tcpip.c
+ ..\..\components\net\lwip-1.4.1\src\api\tcpip.c
+
+
+ sys_arch.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\arch\sys_arch.c
def.c
1
- ..\..\components\net\lwip-2.0.2\src\core\def.c
-
-
- dns.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\dns.c
-
-
- inet_chksum.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c
-
-
- init.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\init.c
-
-
- ip.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ip.c
-
-
- memp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\memp.c
-
-
- netif.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\netif.c
-
-
- pbuf.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\pbuf.c
-
-
- raw.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\raw.c
-
-
- stats.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\stats.c
-
-
- sys.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\sys.c
-
-
- tcp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\tcp.c
-
-
- tcp_in.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\tcp_in.c
-
-
- tcp_out.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\tcp_out.c
-
-
- timeouts.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\timeouts.c
-
-
- udp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\udp.c
-
-
- ethernet.c
- 1
- ..\..\components\net\lwip-2.0.2\src\netif\ethernet.c
-
-
- ethernetif.c
- 1
- ..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c
-
-
- lowpan6.c
- 1
- ..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c
-
-
- autoip.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c
+ ..\..\components\net\lwip-1.4.1\src\core\def.c
dhcp.c
1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c
+ ..\..\components\net\lwip-1.4.1\src\core\dhcp.c
- etharp.c
+ dns.c
1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c
+ ..\..\components\net\lwip-1.4.1\src\core\dns.c
+
+
+ init.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\init.c
+
+
+ memp.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\memp.c
+
+
+ netif.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\netif.c
+
+
+ pbuf.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\pbuf.c
+
+
+ raw.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\raw.c
+
+
+ stats.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\stats.c
+
+
+ sys.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\sys.c
+
+
+ tcp.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\tcp.c
+
+
+ tcp_in.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\tcp_in.c
+
+
+ tcp_out.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\tcp_out.c
+
+
+ timers.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\timers.c
+
+
+ udp.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\udp.c
+
+
+ autoip.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\ipv4\autoip.c
icmp.c
1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c
+ ..\..\components\net\lwip-1.4.1\src\core\ipv4\icmp.c
igmp.c
1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c
+ ..\..\components\net\lwip-1.4.1\src\core\ipv4\igmp.c
- ip4.c
+ inet.c
1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c
+ ..\..\components\net\lwip-1.4.1\src\core\ipv4\inet.c
- ip4_addr.c
+ inet_chksum.c
1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c
+ ..\..\components\net\lwip-1.4.1\src\core\ipv4\inet_chksum.c
- ip4_frag.c
+ ip.c
1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c
+ ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip.c
+
+
+ ip_addr.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_addr.c
+
+
+ ip_frag.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_frag.c
+
+
+ etharp.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\netif\etharp.c
+
+
+ ethernetif.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\netif\ethernetif.c
+
+
+ slipif.c
+ 1
+ ..\..\components\net\lwip-1.4.1\src\netif\slipif.c
diff --git a/bsp/imxrt1052-evk/rtconfig.h b/bsp/imxrt1052-evk/rtconfig.h
index 99b73a3e9..b68ec9921 100644
--- a/bsp/imxrt1052-evk/rtconfig.h
+++ b/bsp/imxrt1052-evk/rtconfig.h
@@ -8,12 +8,15 @@
#define RT_NAME_MAX 8
#define RT_ALIGN_SIZE 4
+/* RT_THREAD_PRIORITY_8 is not set */
+#define RT_THREAD_PRIORITY_32
+/* RT_THREAD_PRIORITY_256 is not set */
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100
#define RT_DEBUG
#define RT_USING_OVERFLOW_CHECK
-#define RT_DEBUG_INIT 1
-/* RT_DEBUG_THREAD is not set */
+#define RT_DEBUG_INIT 0
+#define RT_DEBUG_THREAD 0
#define RT_USING_HOOK
#define IDLE_THREAD_STACK_SIZE 256
/* RT_USING_TIMER_SOFT is not set */
@@ -30,14 +33,17 @@
/* Memory Management */
/* RT_USING_MEMPOOL is not set */
-/* RT_USING_MEMHEAP is not set */
-#define RT_USING_HEAP
-#define RT_USING_SMALL_MEM
+#define RT_USING_MEMHEAP
+/* RT_USING_NOHEAP is not set */
+/* RT_USING_SMALL_MEM is not set */
/* RT_USING_SLAB is not set */
+#define RT_USING_MEMHEAP_AS_HEAP
+#define RT_USING_HEAP
/* Kernel Device Object */
#define RT_USING_DEVICE
+/* RT_USING_INTERRUPT_INFO is not set */
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart1"
@@ -63,16 +69,20 @@
#define FINSH_CMD_SIZE 80
/* FINSH_USING_AUTH is not set */
#define FINSH_USING_MSH
-//#define FINSH_USING_MSH_DEFAULT
-//#define FINSH_USING_MSH_ONLY
+#define FINSH_USING_MSH_DEFAULT
+/* FINSH_USING_MSH_ONLY is not set */
/* Device virtual file system */
#define RT_USING_DFS
#define DFS_USING_WORKDIR
#define DFS_FILESYSTEMS_MAX 2
+#define DFS_FILESYSTEM_TYPES_MAX 2
#define DFS_FD_MAX 4
#define RT_USING_DFS_ELMFAT
+
+/* elm-chan's FatFs, Generic FAT Filesystem Module */
+
#define RT_DFS_ELM_CODE_PAGE 437
#define RT_DFS_ELM_WORD_ACCESS
#define RT_DFS_ELM_USE_LFN_0
@@ -86,7 +96,10 @@
/* RT_DFS_ELM_USE_ERASE is not set */
#define RT_DFS_ELM_REENTRANT
#define RT_USING_DFS_DEVFS
-#define RT_USING_DFS_NET
+/* RT_USING_DFS_NET is not set */
+/* RT_USING_DFS_ROMFS is not set */
+/* RT_USING_DFS_RAMFS is not set */
+/* RT_USING_DFS_UFFS is not set */
/* RT_USING_DFS_NFS is not set */
/* Device Drivers */
@@ -101,27 +114,27 @@
/* RT_USING_MTD_NAND is not set */
/* RT_USING_RTC is not set */
#define RT_USING_SDIO
-//#define RT_MMCSD_DBG
/* RT_USING_SPI is not set */
/* RT_USING_WDT is not set */
+/* RT_USING_WIFI is not set */
+
+/* Using USB */
+
/* RT_USING_USB_HOST is not set */
/* RT_USING_USB_DEVICE is not set */
/* POSIX layer and C standard library */
#define RT_USING_LIBC
-#define RT_USING_PTHREADS
-#define RT_USING_POSIX
-/* RT_USING_POSIX_MMAP is not set */
-/* RT_USING_POSIX_TERMIOS is not set */
+/* RT_USING_PTHREADS is not set */
+/* RT_USING_POSIX is not set */
/* Network stack */
/* light weight TCP/IP stack */
#define RT_USING_LWIP
-#define RT_USING_LWIP202
-//#define RT_LWIP_DEBUG
+#define RT_USING_LWIP141
/* RT_USING_LWIP202 is not set */
/* RT_LWIP_IGMP is not set */
#define RT_LWIP_ICMP
@@ -131,6 +144,12 @@
#define IP_SOF_BROADCAST 1
#define IP_SOF_BROADCAST_RECV 1
/* LWIP_USING_DHCPD is not set */
+
+/* Static IPv4 Address */
+
+#define RT_LWIP_IPADDR "192.168.1.30"
+#define RT_LWIP_GWADDR "192.168.1.1"
+#define RT_LWIP_MSKADDR "255.255.255.0"
#define RT_LWIP_UDP
#define RT_LWIP_TCP
/* RT_LWIP_RAW is not set */
@@ -156,18 +175,6 @@
#define LWIP_SO_RCVTIMEO 1
#define LWIP_SO_SNDTIMEO 1
#define LWIP_SO_RCVBUF 1
-#define RT_LWIP_IPADDR0 192
-#define RT_LWIP_IPADDR1 168
-#define RT_LWIP_IPADDR2 10
-#define RT_LWIP_IPADDR3 30
-#define RT_LWIP_GWADDR0 192
-#define RT_LWIP_GWADDR1 168
-#define RT_LWIP_GWADDR2 10
-#define RT_LWIP_GWADDR3 1
-#define RT_LWIP_MSKADDR0 255
-#define RT_LWIP_MSKADDR1 255
-#define RT_LWIP_MSKADDR2 255
-#define RT_LWIP_MSKADDR3 0
/* Modbus master and slave stack */
@@ -178,40 +185,59 @@
/* RT_USING_GUIENGINE is not set */
+/* VBUS(Virtual Software BUS) */
+
+/* RT_USING_VBUS is not set */
+
+/* Utilities */
+
+/* RT_USING_LOGTRACE is not set */
+/* RT_USING_RYM is not set */
+
/* RT-Thread online packages */
/* system packages */
/* PKG_USING_PARTITION is not set */
/* PKG_USING_SQLITE is not set */
+/* PKG_USING_RTI is not set */
/* IoT - internet of things */
-/* PKG_USING_CJSON is not set */
/* PKG_USING_PAHOMQTT is not set */
/* PKG_USING_WEBCLIENT is not set */
/* PKG_USING_MONGOOSE is not set */
-/* PKG_USING_WEB_TERMINAL is not set */
+/* PKG_USING_WEBTERMINAL is not set */
+/* PKG_USING_CJSON is not set */
+/* PKG_USING_EZXML is not set */
+/* PKG_USING_NANOPB is not set */
/* security packages */
+/* PKG_USING_MBEDTLS is not set */
+/* PKG_USING_libsodium is not set */
+
/* language packages */
/* PKG_USING_JERRYSCRIPT is not set */
+/* PKG_USING_MICROPYTHON is not set */
/* multimedia packages */
/* tools packages */
/* PKG_USING_CMBACKTRACE is not set */
-/* PKG_USING_ELOG is not set */
+/* PKG_USING_EASYLOGGER is not set */
+/* PKG_USING_SYSTEMVIEW is not set */
/* miscellaneous packages */
+/* PKG_USING_FASTLZ is not set */
+/* PKG_USING_MINILZO is not set */
+
+/* example package: hello */
+
/* PKG_USING_HELLO is not set */
-
-/* BSP_SPECIAL CONFIG */
-
#define RT_USING_UART
#define RT_USING_UART1
diff --git a/bsp/imxrt1052-evk/template.ewp b/bsp/imxrt1052-evk/template.ewp
index 314eee21e..cf4216d8b 100644
--- a/bsp/imxrt1052-evk/template.ewp
+++ b/bsp/imxrt1052-evk/template.ewp
@@ -690,7 +690,7 @@
IlinkIcfFile
- $PROJ_DIR$\imxrt1052_sdram.icf
+ $PROJ_DIR$\Libraries\iar\MIMXRT1052xxxxx_flexspi_nor.icf
IlinkIcfFileSlave
diff --git a/bsp/imxrt1052-evk/template.uvprojx b/bsp/imxrt1052-evk/template.uvprojx
index 814c8af5d..30ff50525 100644
--- a/bsp/imxrt1052-evk/template.uvprojx
+++ b/bsp/imxrt1052-evk/template.uvprojx
@@ -16,7 +16,8 @@
MIMXRT1052:M7
NXP
- NXP.iMXRT_DFP.1.0.1
+ NXP.iMXRT_DFP.1.0.2
+ http://mcuxpresso.nxp.com/cmsis_pack/repo/
IRAM(0x20000000,0x00060000) IRAM2(0x00000000,0x00020000) CPUTYPE("Cortex-M7") FPU3(SFPU) CLOCK(12000000) ELITTLE
@@ -48,12 +49,12 @@
1
.\build\
- rtthread-lpc
+ rtthread-imxrt
1
0
0
1
- 1
+ 0
.\build\
1
0
@@ -79,9 +80,9 @@
0
- 0
+ 1
0
-
+ fromelf --bin !L --output rtthread-mdk.bin
0
0
@@ -366,7 +367,7 @@
0x00000000
0x10000000
- .\imxrt1052_sdram.sct
+ .\Libraries\arm\MIMXRT1052xxxxx_flexspi_nor.scf