Moin! Ich versuche mich gerade an nem ARM Cortex M4 mittels Keil µVision IDE zu programmieren, jedoch bekomme ich egal ob ich ein bestehendes Template, wie aus diesem Forum, lade oder mein selbst programmiertes Projekt kompilieren möchte folgenden Fehler: LED.axf: Warning: L6310W: Unable to find ARM libraries. LED.axf: Error: L6411E: No compatible library exists with a definition of startup symbol __main. Beide Files sind in der Source Group und im gleichen Ordner vorhanden und im Reset_Handler ist __main zu finden. Linker Cntrl String: --cpu Cortex-M4 *.o --strict --scatter "LED.sct" --summary_stderr --info summarysizes --map --xref --callgraph --symbols --info sizes --info totals --info unused --info veneers --list ".\LED.map" -o "LED.axf" Ich hoffe es kann mir jemand einen Tipp geben? C-Programm:
1 | #include <stm32f4xx.h> |
2 | |
3 | int main(void) |
4 | {
|
5 | SystemInit(); |
6 | |
7 | while(1); |
8 | |
9 | }
|
Startup File von Keil: Siehe Anhang MfG