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.
Test Steps
Use Cmake to integrate FreeRTOS into a Cortex M0 project via set (FREERTOS_PORT "GCC_ARM_CM0"). It does not compile.
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.
Test Steps
Use Cmake to integrate FreeRTOS into a Cortex M0 project via set (FREERTOS_PORT "GCC_ARM_CM0"). It does not compile.
/usr/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/bin/ld: .../FreeRTOS-Kernel/portable/GCC/ARM_CM0/port.c:835:(.text.SysTick_Handler+0x22): undefined reference to
vClearInterruptMask'`ulSetInterruptMask (=vClearInterruptMask) is defined in portasm.c which is not included in the build.
This PR is a fix for that.
Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.