removed all RTOS refernces and comments.

This commit is contained in:
Jake Goodwin 2025-01-22 20:56:12 -08:00
parent 3e11d97b79
commit 343e142193
1 changed files with 1 additions and 30 deletions

View File

@ -60,15 +60,6 @@ set(LINKER_SCRIPT linker.ld)
set(HAL_DIR components/STM32F4xx_HAL_Driver)
#endif
#-------------------
# RTOS Setup
#-------------------
# Path to FreeRTOS Kernel
#set(RTOS_DIR components/FreeRTOS-Kernel)
# Modify this to the path where your micrcontroller specific port is
#set(RTOS_DIR_MCU ${RTOS_DIR}/portable/GCC/ARM_CM4F) # For cortex-m4 microcontroller
#set(RTOS_HEAP ${RTOS_DIR}/portable/MemMang/heap_4.c) # Select which heap implementation to use
#-------------------
# CMSIS Setup
#-------------------
@ -247,7 +238,7 @@ if(TARGET_GROUP STREQUAL production)
PUBLIC
${HAL_DIR}/Inc
${MCU_DIR}/Include
${CMSIS_DIR}/Core/Include
#${CMSIS_DIR}/Core/Include
PRIVATE
${PROJECT_SOURCE_DIR}/include
)
@ -257,26 +248,6 @@ if(TARGET_GROUP STREQUAL production)
HSE_VALUE=${HSE_VAL}
)
#-------------------
# FreeRTOS library
#-------------------
string(APPEND CMAKE_EXE_LINKER_FLAGS_RELEASE "-Wl,--undefined=vTaskSwitchContext ")
file(GLOB RTOS_SRC
"${RTOS_DIR}/*.c"
"${RTOS_DIR_MCU}/*.c"
${RTOS_HEAP}
)
add_library(rtos STATIC
${RTOS_SRC}
)
target_include_directories(rtos
PUBLIC
${RTOS_DIR}/include
${RTOS_DIR_MCU}
PRIVATE
${PROJECT_SOURCE_DIR}/include
)
#-------------------
# Main elf
#-------------------