Fix wrong source file list in CMake of GCC_ARM_CM0 port. #1045
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.