2021-09-27 09:02 AM
Hey,
I'm currently trying to get myself away from HAL, insteed using a more direct implementation. So the first thing I am trying is a simple blinky programm, with as little as possible number of files. I downloaded the StdPeripherel Files for my board (STM32F103RB-Nucleo), but I cannot locate the startup_stm32F1xx.s file.
So my question is, do you actually need it?
And if yes, where do I get it from?
Solved! Go to Solution.
2021-09-27 09:05 AM
It's a generic name, there tend to be MCU specific files as each class within the family often have different memory sizes, peripheral mixes, and interrupt vector tables.
STM32Cube_FW_F1_V1.8.4\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xb.s
2021-09-27 09:05 AM
It's a generic name, there tend to be MCU specific files as each class within the family often have different memory sizes, peripheral mixes, and interrupt vector tables.
STM32Cube_FW_F1_V1.8.4\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xb.s
2021-09-27 09:06 AM
Oooooh, thank you, i found it!
2021-09-27 09:07 AM
For 103RB probably this one
STM32Cube_FW_F1_V1.8.4\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
Also in example project trees
STM32Cube_FW_F1_V1.8.4\Projects\STM32F103RB-Nucleo\Examples\ADC\ADC_AnalogWatchdog\MDK-ARM\startup_stm32f103xb.s
2021-09-27 09:13 AM
So now that i found it, which of these 8 files do I need to add to my source in the Makefile?
2021-09-27 09:14 AM
wow, you anwered my question, before I even asked it.
Thank You!
2021-09-28 07:07 AM
Hi @Senax ,
In the Glossary of RM0008, you find the following explanation:
A complementary explanation for value line (vl) in RM0041:
STM32F103RB is a medium density device (128Kb flash), so you will have to select startup_stm32f10x_md.s.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2021-09-28 10:37 PM
Thank you!