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)) 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