From 2b499ab780ce086f505f6c7e2f5eb9b275784042 Mon Sep 17 00:00:00 2001 From: wat <78684666+watsk@users.noreply.github.com> Date: Wed, 17 Apr 2024 17:56:07 +0900 Subject: [PATCH] [WIN32-MingW Demo] Modify project setting files to resolve compiler errors on Eclipse (#1203) * Exclude unnecessary directories from build. 1. "FreeRTOS/Source/example" 2. "FreeRTOS+Trace Recorder/extras" 3. "FreeRTOS+Trace Recorder/kernelports/BareMetal" 4. "FreeRTOS+Trace Recorder/kernelports/ESP-IDF_FreeRTOS" 5. "FreeRTOS+Trace Recorder/kernelports/ThreadX" 6. "FreeRTOS+Trace Recorder/kernelports/Zephyr" 1 is applied to both of "Debug" configuration and "Debug_CodeCoverage" configuration. Others are applied to only "Debug" configuration because those directories are already excluded from build on "Debug_Coverage" configuration. * Include path setting is modified. 1.Directory name is modified.("Include" -> "include") 2.New path is added.(FreeRTOS+Trace Recorder/kernelports/FreeRTOS/include) These modifications are needed to build "Debug" configuration. They are not needed for "Debug_CodeCoverage" configuration because these paths are not used. But these modifications are applied to both of "Debug" configuration and "Debug_CodeCoverage" configuration because of future potential risk. * [WIN32-MingW Demo] Replace "Exclude from Build" by "Resource Filter". "Resource Filter" is better than "Exclude from Build" because "Resource Filter" makes excluded directories invisible on Eclipse GUI. But some directories are still "Exclude from Build" because they should be excluded only on "Debug_CodeCoverage" configuration. "Resource Filter" cannot be specified to each configuration separately. * Code review suggestions Signed-off-by: Gaurav Aggarwal --------- Signed-off-by: Gaurav Aggarwal Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com> Co-authored-by: Gaurav Aggarwal --- FreeRTOS/Demo/WIN32-MingW/.cproject | 10 +++-- FreeRTOS/Demo/WIN32-MingW/.project | 66 ++++++++++++++++++++++++++--- 2 files changed, 66 insertions(+), 10 deletions(-) diff --git a/FreeRTOS/Demo/WIN32-MingW/.cproject b/FreeRTOS/Demo/WIN32-MingW/.cproject index 0cc3eaa93..89dd1c238 100644 --- a/FreeRTOS/Demo/WIN32-MingW/.cproject +++ b/FreeRTOS/Demo/WIN32-MingW/.cproject @@ -30,7 +30,8 @@