mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 06:05:18 -05:00
Merge branch 'main' into ARM_CRx_MPU
This commit is contained in:
commit
372b65adb7
3 changed files with 44 additions and 6 deletions
|
|
@ -15,7 +15,7 @@ endif()
|
|||
|
||||
# FreeRTOS internal cmake file. Do not use it in user top-level project
|
||||
|
||||
add_library(freertos_kernel_port STATIC
|
||||
add_library(freertos_kernel_port OBJECT
|
||||
# TEMPLATE Port
|
||||
$<$<STREQUAL:${FREERTOS_PORT},TEMPLATE>:
|
||||
template/port.c>
|
||||
|
|
@ -760,8 +760,9 @@ if( FREERTOS_PORT MATCHES "GCC_ARM_CM(3|4)_MPU" OR
|
|||
Common/mpu_wrappers_v2.c
|
||||
)
|
||||
endif()
|
||||
add_library(freertos_kernel_port_headers INTERFACE)
|
||||
|
||||
target_include_directories(freertos_kernel_port PUBLIC
|
||||
target_include_directories(freertos_kernel_port_headers INTERFACE
|
||||
# TEMPLATE Port
|
||||
$<$<STREQUAL:${FREERTOS_PORT},TEMPLATE>:${CMAKE_CURRENT_LIST_DIR}/template>
|
||||
|
||||
|
|
@ -1100,6 +1101,7 @@ target_link_libraries(freertos_kernel_port
|
|||
PUBLIC
|
||||
$<$<STREQUAL:${FREERTOS_PORT},GCC_RP2040>:pico_base_headers>
|
||||
$<$<STREQUAL:${FREERTOS_PORT},GCC_XTENSA_ESP32>:idf::esp32>
|
||||
freertos_kernel_port_headers
|
||||
PRIVATE
|
||||
freertos_kernel_include
|
||||
$<$<STREQUAL:${FREERTOS_PORT},GCC_POSIX>:Threads::Threads>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue