Skip to content

Commit 30afc1a

Browse files
authored
Fix wrong source file list in CMake of GCC_ARM_CM0 port. (FreeRTOS#1045)
Add GCC/ARM_CM0/mpu_wrappers_v2_asm.c and GCC/ARM_CM0/portasm.c as source files to 'freertos_kernel_port' library. This fixes the FREERTOS_PORT "GCC_ARM_CM0" CMake configuration.
1 parent 8e07366 commit 30afc1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

portable/CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ add_library(freertos_kernel_port OBJECT
7777

7878
# ARMv6-M port for GCC
7979
$<$<STREQUAL:${FREERTOS_PORT},GCC_ARM_CM0>:
80-
GCC/ARM_CM0/port.c>
80+
GCC/ARM_CM0/port.c
81+
GCC/ARM_CM0/portasm.c
82+
GCC/ARM_CM0/mpu_wrappers_v2_asm.c>
8183

8284
# ARMv6-M / Cortex-M0 Raspberry PI RP2040 port for GCC
8385
$<$<STREQUAL:${FREERTOS_PORT},GCC_RP2040>:

0 commit comments

Comments
 (0)