From cf166ae981cdd2e69342b8c8cdffc2768e94a1fe Mon Sep 17 00:00:00 2001 From: Supper Thomas <78900636@qq.com> Date: Fri, 14 Jul 2023 07:40:26 +0800 Subject: [PATCH 1/2] [libcpu]fix RT_ASSERT undefine --- libcpu/arm/cortex-m7/cpu_cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libcpu/arm/cortex-m7/cpu_cache.c b/libcpu/arm/cortex-m7/cpu_cache.c index 94e03df5a7f..fe7acce2a1c 100644 --- a/libcpu/arm/cortex-m7/cpu_cache.c +++ b/libcpu/arm/cortex-m7/cpu_cache.c @@ -9,6 +9,7 @@ * 2019-04-27 misonyo update to cortex-m7 series */ +#include #include #include #include From 414a6360f8fcfca9ced0ce32fdd9e5077a75bc72 Mon Sep 17 00:00:00 2001 From: Supper Thomas <78900636@qq.com> Date: Fri, 14 Jul 2023 08:02:33 +0800 Subject: [PATCH 2/2] [bsp][imrt1021] gcc build fail fix --- .github/workflows/action.yml | 1 + bsp/imxrt/imxrt1021-nxp-evk/board/linker_scripts/link.lds | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index d3256cfb9ac..0db22d9a79d 100644 --- a/.github/workflows/action.yml +++ b/.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" diff --git a/bsp/imxrt/imxrt1021-nxp-evk/board/linker_scripts/link.lds b/bsp/imxrt/imxrt1021-nxp-evk/board/linker_scripts/link.lds index cf0b16b7b98..a5ca41f9ee4 100644 --- a/bsp/imxrt/imxrt1021-nxp-evk/board/linker_scripts/link.lds +++ b/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))