diff --git a/.gitmodules b/.gitmodules
index e48e2339..9679a285 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,6 @@
[submodule "third-party/ceedling"]
path = third-party/ceedling
url = https://github.com/ThrowTheSwitch/Ceedling.git
-[submodule "third-party/freertos"]
- path = third-party/freertos
- url = https://github.com/aws/amazon-freertos.git
+[submodule "third-party/freertos/freertos_kernel"]
+ path = third-party/freertos/freertos_kernel
+ url = https://github.com/FreeRTOS/FreeRTOS-Kernel.git
diff --git a/demo/cross/shared/build/arm-cortex/freertos/ciaa-nxp/mcuxpresso/.cproject b/demo/cross/shared/build/arm-cortex/freertos/ciaa-nxp/mcuxpresso/.cproject
index a8c86785..704a2b54 100644
--- a/demo/cross/shared/build/arm-cortex/freertos/ciaa-nxp/mcuxpresso/.cproject
+++ b/demo/cross/shared/build/arm-cortex/freertos/ciaa-nxp/mcuxpresso/.cproject
@@ -21,11 +21,11 @@
-
-
+
-
+
@@ -144,8 +144,8 @@
-
-
+
+
@@ -259,11 +259,11 @@
-
-
+
-
+
@@ -383,11 +383,11 @@
-
-
+
-
+
@@ -528,15 +528,18 @@
</TargetConfig>
+
-
+
+
-
+
+
diff --git a/demo/cross/shared/build/arm-cortex/freertos/ciaa-nxp/mcuxpresso/.settings/org.eclipse.cdt.core.prefs b/demo/cross/shared/build/arm-cortex/freertos/ciaa-nxp/mcuxpresso/.settings/org.eclipse.cdt.core.prefs
new file mode 100644
index 00000000..ccbfeeb2
--- /dev/null
+++ b/demo/cross/shared/build/arm-cortex/freertos/ciaa-nxp/mcuxpresso/.settings/org.eclipse.cdt.core.prefs
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930.1155101958/BOARD/delimiter=;
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930.1155101958/BOARD/operation=append
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930.1155101958/BOARD/value=edu_ciaa_nxp
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930.1155101958/append=true
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930.1155101958/appendContributed=true
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930/BOARD/delimiter=;
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930/BOARD/operation=append
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930/BOARD/value=ciaa_nxp
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930/append=true
+environment/project/com.crt.advproject.config.exe.debug.1324172874.2082812930/appendContributed=true
diff --git a/demo/libbsp/platform/arm-cortex/arm_cm4f/ciaa-nxp/bsp_shared.c b/demo/libbsp/platform/arm-cortex/arm_cm4f/ciaa-nxp/bsp_shared.c
index b25bdb4c..06911234 100644
--- a/demo/libbsp/platform/arm-cortex/arm_cm4f/ciaa-nxp/bsp_shared.c
+++ b/demo/libbsp/platform/arm-cortex/arm_cm4f/ciaa-nxp/bsp_shared.c
@@ -356,15 +356,6 @@ rkh_trc_close( void )
SERIAL_TRACE_CLOSE();
}
-void
-bsp_timeTick(void)
-{
-#if RKH_CFG_TRC_EN == RKH_ENABLED
- ++tstamp;
-#endif
- switch_tick();
-}
-
RKH_TS_T
rkh_trc_getts(void)
{
@@ -398,6 +389,15 @@ rkh_trc_flush( void )
#endif
+void
+bsp_timeTick(void)
+{
+#if RKH_CFG_TRC_EN == RKH_ENABLED
+ ++tstamp;
+#endif
+ switch_tick();
+}
+
void
bsp_uart_init( void )
diff --git a/third-party/freertos/freertos_kernel b/third-party/freertos/freertos_kernel
new file mode 160000
index 00000000..210b1ffc
--- /dev/null
+++ b/third-party/freertos/freertos_kernel
@@ -0,0 +1 @@
+Subproject commit 210b1ffcc87bcff93871a37fbf0ad2033870ecaf