diff options
Diffstat (limited to 'thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE')
5 files changed, 2162 insertions, 0 deletions
diff --git a/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/SysTick.rapp b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/SysTick.rapp new file mode 100644 index 0000000..d36629d --- /dev/null +++ b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/SysTick.rapp @@ -0,0 +1,1336 @@ + +<ApplicationBuild Header="SysTick" Extern=".\SysTick.rapp" Path=".\SysTick.rapp" OutputFile=".\STM32F303C_EVAL\SysTick.elf" sate="98" Config="STM32F303C_EVAL" > + <Group Header="Doc" Marker="-1" OutputFile="" sate="0" > + <NodeText Path="..\readme.txt" Header="readme.txt" Marker="-1" OutputFile="" sate="0" /> + + </Group> + <Group Header="User" Marker="-1" OutputFile="" sate="96" > + <NodeC Path="..\src\main.c" Header="main.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\main.o" sate="0" /> + <NodeC Path="..\src\stm32_it.c" Header="stm32_it.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32_it.o" sate="0" /> + + </Group> + <Configs> + <Config Header="STM3210E-EVAL" /> + <Config Header="STM3210B-EVAL" /> + <Config Header="STM3210E-EVAL_XL" /> + <Config Header="STM32L152-EVAL" /> + <Config Header="STM32L152D-EVAL" /> + <Config Header="STM32373C_EVAL" /> + <Config Header="STM32F303C_EVAL" /> + + </Configs> + <Group Header="STM32F10x" Marker="0" OutputFile="" sate="96" > + <Group Header="CMSIS" Marker="-1" OutputFile="" sate="0" > + <NodeC Path="..\src\system_stm32f10x.c" Header="system_stm32f10x.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\system_stm32f10x.o" sate="0" > + <Options> </Options> + + </NodeC> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\gcc_ride7\startup_stm32f10x_hd.s" Header="startup_stm32f10x_hd.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32f10x_hd.o" sate="0" > + <Options> + <Config Header="STM3210B-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeASM> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\gcc_ride7\startup_stm32f10x_hd_vl.s" Header="startup_stm32f10x_hd_vl.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32f10x_hd_vl.o" sate="0" > + <Options> + <Config Header="STM3210E-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeASM> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\gcc_ride7\startup_stm32f10x_ld.s" Header="startup_stm32f10x_ld.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32f10x_ld.o" sate="0" > + <Options> + <Config Header="STM3210E-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeASM> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\gcc_ride7\startup_stm32f10x_ld_vl.s" Header="startup_stm32f10x_ld_vl.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32f10x_ld_vl.o" sate="0" > + <Options> + <Config Header="STM3210E-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeASM> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\gcc_ride7\startup_stm32f10x_md.s" Header="startup_stm32f10x_md.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32f10x_md.o" sate="0" > + <Options> + <Config Header="STM3210E-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeASM> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\gcc_ride7\startup_stm32f10x_md_vl.s" Header="startup_stm32f10x_md_vl.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32f10x_md_vl.o" sate="0" > + <Options> + <Config Header="STM3210E-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeASM> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\gcc_ride7\startup_stm32f10x_xl.s" Header="startup_stm32f10x_xl.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32f10x_xl.o" sate="0" > + <Options> + <Config Header="STM3210E-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeASM> + + </Group> + <Group Header="STM32F10x_StdPeriph_Driver" Marker="-1" OutputFile="" sate="0" > + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c" Header="stm32f10x_usart.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f10x_usart.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c" Header="misc.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\misc.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c" Header="stm32f10x_dma.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f10x_dma.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c" Header="stm32f10x_exti.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f10x_exti.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c" Header="stm32f10x_flash.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f10x_flash.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c" Header="stm32f10x_gpio.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f10x_gpio.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c" Header="stm32f10x_i2c.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f10x_i2c.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c" Header="stm32f10x_rcc.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f10x_rcc.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c" Header="stm32f10x_sdio.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f10x_sdio.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c" Header="stm32f10x_spi.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f10x_spi.o" sate="0" /> + <Options> + <Config Header="STM32L152-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Group Header="STM3210E-EVAL" Marker="-1" OutputFile="" sate="0" > + <NodeC Path="..\..\..\..\Utilities\STM32_EVAL\STM3210E_EVAL\stm3210e_eval.c" Header="stm3210e_eval.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm3210e_eval.o" sate="0" /> + <Options> + <Config Header="STM3210B-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Group Header="STM3210B_EVAL" Marker="-1" OutputFile="" sate="0" > + <NodeC Path="..\..\..\..\Utilities\STM32_EVAL\STM3210B_EVAL\stm3210b_eval.c" Header="stm3210b_eval.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm3210b_eval.o" sate="0" /> + <Options> + <Config Header="STM3210E-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="No" Removable="1" /> + <Property Header="LinkExclude" Value="No" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Options> + <Config Header="STM32L152-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32L152D-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32373C_EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32F303C_EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Group Header="STM32L1xx" Marker="0" OutputFile="" sate="96" > + <Group Header="CMSIS" Marker="-1" OutputFile="" sate="0" > + <NodeC Path="..\src\system_stm32l1xx.c" Header="system_stm32l1xx.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\system_stm32l1xx.o" sate="0" > + <Options> + <Config Header="STM3210E-EVAL" > + <Set Header="NodeC" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="NodeC" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="NodeC" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="NodeC" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeC> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\gcc_ride7\startup_stm32l1xx_md.s" Header="startup_stm32l1xx_md.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32l1xx_md.o" sate="0" > + <Options> + <Config Header="STM32L152D-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeASM> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\gcc_ride7\startup_stm32l1xx_hd.s" Header="startup_stm32l1xx_hd.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32l1xx_hd.o" sate="0" > + <Options> + <Config Header="STM32L152-EVAL" > + <Set Header="NodeASM" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </NodeASM> + + </Group> + <Group Header="STM32L1xx_StdPeriph_Driver" Marker="-1" OutputFile="" sate="0" > + <NodeC Path="..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_spi.c" Header="stm32l1xx_spi.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l1xx_spi.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_usart.c" Header="stm32l1xx_usart.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l1xx_usart.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\src\misc.c" Header="misc.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\misc.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_dma.c" Header="stm32l1xx_dma.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l1xx_dma.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_exti.c" Header="stm32l1xx_exti.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l1xx_exti.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_flash.c" Header="stm32l1xx_flash.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l1xx_flash.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_gpio.c" Header="stm32l1xx_gpio.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l1xx_gpio.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_i2c.c" Header="stm32l1xx_i2c.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l1xx_i2c.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_rcc.c" Header="stm32l1xx_rcc.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l1xx_rcc.o" sate="0" /> + <Options> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32L152-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="No" Removable="1" /> + <Property Header="LinkExclude" Value="No" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Group Header="STM32L152_EVAL" Marker="-1" OutputFile="" sate="0" > + <NodeC Path="..\..\..\..\Utilities\STM32_EVAL\STM32L152_EVAL\stm32l152_eval.c" Header="stm32l152_eval.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l152_eval.o" sate="0" /> + <Options> + <Config Header="STM32L152D-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Group Header="STM32L152D_EVAL" Marker="-1" OutputFile="" sate="0" > + <NodeC Path="..\..\..\..\Utilities\STM32_EVAL\STM32L152D_EVAL\stm32l152d_eval.c" Header="stm32l152d_eval.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32l152d_eval.o" sate="0" /> + <Options> + <Config Header="STM32L152-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Options> + <Config Header="STM3210E-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210C-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + <Property Header="LinkExclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32373C_EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32F303C_EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Group Header="STM32F37x" Marker="0" OutputFile="" sate="96" > + <Group Header="CMSIS" Marker="-1" OutputFile="" sate="96" > + <NodeC Path="..\src\system_stm32f37x.c" Header="system_stm32f37x.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\system_stm32f37x.o" sate="0" /> + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32F37x\Source\Templates\gcc_ride7\startup_stm32f37x.s" Header="startup_stm32f37x.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32f37x.o" sate="0" /> + + </Group> + <Group Header="STM32373C_EVAL" Marker="-1" OutputFile="" sate="0" > + <NodeC Path="..\..\..\..\Utilities\STM32_EVAL\STM32373C_EVAL\stm32373c_eval.c" Header="stm32373c_eval.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32373c_eval.o" sate="0" /> + + </Group> + <Group Header="STM32F37x_StdPeriph_Driver" Marker="-1" OutputFile="" sate="96" > + <NodeC Path="..\..\..\..\Libraries\STM32F37x_StdPeriph_Driver\src\stm32f37x_pwr.c" Header="stm32f37x_pwr.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f37x_pwr.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F37x_StdPeriph_Driver\src\stm32f37x_rcc.c" Header="stm32f37x_rcc.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f37x_rcc.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F37x_StdPeriph_Driver\src\stm32f37x_dma.c" Header="stm32f37x_dma.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f37x_dma.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F37x_StdPeriph_Driver\src\stm32f37x_exti.c" Header="stm32f37x_exti.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f37x_exti.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F37x_StdPeriph_Driver\src\stm32f37x_flash.c" Header="stm32f37x_flash.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f37x_flash.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F37x_StdPeriph_Driver\src\stm32f37x_gpio.c" Header="stm32f37x_gpio.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f37x_gpio.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F37x_StdPeriph_Driver\src\stm32f37x_misc.c" Header="stm32f37x_misc.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f37x_misc.o" sate="0" /> + + </Group> + <Options> + <Config Header="STM32L152D-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32F303C_EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32L152-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Group Header="STM32F30X" Marker="-1" OutputFile="" sate="96" > + <Group Header="CMSIS" Marker="-1" OutputFile="" sate="96" > + <NodeASM Path="..\..\..\..\Libraries\CMSIS\Device\ST\STM32F30x\Source\Templates\gcc_ride7\startup_stm32f30x.s" Header="startup_stm32f30x.s" Marker="-1" OutputFile=".\STM32F303C_EVAL\startup_stm32f30x.o" sate="0" /> + <NodeC Path="..\src\system_stm32f30x.c" Header="system_stm32f30x.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\system_stm32f30x.o" sate="0" /> + + </Group> + <Group Header="STM32F30x_StdPeriph_Driver" Marker="-1" OutputFile="" sate="96" > + <NodeC Path="..\..\..\..\Libraries\STM32F30x_StdPeriph_Driver\src\stm32f30x_misc.c" Header="stm32f30x_misc.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f30x_misc.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F30x_StdPeriph_Driver\src\stm32f30x_pwr.c" Header="stm32f30x_pwr.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f30x_pwr.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F30x_StdPeriph_Driver\src\stm32f30x_rcc.c" Header="stm32f30x_rcc.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f30x_rcc.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F30x_StdPeriph_Driver\src\stm32f30x_dma.c" Header="stm32f30x_dma.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f30x_dma.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F30x_StdPeriph_Driver\src\stm32f30x_exti.c" Header="stm32f30x_exti.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f30x_exti.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F30x_StdPeriph_Driver\src\stm32f30x_flash.c" Header="stm32f30x_flash.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f30x_flash.o" sate="0" /> + <NodeC Path="..\..\..\..\Libraries\STM32F30x_StdPeriph_Driver\src\stm32f30x_gpio.c" Header="stm32f30x_gpio.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32f30x_gpio.o" sate="0" /> + + </Group> + <Group Header="STM32303C_EVAL" Marker="-1" OutputFile="" sate="96" > + <NodeC Path="..\..\..\..\Utilities\STM32_EVAL\STM32303C_EVAL\stm32303c_eval.c" Header="stm32303c_eval.c" Marker="-1" OutputFile=".\STM32F303C_EVAL\stm32303c_eval.o" sate="0" /> + + </Group> + <Options> + <Config Header="STM32L152D-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32L152-EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32373C_EVAL" > + <Set Header="Group" > + <Section Header="Build" > + <Property Header="Exclude" Value="Yes" Removable="1" /> + + </Section> + + </Set> + + </Config> + + </Options> + + </Group> + <Options> + <Config Header="Standard" > + <Set Header="ApplicationBuild" > + <Section Header="General" > + <Property Header="TargetFamily" Value="ARM" /> + + </Section> + <Section Header="Directories" > + <Property Header="IncDir" Value="..\inc;..\..\..\..\Libraries\CMSIS\CM3\CoreSupport;..\..\..\..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x;..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\inc;..\..\..\..\Utilities\STM32_EVAL" Removable="1" /> + <Property Header="OutDir" Value="$(ApplicationDir)\Obj" Removable="1" /> + <Property Header="ListDir" Value="$(ApplicationDir)\Lst" Removable="1" /> + + </Section> + + </Set> + <Set Header="Target" > + <Section Header="ProcessorARM" > + <Property Header="Processor" Value="STM32F103ZET6" /> + + </Section> + <Section Header="ToolSetARM" > + <Property Header="BuildToolSetARM" Value="ARM\\GNU.config" Removable="1" /> + + </Section> + + </Set> + <Set Header="LD" > + <Section Header="Scripts" > + <Property Header="SCRIPTFILES" Value="Yes" Removable="1" /> + <Property Header="File" Value="stm32f10x_flash_offset.ld" Removable="1" /> + + </Section> + <Section Header="LIB" > + <Property Header="STLIB" Value="0" Removable="1" /> + <Property Header="UART0PUTC" Value="0" Removable="1" /> + + </Section> + <Section Header="Startup" > + <Property Header="DEFAULTSTARTUP" Value="Yes" Removable="1" /> + <Property Header="File" Value="" Removable="1" /> + + </Section> + + </Set> + <Set Header="GCC" > + <Section Header="Defines" > + <Property Header="Defines" Value="USE_STM3210E_EVAL; STM32F10X_HD; USE_STDPERIPH_DRIVER" Removable="1" /> + + </Section> + <Section Header="OPTIMIZE" > + <Property Header="Optimize" Value="-Os" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM3210E-EVAL" > + <Set Header="GCC" > + <Section Header="Defines" > + <Property Header="Defines" Value="USE_STM3210E_EVAL; STM32F10X_HD; USE_STDPERIPH_DRIVER" Removable="1" /> + + </Section> + <Section Header="OPTIMIZE" > + <Property Header="Optimize" Value="-Os" Removable="1" /> + + </Section> + + </Set> + <Set Header="ApplicationBuild" > + <Section Header="Directories" > + <Property Header="OutDir" Value="$(ApplicationDir)\STM3210E-EVAL" Removable="1" /> + <Property Header="IncDir" Value="..\inc;..\..\..\..\Libraries\CMSIS\Include;..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Include;..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\inc;..\..\..\..\Utilities\STM32_EVAL\STM3210E_EVAL;..\..\..\..\Utilities\STM32_EVAL\Common" Removable="1" /> + <Property Header="ListDir" Value="$(ApplicationDir)\STM3210E-EVAL" Removable="1" /> + + </Section> + + </Set> + <Set Header="LD" > + <Section Header="Scripts" > + <Property Header="File" Value="stm32f10x_hd_flash_offset.ld" Removable="1" /> + <Property Header="SCRIPTFILES" Value="No" Removable="1" /> + + </Section> + <Section Header="Startup" > + <Property Header="DEFAULTSTARTUP" Value="No" Removable="1" /> + <Property Header="File" Value="" Removable="1" /> + + </Section> + + </Set> + <Set Header="Target" > + <Section Header="ToolSetARM" > + <Property Header="BuildToolSetARM" Value="ARM\GNU.config" /> + + </Section> + + </Set> + </Config> + <Config Header="STM3210B-EVAL" > + <Set Header="Target" > + <Section Header="ProcessorARM" > + <Property Header="Processor" Value="STM32F103VBT6" /> + + </Section> + <Section Header="ToolSetARM" > + <Property Header="BuildToolSetARM" Value="ARM\GNU.config" /> + + </Section> + + </Set> + <Set Header="GCC" > + <Section Header="Defines" > + <Property Header="Defines" Value="USE_STM3210B_EVAL; STM32F10X_MD; USE_STDPERIPH_DRIVER" Removable="1" /> + + </Section> + <Section Header="OPTIMIZE" > + <Property Header="Optimize" Value="-Os" Removable="1" /> + + </Section> + + </Set> + <Set Header="ApplicationBuild" > + <Section Header="Directories" > + <Property Header="OutDir" Value="$(ApplicationDir)\STM3210B-EVAL" Removable="1" /> + <Property Header="IncDir" Value="..\inc;..\..\..\..\Libraries\CMSIS\Include;..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Include;..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\inc;..\..\..\..\Utilities\STM32_EVAL\STM3210B_EVAL;..\..\..\..\Utilities\STM32_EVAL\Common" Removable="1" /> + <Property Header="ListDir" Value="$(ApplicationDir)\STM3210B-EVAL" Removable="1" /> + + </Section> + + </Set> + <Set Header="LD" > + <Section Header="Scripts" > + <Property Header="File" Value="stm32f10x_md_flash_offset.ld" Removable="1" /> + <Property Header="SCRIPTFILES" Value="No" Removable="1" /> + <Property Header="StarterKitLimit" Value="No" Removable="1" /> + + </Section> + <Section Header="Startup" > + <Property Header="DEFAULTSTARTUP" Value="No" Removable="1" /> + <Property Header="File" Value="" Removable="1" /> + + </Section> + + </Set> + </Config> + <Config Header="STM3210E-EVAL_XL" > + <Set Header="ApplicationBuild" > + <Section Header="Directories" > + <Property Header="IncDir" Value="..\inc;..\..\..\..\Libraries\CMSIS\Include;..\..\..\..\Libraries\CMSIS\Device\ST\STM32F10x\Include;..\..\..\..\Libraries\STM32F10x_StdPeriph_Driver\inc;..\..\..\..\Utilities\STM32_EVAL\STM3210E_EVAL;..\..\..\..\Utilities\STM32_EVAL\Common" Removable="1" /> + <Property Header="OutDir" Value="$(ApplicationDir)\STM3210E-EVAL_XL" Removable="1" /> + <Property Header="ListDir" Value="$(ApplicationDir)\STM3210E-EVAL_XL" Removable="1" /> + + </Section> + + </Set> + <Set Header="GCC" > + <Section Header="Defines" > + <Property Header="Defines" Value="USE_STM3210E_EVAL;STM32F10X_HD;USE_STDPERIPH_DRIVER" Removable="1" /> + + </Section> + <Section Header="OPTIMIZE" > + <Property Header="Optimize" Value="-Os" Removable="1" /> + + </Section> + + </Set> + <Set Header="LD" > + <Section Header="Scripts" > + <Property Header="File" Value="stm32f10x_xl_flash_offset.ld" Removable="1" /> + <Property Header="StarterKitLimit" Value="No" Removable="1" /> + <Property Header="SCRIPTFILES" Value="No" Removable="1" /> + + </Section> + <Section Header="Startup" > + <Property Header="DEFAULTSTARTUP" Value="No" Removable="1" /> + <Property Header="File" Value="" Removable="1" /> + + </Section> + + </Set> + <Set Header="Target" > + <Section Header="ProcessorARM" > + <Property Header="Processor" Value="STM32F103ZGT6" /> + + </Section> + <Section Header="ToolSetARM" > + <Property Header="BuildToolSetARM" Value="ARM\GNU.config" /> + + </Section> + + </Set> + </Config> + <Config Header="STM32L152-EVAL" > + <Set Header="ApplicationBuild" > + <Section Header="Directories" > + <Property Header="IncDir" Value="..\inc;..\..\..\..\Libraries\CMSIS\Include;..\..\..\..\Libraries\CMSIS\Device\ST\STM32L1xx\Include;..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\inc;..\..\..\..\Utilities\STM32_EVAL\STM32L152_EVAL;..\..\..\..\Utilities\STM32_EVAL\Common" Removable="1" /> + <Property Header="OutDir" Value="$(ApplicationDir)\STM32L152-EVAL" Removable="1" /> + <Property Header="ListDir" Value="$(ApplicationDir)\STM32L152-EVAL" Removable="1" /> + + </Section> + + </Set> + <Set Header="Target" > + <Section Header="ProcessorARM" > + <Property Header="Processor" Value="STM32L152VBT6" /> + + </Section> + <Section Header="ToolSetARM" > + <Property Header="BuildToolSetARM" Value="ARM\GNU.config" /> + + </Section> + + </Set> + <Set Header="GCC" > + <Section Header="Defines" > + <Property Header="Defines" Value="USE_STDPERIPH_DRIVER; STM32L1XX_MD; USE_STM32L152_EVAL" Removable="1" /> + + </Section> + <Section Header="OPTIMIZE" > + <Property Header="Optimize" Value="-Os" Removable="1" /> + + </Section> + + </Set> + <Set Header="LD" > + <Section Header="Startup" > + <Property Header="DEFAULTSTARTUP" Value="No" Removable="1" /> + <Property Header="File" Value="" Removable="1" /> + + </Section> + <Section Header="Scripts" > + <Property Header="StarterKitLimit" Value="No" Removable="1" /> + <Property Header="SCRIPTFILES" Value="No" Removable="1" /> + <Property Header="File" Value="$(ApplicationDir)\stm32l1xx_md_flash_offset.ld" Removable="1" /> + + </Section> + + </Set> + </Config> + <Config Header="STM32L152D-EVAL" > + <Set Header="Target" > + <Section Header="ToolSetARM" > + <Property Header="BuildToolSetARM" Value="ARM\GNU.config" /> + + </Section> + <Section Header="ProcessorARM" > + <Property Header="Processor" Value="STM32L152ZD" /> + + </Section> + + </Set> + <Set Header="ApplicationBuild" > + <Section Header="Directories" > + <Property Header="IncDir" Value="..\inc;..\..\..\..\Libraries\CMSIS\Include;..\..\..\..\Libraries\CMSIS\Device\ST\STM32L1xx\Include;..\..\..\..\Libraries\STM32L1xx_StdPeriph_Driver\inc;..\..\..\..\Utilities\STM32_EVAL\STM32L152D_EVAL;..\..\..\..\Utilities\STM32_EVAL\Common" Removable="1" /> + <Property Header="OutDir" Value="$(ApplicationDir)\STM32L152D_EVAL" Removable="1" /> + <Property Header="ListDir" Value="$(ApplicationDir)\STM32L152D_EVAL" Removable="1" /> + + </Section> + + </Set> + <Set Header="GCC" > + <Section Header="Defines" > + <Property Header="Defines" Value="USE_STDPERIPH_DRIVER; STM32L1XX_HD; USE_STM32L152D_EVAL" Removable="1" /> + + </Section> + <Section Header="OPTIMIZE" > + <Property Header="Optimize" Value="-Os" Removable="1" /> + + </Section> + + </Set> + <Set Header="LD" > + <Section Header="Startup" > + <Property Header="DEFAULTSTARTUP" Value="No" Removable="1" /> + <Property Header="File" Value="" Removable="1" /> + + </Section> + <Section Header="Scripts" > + <Property Header="StarterKitLimit" Value="No" Removable="1" /> + <Property Header="SCRIPTFILES" Value="No" Removable="1" /> + <Property Header="File" Value="stm32l1xx_hd_flash_offset.ld" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32373C_EVAL" > + <Set Header="Target" > + <Section Header="ToolSetARM" > + <Property Header="BuildToolSetARM" Value="ARM\GNU.config" /> + + </Section> + <Section Header="ProcessorARM" > + <Property Header="Processor" Value="STM32F373xC" /> + + </Section> + + </Set> + <Set Header="ApplicationBuild" > + <Section Header="Directories" > + <Property Header="IncDir" Value="..\inc;..\..\..\..\Libraries\CMSIS\Include;..\..\..\..\Libraries\STM32F37x_StdPeriph_Driver\inc;..\..\..\..\Utilities\STM32_EVAL;..\..\..\..\Utilities\STM32_EVAL\STM32373C_EVAL;..\..\..\..\Libraries\CMSIS\Device\ST\STM32F37x\Include;..\..\..\..\Utilities\STM32_EVAL\Common" Removable="1" /> + <Property Header="OutDir" Value="$(ApplicationDir)\STM32F373C_EVAL" Removable="1" /> + <Property Header="ListDir" Value="$(ApplicationDir)\STM32F373C_EVAL" Removable="1" /> + + </Section> + + </Set> + <Set Header="GCC" > + <Section Header="Defines" > + <Property Header="Defines" Value="USE_STDPERIPH_DRIVER;STM32F37X;USE_STM32373C_EVAL" Removable="1" /> + + </Section> + <Section Header="OPTIMIZE" > + <Property Header="Optimize" Value="-Os" Removable="1" /> + + </Section> + + </Set> + <Set Header="LD" > + <Section Header="Startup" > + <Property Header="DEFAULTSTARTUP" Value="No" Removable="1" /> + <Property Header="File" Value="" Removable="1" /> + + </Section> + <Section Header="Scripts" > + <Property Header="StarterKitLimit" Value="No" Removable="1" /> + <Property Header="SCRIPTFILES" Value="No" Removable="1" /> + <Property Header="File" Value="stm32f37x_flash_offset.ld" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32F37C_EVAL" > + <Set Header="Target" > + <Section Header="ToolSetARM" > + <Property Header="BuildToolSetARM" Value="ARM\GNU.config" /> + + </Section> + + </Set> + <Set Header="LD" > + <Section Header="Scripts" > + <Property Header="StarterKitLimit" Value="No" Removable="1" /> + + </Section> + + </Set> + + </Config> + <Config Header="STM32F303C_EVAL" > + <Set Header="Target" > + <Section Header="ToolSetARM" > + <Property Header="BuildToolSetARM" Value="ARM\GNU.config" /> + + </Section> + <Section Header="ProcessorARM" > + <Property Header="Processor" Value="STM32F303xC" /> + + </Section> + + </Set> + <Set Header="ApplicationBuild" > + <Section Header="Directories" > + <Property Header="IncDir" Value="..\inc;..\..\..\..\Libraries\CMSIS\Device\ST\STM32F30x\Include;..\..\..\..\Libraries\STM32F30x_StdPeriph_Driver\inc;..\..\..\..\Utilities\STM32_EVAL;..\..\..\..\Utilities\STM32_EVAL\Common;..\..\..\..\Libraries\CMSIS\Include;..\..\..\..\Utilities\STM32_EVAL\STM32303C_EVAL" Removable="1" /> + <Property Header="OutDir" Value="$(ApplicationDir)\STM32F303C_EVAL" Removable="1" /> + <Property Header="ListDir" Value="$(ApplicationDir)\STM32F303_EVAL" Removable="1" /> + + </Section> + + </Set> + <Set Header="GCC" > + <Section Header="Defines" > + <Property Header="Defines" Value="USE_STDPERIPH_DRIVER;STM32F30X;USE_STM32303C_EVAL" Removable="1" /> + + </Section> + <Section Header="OPTIMIZE" > + <Property Header="Optimize" Value="-Os" Removable="1" /> + + </Section> + + </Set> + <Set Header="LD" > + <Section Header="Startup" > + <Property Header="DEFAULTSTARTUP" Value="No" Removable="1" /> + <Property Header="File" Value="" Removable="1" /> + + </Section> + <Section Header="Scripts" > + <Property Header="StarterKitLimit" Value="No" Removable="1" /> + <Property Header="SCRIPTFILES" Value="No" Removable="1" /> + <Property Header="File" Value="stm32f30x_flash_offset.ld" Removable="1" /> + + </Section> + + </Set> + + </Config> + </Options> +</ApplicationBuild>
\ No newline at end of file diff --git a/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32f10x_hd_flash_offset.ld b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32f10x_hd_flash_offset.ld new file mode 100644 index 0000000..6d98d85 --- /dev/null +++ b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32f10x_hd_flash_offset.ld @@ -0,0 +1,242 @@ +/* +Default linker script for STM32F10x_512K_64K +Copyright RAISONANCE S.A.S. 2008 +*/ + +/* include the common STM32F10x sub-script */ + +/* Common part of the linker scripts for STM32 devices*/ + + +/* default stack sizes. + +These are used by the startup in order to allocate stacks for the different modes. +*/ + +__Stack_Size = 1024 ; + +PROVIDE ( _Stack_Size = __Stack_Size ) ; + +__Stack_Init = _estack - __Stack_Size ; + +/*"PROVIDE" allows to easily override these values from an object file or the commmand line.*/ +PROVIDE ( _Stack_Init = __Stack_Init ) ; + +/* +There will be a link error if there is not this amount of RAM free at the end. +*/ +_Minimum_Stack_Size = 0x100 ; + + +/* include the memory spaces definitions sub-script */ +/* +Linker subscript for STM32F10x definitions with 512K Flash and 64K RAM */ + +/* Memory Spaces Definitions */ + +MEMORY +{ + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K + FLASH (rx) : ORIGIN = 0x8003000, LENGTH = 512K-0x3000 + FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0 + EXTMEMB0 (rx) : ORIGIN = 0x00000000, LENGTH = 0 + EXTMEMB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0 + EXTMEMB2 (rx) : ORIGIN = 0x00000000, LENGTH = 0 + EXTMEMB3 (rx) : ORIGIN = 0x00000000, LENGTH = 0 +} + +/* higher address of the user mode stack */ +_estack = 0x20010000; + + + +/* include the sections management sub-script for FLASH mode */ + +/* Sections Definitions */ + +SECTIONS +{ + /* for Cortex devices, the beginning of the startup code is stored in the .isr_vector section, which goes to FLASH */ + .isr_vector : + { + . = ALIGN(4); + KEEP(*(.isr_vector)) /* Startup code */ + . = ALIGN(4); + } >FLASH + + + .flashtext : + { + . = ALIGN(4); + *(.flashtext) /* Startup code */ + . = ALIGN(4); + } >FLASH + + + /* the program code is stored in the .text section, which goes to Flash */ + .text : + { + . = ALIGN(4); + + *(.text) /* remaining code */ + *(.text.*) /* remaining code */ + *(.rodata) /* read-only data (constants) */ + *(.rodata*) + *(.glue_7) + *(.glue_7t) + + . = ALIGN(4); + _etext = .; + /* This is used by the startup in order to initialize the .data secion */ + _sidata = _etext; + } >FLASH + + + + /* This is the initialized data section + The program executes knowing that the data is in the RAM + but the loader puts the initial values in the FLASH (inidata). + It is one task of the startup to copy the initial values from FLASH to RAM. */ + .data : AT ( _sidata ) + { + . = ALIGN(4); + /* This is used by the startup in order to initialize the .data secion */ + _sdata = . ; + + *(.data) + *(.data.*) + + . = ALIGN(4); + /* This is used by the startup in order to initialize the .data secion */ + _edata = . ; + } >RAM + + + + /* This is the uninitialized data section */ + .bss : + { + . = ALIGN(4); + /* This is used by the startup in order to initialize the .bss secion */ + _sbss = .; + + *(.bss) + *(COMMON) + + . = ALIGN(4); + /* This is used by the startup in order to initialize the .bss secion */ + _ebss = . ; + } >RAM + + PROVIDE ( end = _ebss ); + PROVIDE ( _end = _ebss ); + + /* This is the user stack section + This is just to check that there is enough RAM left for the User mode stack + It should generate an error if it's full. + */ + ._usrstack : + { + . = ALIGN(4); + _susrstack = . ; + + . = . + _Minimum_Stack_Size ; + + . = ALIGN(4); + _eusrstack = . ; + } >RAM + + + + /* this is the FLASH Bank1 */ + /* the C or assembly source must explicitly place the code or data there + using the "section" attribute */ + .b1text : + { + *(.b1text) /* remaining code */ + *(.b1rodata) /* read-only data (constants) */ + *(.b1rodata*) + } >FLASHB1 + + /* this is the EXTMEM */ + /* the C or assembly source must explicitly place the code or data there + using the "section" attribute */ + + /* EXTMEM Bank0 */ + .eb0text : + { + *(.eb0text) /* remaining code */ + *(.eb0rodata) /* read-only data (constants) */ + *(.eb0rodata*) + } >EXTMEMB0 + + /* EXTMEM Bank1 */ + .eb1text : + { + *(.eb1text) /* remaining code */ + *(.eb1rodata) /* read-only data (constants) */ + *(.eb1rodata*) + } >EXTMEMB1 + + /* EXTMEM Bank2 */ + .eb2text : + { + *(.eb2text) /* remaining code */ + *(.eb2rodata) /* read-only data (constants) */ + *(.eb2rodata*) + } >EXTMEMB2 + + /* EXTMEM Bank0 */ + .eb3text : + { + *(.eb3text) /* remaining code */ + *(.eb3rodata) /* read-only data (constants) */ + *(.eb3rodata*) + } >EXTMEMB3 + + + + /* after that it's only debugging information. */ + + /* remove the debugging information from the standard libraries */ + DISCARD : + { + libc.a ( * ) + libm.a ( * ) + libgcc.a ( * ) + } + + /* Stabs debugging sections. */ + .stab 0 : { *(.stab) } + .stabstr 0 : { *(.stabstr) } + .stab.excl 0 : { *(.stab.excl) } + .stab.exclstr 0 : { *(.stab.exclstr) } + .stab.index 0 : { *(.stab.index) } + .stab.indexstr 0 : { *(.stab.indexstr) } + .comment 0 : { *(.comment) } + /* DWARF debug sections. + Symbols in the DWARF debugging sections are relative to the beginning + of the section so we begin them at 0. */ + /* DWARF 1 */ + .debug 0 : { *(.debug) } + .line 0 : { *(.line) } + /* GNU DWARF 1 extensions */ + .debug_srcinfo 0 : { *(.debug_srcinfo) } + .debug_sfnames 0 : { *(.debug_sfnames) } + /* DWARF 1.1 and DWARF 2 */ + .debug_aranges 0 : { *(.debug_aranges) } + .debug_pubnames 0 : { *(.debug_pubnames) } + /* DWARF 2 */ + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } + .debug_str 0 : { *(.debug_str) } + .debug_loc 0 : { *(.debug_loc) } + .debug_macinfo 0 : { *(.debug_macinfo) } + /* SGI/MIPS DWARF 2 extensions */ + .debug_weaknames 0 : { *(.debug_weaknames) } + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } +} diff --git a/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32f30x_flash_offset.ld b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32f30x_flash_offset.ld new file mode 100644 index 0000000..5bfdec7 --- /dev/null +++ b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32f30x_flash_offset.ld @@ -0,0 +1,242 @@ +/* +Default linker script for STM32F37x_256K_32K +Copyright RAISONANCE S.A.S. 2008 +*/ + +/* include the common STM32F30x sub-script */ + +/* Common part of the linker scripts for STM32 devices*/ + + +/* default stack sizes. + +These are used by the startup in order to allocate stacks for the different modes. +*/ + +__Stack_Size = 1024 ; + +PROVIDE ( _Stack_Size = __Stack_Size ) ; + +__Stack_Init = _estack - __Stack_Size ; + +/*"PROVIDE" allows to easily override these values from an object file or the commmand line.*/ +PROVIDE ( _Stack_Init = __Stack_Init ) ; + +/* +There will be a link error if there is not this amount of RAM free at the end. +*/ +_Minimum_Stack_Size = 0x100 ; + + +/* include the memory spaces definitions sub-script */ +/* +Linker subscript for STM32F30x definitions with 256K Flash and 32K RAM */ + +/* Memory Spaces Definitions */ + +MEMORY +{ + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K + FLASH (rx) : ORIGIN = 0x8003000, LENGTH = 256K-0x3000 + FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0 + EXTMEMB0 (rx) : ORIGIN = 0x00000000, LENGTH = 0 + EXTMEMB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0 + EXTMEMB2 (rx) : ORIGIN = 0x00000000, LENGTH = 0 + EXTMEMB3 (rx) : ORIGIN = 0x00000000, LENGTH = 0 +} + +/* higher address of the user mode stack */ +_estack = 0x20008000; + + + +/* include the sections management sub-script for FLASH mode */ + +/* Sections Definitions */ + +SECTIONS +{ + /* for Cortex devices, the beginning of the startup code is stored in the .isr_vector section, which goes to FLASH */ + .isr_vector : + { + . = ALIGN(4); + KEEP(*(.isr_vector)) /* Startup code */ + . = ALIGN(4); + } >FLASH + + + .flashtext : + { + . = ALIGN(4); + *(.flashtext) /* Startup code */ + . = ALIGN(4); + } >FLASH + + + /* the program code is stored in the .text section, which goes to Flash */ + .text : + { + . = ALIGN(4); + + *(.text) /* remaining code */ + *(.text.*) /* remaining code */ + *(.rodata) /* read-only data (constants) */ + *(.rodata*) + *(.glue_7) + *(.glue_7t) + + . = ALIGN(4); + _etext = .; + /* This is used by the startup in order to initialize the .data secion */ + _sidata = _etext; + } >FLASH + + + + /* This is the initialized data section + The program executes knowing that the data is in the RAM + but the loader puts the initial values in the FLASH (inidata). + It is one task of the startup to copy the initial values from FLASH to RAM. */ + .data : AT ( _sidata ) + { + . = ALIGN(4); + /* This is used by the startup in order to initialize the .data secion */ + _sdata = . ; + + *(.data) + *(.data.*) + + . = ALIGN(4); + /* This is used by the startup in order to initialize the .data secion */ + _edata = . ; + } >RAM + + + + /* This is the uninitialized data section */ + .bss : + { + . = ALIGN(4); + /* This is used by the startup in order to initialize the .bss secion */ + _sbss = .; + + *(.bss) + *(COMMON) + + . = ALIGN(4); + /* This is used by the startup in order to initialize the .bss secion */ + _ebss = . ; + } >RAM + + PROVIDE ( end = _ebss ); + PROVIDE ( _end = _ebss ); + + /* This is the user stack section + This is just to check that there is enough RAM left for the User mode stack + It should generate an error if it's full. + */ + ._usrstack : + { + . = ALIGN(4); + _susrstack = . ; + + . = . + _Minimum_Stack_Size ; + + . = ALIGN(4); + _eusrstack = . ; + } >RAM + + + + /* this is the FLASH Bank1 */ + /* the C or assembly source must explicitly place the code or data there + using the "section" attribute */ + .b1text : + { + *(.b1text) /* remaining code */ + *(.b1rodata) /* read-only data (constants) */ + *(.b1rodata*) + } >FLASHB1 + + /* this is the EXTMEM */ + /* the C or assembly source must explicitly place the code or data there + using the "section" attribute */ + + /* EXTMEM Bank0 */ + .eb0text : + { + *(.eb0text) /* remaining code */ + *(.eb0rodata) /* read-only data (constants) */ + *(.eb0rodata*) + } >EXTMEMB0 + + /* EXTMEM Bank1 */ + .eb1text : + { + *(.eb1text) /* remaining code */ + *(.eb1rodata) /* read-only data (constants) */ + *(.eb1rodata*) + } >EXTMEMB1 + + /* EXTMEM Bank2 */ + .eb2text : + { + *(.eb2text) /* remaining code */ + *(.eb2rodata) /* read-only data (constants) */ + *(.eb2rodata*) + } >EXTMEMB2 + + /* EXTMEM Bank0 */ + .eb3text : + { + *(.eb3text) /* remaining code */ + *(.eb3rodata) /* read-only data (constants) */ + *(.eb3rodata*) + } >EXTMEMB3 + + + + /* after that it's only debugging information. */ + + /* remove the debugging information from the standard libraries */ + DISCARD : + { + libc.a ( * ) + libm.a ( * ) + libgcc.a ( * ) + } + + /* Stabs debugging sections. */ + .stab 0 : { *(.stab) } + .stabstr 0 : { *(.stabstr) } + .stab.excl 0 : { *(.stab.excl) } + .stab.exclstr 0 : { *(.stab.exclstr) } + .stab.index 0 : { *(.stab.index) } + .stab.indexstr 0 : { *(.stab.indexstr) } + .comment 0 : { *(.comment) } + /* DWARF debug sections. + Symbols in the DWARF debugging sections are relative to the beginning + of the section so we begin them at 0. */ + /* DWARF 1 */ + .debug 0 : { *(.debug) } + .line 0 : { *(.line) } + /* GNU DWARF 1 extensions */ + .debug_srcinfo 0 : { *(.debug_srcinfo) } + .debug_sfnames 0 : { *(.debug_sfnames) } + /* DWARF 1.1 and DWARF 2 */ + .debug_aranges 0 : { *(.debug_aranges) } + .debug_pubnames 0 : { *(.debug_pubnames) } + /* DWARF 2 */ + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } + .debug_str 0 : { *(.debug_str) } + .debug_loc 0 : { *(.debug_loc) } + .debug_macinfo 0 : { *(.debug_macinfo) } + /* SGI/MIPS DWARF 2 extensions */ + .debug_weaknames 0 : { *(.debug_weaknames) } + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } +} diff --git a/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32l1xx_hd_flash_offset.ld b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32l1xx_hd_flash_offset.ld new file mode 100644 index 0000000..664b998 --- /dev/null +++ b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32l1xx_hd_flash_offset.ld @@ -0,0 +1,171 @@ +/* +***************************************************************************** +** +** File : stm32_flash.ld +** +** Abstract : Linker script for stm32l1xx_hd Device with +** 384KByte FLASH, 48KByte RAM +** +** Set heap size, stack size and stack location according +** to application requirements. +** +** Set memory bank area and size if external memory is used. +** +** Target : STMicroelectronics STM32 +** +** Environment : Atollic TrueSTUDIO(R) +** +** Distribution: The file is distributed “as is,” without any warranty +** of any kind. +** +** (c)Copyright Atollic AB. +** You may use this file as-is or modify it according to the needs of your +** project. Distribution of this file (unmodified or modified) is not +** permitted. Atollic AB permit registered Atollic TrueSTUDIO(R) users the +** rights to distribute the assembled, compiled & linked contents of this +** file as part of an application binary file, provided that it is built +** using the Atollic TrueSTUDIO(R) toolchain. +** +***************************************************************************** +*/ + +/* Entry Point */ +ENTRY(Reset_Handler) + +/* Highest address of the user mode stack */ +_estack = 0x2000C000; /* end of 16K RAM */ + +/* Generate a link error if heap and stack don't fit into RAM */ +_Min_Heap_Size = 0; /* required amount of heap */ +_Min_Stack_Size = 0x80; /* required amount of stack */ + +/* Specify the memory areas */ +MEMORY +{ + FLASH (rx) : ORIGIN = 0x08003000, LENGTH = 384K - 0x3000 + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 48K + MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K +} + +/* Define output sections */ +SECTIONS +{ + /* The startup code goes first into FLASH */ + .isr_vector : + { + . = ALIGN(4); + KEEP(*(.isr_vector)) /* Startup code */ + . = ALIGN(4); + } >FLASH + + /* The program code and other data goes into FLASH */ + .text : + { + . = ALIGN(4); + *(.text) /* .text sections (code) */ + *(.text*) /* .text* sections (code) */ + *(.rodata) /* .rodata sections (constants, strings, etc.) */ + *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ + *(.glue_7) /* glue arm to thumb code */ + *(.glue_7t) /* glue thumb to arm code */ + *(.eh_frame) + + KEEP (*(.init)) + KEEP (*(.fini)) + + . = ALIGN(4); + _etext = .; /* define a global symbols at end of code */ + } >FLASH + + + .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH + .ARM : { + __exidx_start = .; + *(.ARM.exidx*) + __exidx_end = .; + } >FLASH + + .preinit_array : + { + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP (*(.preinit_array*)) + PROVIDE_HIDDEN (__preinit_array_end = .); + } >FLASH + .init_array : + { + PROVIDE_HIDDEN (__init_array_start = .); + KEEP (*(SORT(.init_array.*))) + KEEP (*(.init_array*)) + PROVIDE_HIDDEN (__init_array_end = .); + } >FLASH + .fini_array : + { + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP (*(.fini_array*)) + KEEP (*(SORT(.fini_array.*))) + PROVIDE_HIDDEN (__fini_array_end = .); + } >FLASH + + /* used by the startup to initialize data */ + _sidata = .; + + /* Initialized data sections goes into RAM, load LMA copy after code */ + .data : AT ( _sidata ) + { + . = ALIGN(4); + _sdata = .; /* create a global symbol at data start */ + *(.data) /* .data sections */ + *(.data*) /* .data* sections */ + + . = ALIGN(4); + _edata = .; /* define a global symbol at data end */ + } >RAM + + /* Uninitialized data section */ + . = ALIGN(4); + .bss : + { + /* This is used by the startup in order to initialize the .bss secion */ + _sbss = .; /* define a global symbol at bss start */ + __bss_start__ = _sbss; + *(.bss) + *(.bss*) + *(COMMON) + + . = ALIGN(4); + _ebss = .; /* define a global symbol at bss end */ + __bss_end__ = _ebss; + } >RAM + + PROVIDE ( end = _ebss ); + PROVIDE ( _end = _ebss ); + + /* User_heap_stack section, used to check that there is enough RAM left */ + ._user_heap_stack : + { + . = ALIGN(4); + . = . + _Min_Heap_Size; + . = . + _Min_Stack_Size; + . = ALIGN(4); + } >RAM + + /* MEMORY_bank1 section, code must be located here explicitly */ + /* Example: extern int foo(void) __attribute__ ((section (".mb1text"))); */ + .memory_b1_text : + { + *(.mb1text) /* .mb1text sections (code) */ + *(.mb1text*) /* .mb1text* sections (code) */ + *(.mb1rodata) /* read-only data (constants) */ + *(.mb1rodata*) + } >MEMORY_B1 + + /* Remove information from the standard libraries */ + /DISCARD/ : + { + libc.a ( * ) + libm.a ( * ) + libgcc.a ( * ) + } + + .ARM.attributes 0 : { *(.ARM.attributes) } +} diff --git a/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32l1xx_md_flash_offset.ld b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32l1xx_md_flash_offset.ld new file mode 100644 index 0000000..865fc02 --- /dev/null +++ b/thirdparty/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Device_Firmware_Upgrade/binary_template/RIDE/stm32l1xx_md_flash_offset.ld @@ -0,0 +1,171 @@ +/* +***************************************************************************** +** +** File : stm32_flash.ld +** +** Abstract : Linker script for stm32l1xx_md Device with +** 128KByte FLASH, 16KByte RAM +** +** Set heap size, stack size and stack location according +** to application requirements. +** +** Set memory bank area and size if external memory is used. +** +** Target : STMicroelectronics STM32 +** +** Environment : Atollic TrueSTUDIO(R) +** +** Distribution: The file is distributed “as is,” without any warranty +** of any kind. +** +** (c)Copyright Atollic AB. +** You may use this file as-is or modify it according to the needs of your +** project. Distribution of this file (unmodified or modified) is not +** permitted. Atollic AB permit registered Atollic TrueSTUDIO(R) users the +** rights to distribute the assembled, compiled & linked contents of this +** file as part of an application binary file, provided that it is built +** using the Atollic TrueSTUDIO(R) toolchain. +** +***************************************************************************** +*/ + +/* Entry Point */ +ENTRY(Reset_Handler) + +/* Highest address of the user mode stack */ +_estack = 0x20004000; /* end of 16K RAM */ + +/* Generate a link error if heap and stack don't fit into RAM */ +_Min_Heap_Size = 0; /* required amount of heap */ +_Min_Stack_Size = 0x80; /* required amount of stack */ + +/* Specify the memory areas */ +MEMORY +{ + FLASH (rx) : ORIGIN = 0x08003000, LENGTH = 128K - 0x3000 + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 16K + MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K +} + +/* Define output sections */ +SECTIONS +{ + /* The startup code goes first into FLASH */ + .isr_vector : + { + . = ALIGN(4); + KEEP(*(.isr_vector)) /* Startup code */ + . = ALIGN(4); + } >FLASH + + /* The program code and other data goes into FLASH */ + .text : + { + . = ALIGN(4); + *(.text) /* .text sections (code) */ + *(.text*) /* .text* sections (code) */ + *(.rodata) /* .rodata sections (constants, strings, etc.) */ + *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ + *(.glue_7) /* glue arm to thumb code */ + *(.glue_7t) /* glue thumb to arm code */ + *(.eh_frame) + + KEEP (*(.init)) + KEEP (*(.fini)) + + . = ALIGN(4); + _etext = .; /* define a global symbols at end of code */ + } >FLASH + + + .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH + .ARM : { + __exidx_start = .; + *(.ARM.exidx*) + __exidx_end = .; + } >FLASH + + .preinit_array : + { + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP (*(.preinit_array*)) + PROVIDE_HIDDEN (__preinit_array_end = .); + } >FLASH + .init_array : + { + PROVIDE_HIDDEN (__init_array_start = .); + KEEP (*(SORT(.init_array.*))) + KEEP (*(.init_array*)) + PROVIDE_HIDDEN (__init_array_end = .); + } >FLASH + .fini_array : + { + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP (*(.fini_array*)) + KEEP (*(SORT(.fini_array.*))) + PROVIDE_HIDDEN (__fini_array_end = .); + } >FLASH + + /* used by the startup to initialize data */ + _sidata = .; + + /* Initialized data sections goes into RAM, load LMA copy after code */ + .data : AT ( _sidata ) + { + . = ALIGN(4); + _sdata = .; /* create a global symbol at data start */ + *(.data) /* .data sections */ + *(.data*) /* .data* sections */ + + . = ALIGN(4); + _edata = .; /* define a global symbol at data end */ + } >RAM + + /* Uninitialized data section */ + . = ALIGN(4); + .bss : + { + /* This is used by the startup in order to initialize the .bss secion */ + _sbss = .; /* define a global symbol at bss start */ + __bss_start__ = _sbss; + *(.bss) + *(.bss*) + *(COMMON) + + . = ALIGN(4); + _ebss = .; /* define a global symbol at bss end */ + __bss_end__ = _ebss; + } >RAM + + PROVIDE ( end = _ebss ); + PROVIDE ( _end = _ebss ); + + /* User_heap_stack section, used to check that there is enough RAM left */ + ._user_heap_stack : + { + . = ALIGN(4); + . = . + _Min_Heap_Size; + . = . + _Min_Stack_Size; + . = ALIGN(4); + } >RAM + + /* MEMORY_bank1 section, code must be located here explicitly */ + /* Example: extern int foo(void) __attribute__ ((section (".mb1text"))); */ + .memory_b1_text : + { + *(.mb1text) /* .mb1text sections (code) */ + *(.mb1text*) /* .mb1text* sections (code) */ + *(.mb1rodata) /* read-only data (constants) */ + *(.mb1rodata*) + } >MEMORY_B1 + + /* Remove information from the standard libraries */ + /DISCARD/ : + { + libc.a ( * ) + libm.a ( * ) + libgcc.a ( * ) + } + + .ARM.attributes 0 : { *(.ARM.attributes) } +} |