开启 ThreadX
All checks were successful
Build and Upload Artifact / build and upload-artifact (push) Successful in 25m8s

This commit is contained in:
chauyin
2025-05-07 22:53:45 +08:00
parent 7f9bede0c7
commit 559760be0c
194 changed files with 42018 additions and 91 deletions

View File

@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.22)
enable_language(C ASM)
# STM32CubeMX generated symbols (macros)
set(MX_Defines_Syms
TX_INCLUDE_USER_DEFINE_FILE
TX_SINGLE_MODE_NON_SECURE=1
USE_NUCLEO_64
USE_HAL_DRIVER
STM32H563xx
@@ -12,29 +14,38 @@ set(MX_Defines_Syms
# STM32CubeMX generated include paths
set(MX_Include_Dirs
${CMAKE_SOURCE_DIR}/Core/Inc
${CMAKE_SOURCE_DIR}/AZURE_RTOS/App
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Inc
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Inc/Legacy
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/inc
${CMAKE_SOURCE_DIR}/Drivers/BSP/STM32H5xx_Nucleo
${CMAKE_SOURCE_DIR}/Drivers/CMSIS/Device/ST/STM32H5xx/Include
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/inc
${CMAKE_SOURCE_DIR}/Drivers/CMSIS/Include
)
# STM32CubeMX generated application sources
set(MX_Application_Src
set(MX_Application_Src
${CMAKE_SOURCE_DIR}/AZURE_RTOS/App/app_azure_rtos.c
${CMAKE_SOURCE_DIR}/Core/Src/tx_initialize_low_level.S
${CMAKE_SOURCE_DIR}/Core/Src/main.c
${CMAKE_SOURCE_DIR}/Core/Src/gpio.c
${CMAKE_SOURCE_DIR}/Core/Src/memorymap.c
${CMAKE_SOURCE_DIR}/Core/Src/app_threadx.c
${CMAKE_SOURCE_DIR}/Core/Src/tim.c
${CMAKE_SOURCE_DIR}/Core/Src/stm32h5xx_it.c
${CMAKE_SOURCE_DIR}/Core/Src/stm32h5xx_hal_msp.c
${CMAKE_SOURCE_DIR}/Core/Src/stm32h5xx_hal_timebase_tim.c
${CMAKE_SOURCE_DIR}/Core/Src/sysmem.c
${CMAKE_SOURCE_DIR}/Core/Src/syscalls.c
${CMAKE_SOURCE_DIR}/startup_stm32h563xx.s
)
${CMAKE_SOURCE_DIR}/startup_stm32h563xx.s
)
# STM32 HAL/LL Drivers
set(STM32_Drivers_Src
set(STM32_Drivers_Src
${CMAKE_SOURCE_DIR}/Core/Src/system_stm32h5xx.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_tim.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_tim_ex.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_cortex.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_rcc.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_rcc_ex.c
@@ -47,18 +58,183 @@ set(STM32_Drivers_Src
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_pwr_ex.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_exti.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_tim.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_tim_ex.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_usart.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_usart_ex.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_uart_ex.c
${CMAKE_SOURCE_DIR}/Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_hal_uart.c
${CMAKE_SOURCE_DIR}/Drivers/BSP/STM32H5xx_Nucleo/stm32h5xx_nucleo.c
)
${CMAKE_SOURCE_DIR}/Drivers/BSP/STM32H5xx_Nucleo/stm32h5xx_nucleo.c
)
# Drivers Midllewares
set(ThreadX_Src
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/src/tx_thread_context_restore.S
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/src/tx_thread_context_save.S
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/src/tx_thread_interrupt_control.S
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/src/tx_thread_interrupt_disable.S
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/src/tx_thread_interrupt_restore.S
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/src/tx_thread_schedule.S
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/src/tx_thread_stack_build.S
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/src/tx_thread_system_return.S
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/ports/cortex_m33/gnu/src/tx_timer_interrupt.S
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_initialize_high_level.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_initialize_kernel_enter.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_initialize_kernel_setup.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_stack_error_handler.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_stack_error_notify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_system_resume.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_block_allocate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_block_pool_cleanup.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_block_pool_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_block_pool_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_block_pool_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_block_pool_initialize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_block_pool_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_block_release.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_byte_allocate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_byte_pool_cleanup.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_byte_pool_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_byte_pool_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_byte_pool_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_byte_pool_initialize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_byte_pool_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_byte_pool_search.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_byte_release.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_event_flags_cleanup.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_event_flags_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_event_flags_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_event_flags_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_event_flags_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_event_flags_initialize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_event_flags_set.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_event_flags_set_notify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_mutex_cleanup.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_mutex_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_mutex_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_mutex_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_mutex_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_mutex_initialize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_mutex_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_mutex_priority_change.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_mutex_put.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_cleanup.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_flush.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_front_send.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_initialize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_receive.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_send.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_queue_send_notify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_ceiling_put.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_cleanup.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_initialize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_put.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_semaphore_put_notify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_entry_exit_notify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_identify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_initialize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_preemption_change.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_priority_change.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_relinquish.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_reset.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_resume.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_shell_entry.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_sleep.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_stack_analyze.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_suspend.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_system_preempt_check.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_system_suspend.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_terminate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_time_slice.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_time_slice_change.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_timeout.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_thread_wait_abort.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_time_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_time_set.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_block_allocate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_block_pool_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_block_pool_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_block_pool_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_block_pool_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_block_release.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_byte_allocate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_byte_pool_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_byte_pool_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_byte_pool_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_byte_pool_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_byte_release.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_event_flags_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_event_flags_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_event_flags_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_event_flags_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_event_flags_set.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_event_flags_set_notify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_mutex_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_mutex_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_mutex_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_mutex_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_mutex_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_mutex_put.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_queue_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_queue_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_queue_flush.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_queue_front_send.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_queue_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_queue_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_queue_receive.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_queue_send.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_queue_send_notify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_semaphore_ceiling_put.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_semaphore_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_semaphore_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_semaphore_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_semaphore_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_semaphore_prioritize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_semaphore_put.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_semaphore_put_notify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_entry_exit_notify.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_preemption_change.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_priority_change.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_relinquish.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_reset.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_resume.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_suspend.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_terminate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_time_slice_change.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_thread_wait_abort.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_activate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_change.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_deactivate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_expiration_process.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_info_get.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_initialize.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_system_activate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_system_deactivate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/tx_timer_thread_entry.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_timer_activate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_timer_change.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_timer_create.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_timer_deactivate.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_timer_delete.c
${CMAKE_SOURCE_DIR}/Middlewares/ST/threadx/common/src/txe_timer_info_get.c
)
# Link directories setup
set(MX_LINK_DIRS
@@ -67,7 +243,7 @@ set(MX_LINK_DIRS
# Project static libraries
set(MX_LINK_LIBS
STM32_Drivers
ThreadX
)
# Interface library for includes and symbols
@@ -79,6 +255,11 @@ add_library(STM32_Drivers OBJECT)
add_library(STM32_Drivers OBJECT)
target_sources(STM32_Drivers PRIVATE ${STM32_Drivers_Src})
target_link_libraries(STM32_Drivers PUBLIC stm32cubemx)
# Create ThreadX static library
add_library(ThreadX OBJECT)
target_sources(ThreadX PRIVATE ${ThreadX_Src})
target_link_libraries(ThreadX PUBLIC stm32cubemx)
# Add STM32CubeMX generated application sources to the project