Commit 831feaf2 authored by Henrique Silva's avatar Henrique Silva

Compile FreeRTOS lib after LPCOpen to be able to use trace feature

parent f2874039
...@@ -79,8 +79,8 @@ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "") ...@@ -79,8 +79,8 @@ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "")
# Include all subdirectories to be compiled # Include all subdirectories to be compiled
set(PROJ_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/main_mmc.c) set(PROJ_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/main_mmc.c)
add_subdirectory(FreeRTOS)
add_subdirectory(port) add_subdirectory(port)
add_subdirectory(FreeRTOS)
add_subdirectory(boot) add_subdirectory(boot)
add_subdirectory(modules) add_subdirectory(modules)
if(CMAKE_BUILD_TYPE STREQUAL "Debug") if(CMAKE_BUILD_TYPE STREQUAL "Debug")
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
set(FREERTOS_INC ${CMAKE_CURRENT_SOURCE_DIR}/include) set(FREERTOS_INC ${CMAKE_CURRENT_SOURCE_DIR}/include)
include_directories(${PROJ_HDRS})
include_directories(${FREERTOS_INC}) include_directories(${FREERTOS_INC})
set(PROJ_HDRS ${PROJ_HDRS} ${FREERTOS_INC} PARENT_SCOPE) set(PROJ_HDRS ${PROJ_HDRS} ${FREERTOS_INC} PARENT_SCOPE)
......
...@@ -57,7 +57,7 @@ licensing and training services. ...@@ -57,7 +57,7 @@ licensing and training services.
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 150 ) #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 150 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 0x4000 ) ) #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 0x4000 ) )
#define configMAX_TASK_NAME_LEN ( 12 ) #define configMAX_TASK_NAME_LEN ( 12 )
#define configUSE_TRACE_FACILITY 0 #define configUSE_TRACE_FACILITY 1
#define configUSE_16_BIT_TICKS 0 #define configUSE_16_BIT_TICKS 0
#define configIDLE_SHOULD_YIELD 0 #define configIDLE_SHOULD_YIELD 0
#define configUSE_CO_ROUTINES 0 #define configUSE_CO_ROUTINES 0
...@@ -68,7 +68,7 @@ licensing and training services. ...@@ -68,7 +68,7 @@ licensing and training services.
#define configCHECK_FOR_STACK_OVERFLOW 1 #define configCHECK_FOR_STACK_OVERFLOW 1
#define configUSE_RECURSIVE_MUTEXES 0 #define configUSE_RECURSIVE_MUTEXES 0
#define configQUEUE_REGISTRY_SIZE 3 #define configQUEUE_REGISTRY_SIZE 3
#define configGENERATE_RUN_TIME_STATS 0 #define configGENERATE_RUN_TIME_STATS 1
#define configUSE_MALLOC_FAILED_HOOK 0 #define configUSE_MALLOC_FAILED_HOOK 0
#define configENABLE_BACKWARD_COMPATIBILITY 1 #define configENABLE_BACKWARD_COMPATIBILITY 1
#define configUSE_APPLICATION_TASK_TAG 0 #define configUSE_APPLICATION_TASK_TAG 0
...@@ -93,7 +93,7 @@ extern void vConfigureTimerForRunTimeStats( void ); ...@@ -93,7 +93,7 @@ extern void vConfigureTimerForRunTimeStats( void );
#define INCLUDE_vTaskPrioritySet 1 #define INCLUDE_vTaskPrioritySet 1
#define INCLUDE_uxTaskPriorityGet 0 #define INCLUDE_uxTaskPriorityGet 0
#define INCLUDE_vTaskDelete 1 #define INCLUDE_vTaskDelete 1
#define INCLUDE_vTaskCleanUpResources 0 #define INCLUDE_vTaskCleanUpResources 1
#define INCLUDE_vTaskSuspend 1 #define INCLUDE_vTaskSuspend 1
#define INCLUDE_vTaskDelayUntil 1 #define INCLUDE_vTaskDelayUntil 1
#define INCLUDE_vTaskDelay 1 #define INCLUDE_vTaskDelay 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment