Hallo zusammen
Ich versuche ein Beispielprojekt aus der
STM32_USB-Host-Device_Lib_V2.1.0 zu compilieren.
in der 2.1.0 gab es im gegensatz zur 2.2.0 noch ein Aollic Projekt.
Ich habe also das Projekt importiert und versuche zu builden.
Leider bekomme ich die Fehler:
1 | undefined reference to `_ebss' startup_stm32f10x_cl.s line 100 C/C++ Problem
|
2 | undefined reference to `_estack' startup_stm32f10x_cl.s line 73 C/C++ Problem
|
3 | undefined reference to `_sbss' startup_stm32f10x_cl.s line 91 C/C++ Problem
|
4 | undefined reference to `_sdata' startup_stm32f10x_cl.s line 86 C/C++ Problem
|
5 | undefined reference to `_sidata' startup_stm32f10x_cl.s line 80 C/C++ Problem
|
_ebss ist jedoch im Startup definiert. Wie alle anderen auch:
1 | /* start address for the initialization values of the .data section.
|
2 | defined in linker script */
|
3 | .word _sidata
|
4 | /* start address for the .data section. defined in linker script */
|
5 | .word _sdata
|
6 | /* end address for the .data section. defined in linker script */
|
7 | .word _edata
|
8 | /* start address for the .bss section. defined in linker script */
|
9 | .word _sbss
|
10 | /* end address for the .bss section. defined in linker script */
|
11 | .word _ebss
|
Ich nutze Atollic 8.0.0
Hoffe jemand kann helfen.
Danke!