Infineon XMC 4800: Eclipse not building libaries [message #1847778] |
Mon, 08 November 2021 02:51 |
Eclipse User |
|
|
|
I am having Problems since weeks building a simple xmc4800 project.
I imported a working project from my professor for the xmc4500:
XMC4500-Barebone-Projects by mhorauer on Github
Cant Include Links sry
github.com/mhorauer/XMC4500-Barebone-Projects
Replaced the linker file 4500 with 4800.ld, build but cant debug...Cant read memory error.
So included a startup file ending with .S
Eclipse can work with that as far as I know. Has an assembler builder in properties and in properties under File Types there is an .S.
Selected my Device: XMC4800_F144x2048 in Eclipse properties.
But couple of .h told me Device not supported...
Inserted #define XMC4800_F144x2048 on every file that complained about that.
Got an error where I tried this solution:
stackoverflow.com/questions/19419782/exit-c-text0x18-undefined-reference-to-exit-when-using-arm-none-eabi-gcc
Added -specs=nosys.specs -ffreestanding -flto flags to the gcc builder.
Now I am currently at an building error:
xmc4_scu.c:1100: undefined reference to `__aeabi_ui2f'
I didn't even manage to make an LED blink yet.
The real errors are yet to come.
Please can somebody help me? I just want an working Eclipse project where I can build up and start improving.
Don't want to use DAVE or PlatformIO because I don't think I will learn much there.
Attachment: HelpMe.zip
(Size: 19.15MB, Downloaded 117 times)
|
|
|
Powered by
FUDForum. Page generated in 0.04224 seconds