From 55c372729c4d2655aec69d6cc05a700735bed797 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Tue, 17 Sep 2013 09:05:31 +0000 Subject: [PATCH] Remove the math library as a build dependency in the SAM4L demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2041 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../FreeRTOS_Demo.cproj | 468 +++++++++--------- 1 file changed, 247 insertions(+), 221 deletions(-) diff --git a/FreeRTOS/Demo/CORTEX_M4_ATSAM4L_Atmel_Studio/FreeRTOS_Demo.cproj b/FreeRTOS/Demo/CORTEX_M4_ATSAM4L_Atmel_Studio/FreeRTOS_Demo.cproj index 227cab4fd..a4d899029 100644 --- a/FreeRTOS/Demo/CORTEX_M4_ATSAM4L_Atmel_Studio/FreeRTOS_Demo.cproj +++ b/FreeRTOS/Demo/CORTEX_M4_ATSAM4L_Atmel_Studio/FreeRTOS_Demo.cproj @@ -2,8 +2,8 @@ 2.0 - 6.0 - com.Atmel.ARMGCC + 6.1 + com.Atmel.ARMGCC.C {dfc77570-bc67-4ee7-8143-c34e75167169} ATSAM4LC4C sam4l @@ -124,7 +124,11 @@ - + + + + + SWD @@ -158,233 +162,255 @@ + true + true + + + 2 - __ATSAM4LC4C__ - True - True - True - True - True - - - BOARD=SAM4L_EK - ARM_MATH_CM4=true - __ATSAM4LC4C__ - - - False - - - ../src/asf/sam/utils/preprocessor - ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek - ../src/asf/sam/utils/cmsis/sam4l/include - ../src/asf/common/services/sleepmgr - ../src/asf/sam/utils - ../src/asf/common/boards - ../src/asf/sam/drivers/flashcalw - ../src/asf/sam/boards - ../src/asf/common/services/clock - ../src/asf/sam/drivers/bpm - ../src/asf/thirdparty/CMSIS/Include - ../src/asf/sam/boards/sam4l_ek - ../src/asf/sam/utils/header_files - ../src/asf/common/services/ioport - ../src/asf/sam/utils/cmsis/sam4l/source/templates - ../src/asf/common/utils - ../src/asf/thirdparty/CMSIS/Lib/GCC - ../src - ../src/config - ../src/asf/sam/drivers/ast - - - Optimize for size (-Os) - -fdata-sections - True - True - - - arm_cortexM4l_math - m - - - - - ../cmsis/linkerScripts - ../src/asf/thirdparty/CMSIS/Lib/GCC - - - True - -T../src/asf/sam/utils/linker_scripts/sam4l/sam4l4/gcc/flash.ld -Wl,--cref -Wl,--entry=Reset_Handler -mthumb - - - ../src/asf/sam/utils/preprocessor - ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek - ../src/asf/sam/utils/cmsis/sam4l/include - ../src/asf/common/services/sleepmgr - ../src/asf/sam/utils - ../src/asf/common/boards - ../src/asf/sam/drivers/flashcalw - ../src/asf/sam/boards - ../src/asf/common/services/clock - ../src/asf/sam/drivers/bpm - ../src/asf/thirdparty/CMSIS/Include - ../src/asf/sam/boards/sam4l_ek - ../src/asf/sam/utils/header_files - ../src/asf/common/services/ioport - ../src/asf/sam/utils/cmsis/sam4l/source/templates - ../src/asf/common/utils - ../src/asf/thirdparty/CMSIS/Lib/GCC - ../src - ../src/config - ../src/asf/sam/drivers/ast - - - -DARM_MATH_CM4=true -DBOARD=SAM4L_EK -D__ATSAM4LC4C__ - - - ../src/asf/sam/utils/preprocessor - ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek - ../src/asf/sam/utils/cmsis/sam4l/include - ../src/asf/common/services/sleepmgr - ../src/asf/sam/utils - ../src/asf/common/boards - ../src/asf/sam/drivers/flashcalw - ../src/asf/sam/boards - ../src/asf/common/services/clock - ../src/asf/sam/drivers/bpm - ../src/asf/thirdparty/CMSIS/Include - ../src/asf/sam/boards/sam4l_ek - ../src/asf/sam/utils/header_files - ../src/asf/common/services/ioport - ../src/asf/sam/utils/cmsis/sam4l/source/templates - ../src/asf/common/utils - ../src/asf/thirdparty/CMSIS/Lib/GCC - ../src - ../src/config - ../src/asf/sam/drivers/ast - - - + True + True + True + True + True + + + BOARD=SAM4L_EK + ARM_MATH_CM4=true + __ATSAM4LC4C__ + + + False + + + ../src/asf/sam/utils/preprocessor + ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek + ../src/asf/sam/utils/cmsis/sam4l/include + ../src/asf/common/services/sleepmgr + ../src/asf/sam/utils + ../src/asf/common/boards + ../src/asf/sam/drivers/flashcalw + ../src/asf/sam/boards + ../src/asf/common/services/clock + ../src/asf/sam/drivers/bpm + ../src/asf/thirdparty/CMSIS/Include + ../src/asf/sam/boards/sam4l_ek + ../src/asf/sam/utils/header_files + ../src/asf/common/services/ioport + ../src/asf/sam/utils/cmsis/sam4l/source/templates + ../src/asf/common/utils + ../src/asf/thirdparty/CMSIS/Lib/GCC + ../src + ../src/config + ../src/asf/sam/drivers/ast + + + Optimize for size (-Os) + -fdata-sections + True + True + -std=gnu99 -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ + + + arm_cortexM4l_math + libm + + + + + ../cmsis/linkerScripts + ../src/asf/thirdparty/CMSIS/Lib/GCC + + + True + -T../src/asf/sam/utils/linker_scripts/sam4l/sam4l4/gcc/flash.ld -Wl,--cref -Wl,--entry=Reset_Handler -mthumb + -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ + + + ../src/asf/sam/utils/preprocessor + ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek + ../src/asf/sam/utils/cmsis/sam4l/include + ../src/asf/common/services/sleepmgr + ../src/asf/sam/utils + ../src/asf/common/boards + ../src/asf/sam/drivers/flashcalw + ../src/asf/sam/boards + ../src/asf/common/services/clock + ../src/asf/sam/drivers/bpm + ../src/asf/thirdparty/CMSIS/Include + ../src/asf/sam/boards/sam4l_ek + ../src/asf/sam/utils/header_files + ../src/asf/common/services/ioport + ../src/asf/sam/utils/cmsis/sam4l/source/templates + ../src/asf/common/utils + ../src/asf/thirdparty/CMSIS/Lib/GCC + ../src + ../src/config + ../src/asf/sam/drivers/ast + %24(ToolchainDir)\..\..\CMSIS_Atmel + %24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include + %24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL + %24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\sam4l\include + + + -DARM_MATH_CM4=true -DBOARD=SAM4L_EK -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ + + + ../src/asf/sam/utils/preprocessor + ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek + ../src/asf/sam/utils/cmsis/sam4l/include + ../src/asf/common/services/sleepmgr + ../src/asf/sam/utils + ../src/asf/common/boards + ../src/asf/sam/drivers/flashcalw + ../src/asf/sam/boards + ../src/asf/common/services/clock + ../src/asf/sam/drivers/bpm + ../src/asf/thirdparty/CMSIS/Include + ../src/asf/sam/boards/sam4l_ek + ../src/asf/sam/utils/header_files + ../src/asf/common/services/ioport + ../src/asf/sam/utils/cmsis/sam4l/source/templates + ../src/asf/common/utils + ../src/asf/thirdparty/CMSIS/Lib/GCC + ../src + ../src/config + ../src/asf/sam/drivers/ast + %24(ToolchainDir)\..\..\CMSIS_Atmel + %24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include + %24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL + %24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\sam4l\include + + + - __ATSAM4LC4C__ - True - True - True - True - True - - - BOARD=SAM4L_EK - ARM_MATH_CM4=true - __SAM4LC4C__ - - - False - - - ../src/asf/sam/utils/preprocessor - ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek - ../src/asf/sam/utils/cmsis/sam4l/include - ../src/asf/common/services/sleepmgr - ../src/asf/sam/utils - ../src/asf/common/boards - ../src/asf/sam/drivers/flashcalw - ../src/asf/sam/boards - ../src/asf/common/services/clock - ../src/asf/sam/drivers/bpm - ../src/asf/thirdparty/CMSIS/Include - ../src/asf/sam/boards/sam4l_ek - ../src/asf/sam/utils/header_files - ../src/asf/common/services/ioport - ../src/asf/sam/utils/cmsis/sam4l/source/templates - ../src/asf/common/utils - ../src/asf/thirdparty/CMSIS/Lib/GCC - ../src - ../src/config - ../src/asf/sam/drivers/ast - ../../../Source/include - ../../../Source/portable/GCC/ARM_CM3 - ../../Common/include - - - -fdata-sections - True - Maximum (-g3) - True - -std=gnu99 -Wmissing-field-initializers - - - arm_cortexM4l_math - m - - - - - ../cmsis/linkerScripts - ../src/asf/thirdparty/CMSIS/Lib/GCC - - - True - -T../src/asf/sam/utils/linker_scripts/sam4l/sam4l4/gcc/flash.ld -Wl,--cref -Wl,--entry=Reset_Handler -mthumb - - - ../src/asf/sam/utils/preprocessor - ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek - ../src/asf/sam/utils/cmsis/sam4l/include - ../src/asf/common/services/sleepmgr - ../src/asf/sam/utils - ../src/asf/common/boards - ../src/asf/sam/drivers/flashcalw - ../src/asf/sam/boards - ../src/asf/common/services/clock - ../src/asf/sam/drivers/bpm - ../src/asf/thirdparty/CMSIS/Include - ../src/asf/sam/boards/sam4l_ek - ../src/asf/sam/utils/header_files - ../src/asf/common/services/ioport - ../src/asf/sam/utils/cmsis/sam4l/source/templates - ../src/asf/common/utils - ../src/asf/thirdparty/CMSIS/Lib/GCC - ../src - ../src/config - ../src/asf/sam/drivers/ast - - - Default (-g) - -DARM_MATH_CM4=true -DBOARD=SAM4L_EK -D__ATSAM4LC4C__ - - - ../src/asf/sam/utils/preprocessor - ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek - ../src/asf/sam/utils/cmsis/sam4l/include - ../src/asf/common/services/sleepmgr - ../src/asf/sam/utils - ../src/asf/common/boards - ../src/asf/sam/drivers/flashcalw - ../src/asf/sam/boards - ../src/asf/common/services/clock - ../src/asf/sam/drivers/bpm - ../src/asf/thirdparty/CMSIS/Include - ../src/asf/sam/boards/sam4l_ek - ../src/asf/sam/utils/header_files - ../src/asf/common/services/ioport - ../src/asf/sam/utils/cmsis/sam4l/source/templates - ../src/asf/common/utils - ../src/asf/thirdparty/CMSIS/Lib/GCC - ../src - ../src/config - ../src/asf/sam/drivers/ast - - - Default (-Wa,-g) - + True + True + True + True + True + + + BOARD=SAM4L_EK + ARM_MATH_CM4=true + __SAM4LC4C__ + __ATSAM4LC4C__ + + + False + + + ../src/asf/sam/utils/preprocessor + ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek + ../src/asf/sam/utils/cmsis/sam4l/include + ../src/asf/common/services/sleepmgr + ../src/asf/sam/utils + ../src/asf/common/boards + ../src/asf/sam/drivers/flashcalw + ../src/asf/sam/boards + ../src/asf/common/services/clock + ../src/asf/sam/drivers/bpm + ../src/asf/thirdparty/CMSIS/Include + ../src/asf/sam/boards/sam4l_ek + ../src/asf/sam/utils/header_files + ../src/asf/common/services/ioport + ../src/asf/sam/utils/cmsis/sam4l/source/templates + ../src/asf/common/utils + ../src/asf/thirdparty/CMSIS/Lib/GCC + ../src + ../src/config + ../src/asf/sam/drivers/ast + ../../../Source/include + ../../../Source/portable/GCC/ARM_CM3 + ../../Common/include + + + -fdata-sections + True + Maximum (-g3) + True + -std=gnu99 -Wmissing-field-initializers -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ + + + libm + + + + + ../cmsis/linkerScripts + ../src/asf/thirdparty/CMSIS/Lib/GCC + + + True + -T../src/asf/sam/utils/linker_scripts/sam4l/sam4l4/gcc/flash.ld -Wl,--cref -Wl,--entry=Reset_Handler -mthumb + -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ + + + ../src/asf/sam/utils/preprocessor + ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek + ../src/asf/sam/utils/cmsis/sam4l/include + ../src/asf/common/services/sleepmgr + ../src/asf/sam/utils + ../src/asf/common/boards + ../src/asf/sam/drivers/flashcalw + ../src/asf/sam/boards + ../src/asf/common/services/clock + ../src/asf/sam/drivers/bpm + ../src/asf/thirdparty/CMSIS/Include + ../src/asf/sam/boards/sam4l_ek + ../src/asf/sam/utils/header_files + ../src/asf/common/services/ioport + ../src/asf/sam/utils/cmsis/sam4l/source/templates + ../src/asf/common/utils + ../src/asf/thirdparty/CMSIS/Lib/GCC + ../src + ../src/config + ../src/asf/sam/drivers/ast + %24(ToolchainDir)\..\..\CMSIS_Atmel + %24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include + %24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL + %24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\sam4l\include + + + Default (-g) + -DARM_MATH_CM4=true -DBOARD=SAM4L_EK -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ -D__ATSAM4LC4C__ + + + ../src/asf/sam/utils/preprocessor + ../src/asf/sam/drivers/lcdca/example/sam4lc4c_sam4l_ek + ../src/asf/sam/utils/cmsis/sam4l/include + ../src/asf/common/services/sleepmgr + ../src/asf/sam/utils + ../src/asf/common/boards + ../src/asf/sam/drivers/flashcalw + ../src/asf/sam/boards + ../src/asf/common/services/clock + ../src/asf/sam/drivers/bpm + ../src/asf/thirdparty/CMSIS/Include + ../src/asf/sam/boards/sam4l_ek + ../src/asf/sam/utils/header_files + ../src/asf/common/services/ioport + ../src/asf/sam/utils/cmsis/sam4l/source/templates + ../src/asf/common/utils + ../src/asf/thirdparty/CMSIS/Lib/GCC + ../src + ../src/config + ../src/asf/sam/drivers/ast + %24(ToolchainDir)\..\..\CMSIS_Atmel + %24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include + %24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL + %24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\sam4l\include + + + Default (-Wa,-g) + -- 2.39.5