Преглед на файлове

[libcpu]fix RT_ASSERT undefine (#7816)

Supper Thomas преди 2 години
родител
ревизия
350626841a
променени са 3 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 1 0
      .github/workflows/action.yml
  2. 2 0
      bsp/imxrt/imxrt1021-nxp-evk/board/linker_scripts/link.lds
  3. 1 0
      libcpu/arm/cortex-m7/cpu_cache.c

+ 1 - 0
.github/workflows/action.yml

@@ -184,6 +184,7 @@ jobs:
                 - "imxrt/imxrt1052-seeed-ArchMix"
                 - "imxrt/imxrt1060-nxp-evk"
                 - "imxrt/imxrt1064-nxp-evk"
+                - "imxrt/imxrt1021-nxp-evk"
                 - "frdm-k64f"
                 - "lpc176x"
                 - "xplorer4330/M4"

+ 2 - 0
bsp/imxrt/imxrt1021-nxp-evk/board/linker_scripts/link.lds

@@ -69,6 +69,8 @@ MEMORY
 /* Define output sections */
 SECTIONS
 {
+  __NCACHE_REGION_START = ORIGIN(m_nocache);
+  __NCACHE_REGION_SIZE  = LENGTH(m_nocache);
   .boot_data :
   {
     KEEP(*(.boot_hdr.conf))

+ 1 - 0
libcpu/arm/cortex-m7/cpu_cache.c

@@ -9,6 +9,7 @@
  * 2019-04-27     misonyo      update to cortex-m7 series
  */
 
+#include <rtthread.h>
 #include <rthw.h>
 #include <rtdef.h>
 #include <board.h>