Gast
#1145634
Hi, Ich versuche grad CrossWorks und die ST Firmware Library zum laufen zu bewegen. Scheitere aber schon relativ bald und steh auch komplett auf dem Schlauch :( Vielleicht kennt das ja wer: Hier mal meine Einstellungen. Solution -->Project ----->Properties -------->Preprocessor Options -> User Include Directories $(ProjectDir)/FWLib In meinem Projektordner gibts "FWLib/*.h,*c" also einfach reinkopiert. Hier mal der Code...:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
(ob er so funktioniert oder nicht ist egal, ist auch ned fertig, mir gehts nur ums compelieren) Beim LINKER kommt Generating linker script Linking Lib.elf c:/rowley associates limited/crossworks for arm 1.7/gcc/bin/ld -X -nostdlib -ereset_handler --omagic --fatal-warnings -EL -TC:/ST32 Projekte/lib/THUMB Flash Debug/Lib.ld -Map THUMB Flash Debug/Lib.map --defsym __putchar=debug_putchar -u_vectors -o THUMB Flash Debug/Lib.elf --start-group THUMB Flash Debug/main.o THUMB Flash Debug/stm32f10x_it.o THUMB Flash Debug/thumb_crt0.o THUMB Flash Debug/STM32F10x_Startup.o c:/rowley associates limited/crossworks for arm 1.7/lib/libadiv5_v7m_t_le.a c:/rowley associates limited/crossworks for arm 1.7/lib/libm_v7m_t_le.a c:/rowley associates limited/crossworks for arm 1.7/lib/libc_v7m_t_le.a c:/rowley associates limited/crossworks for arm 1.7/lib/libcpp_v7m_t_le.a c:/rowley associates limited/crossworks for arm 1.7/lib/libdebugio_v7m_t_le.a c:/rowley associates limited/crossworks for arm 1.7/lib/libc_targetio_impl_v7m_t_le.a c:/rowley associates limited/crossworks for arm 1.7/lib/lib_vfprintf_long_v7m_t_le.a c:/rowley associates limited/crossworks for arm 1.7/lib/lib_vfscanf_long_v7m_t_le.a THUMB Flash Debug/main.o: In function `main': C:/ST32 Projekte/lib/main.c:36: undefined reference to `RCC_DeInit' C:/ST32 Projekte/lib/main.c:37: undefined reference to `SysTick_SetReload' C:/ST32 Projekte/lib/main.c:38: undefined reference to `SysTick_ITConfig' Build failed Also kompilieren tut er noch richtig, er scheitert erst beim linken... Kennt sich damit wer aus? Lg