Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Infineon XMC 4800: Eclipse not building libaries(Error in building process, probably caused by XMCLibaries)
Infineon XMC 4800: Eclipse not building libaries [message #1847778] Mon, 08 November 2021 07:51
Jan Kub is currently offline Jan KubFriend
Messages: 1
Registered: November 2021
Junior Member
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 54 times)
Previous Topic:Issue with all function names getting resolved
Next Topic:Update References when renaming header files changes the include style
Goto Forum:
  


Current Time: Mon Jan 30 18:59:58 GMT 2023

Powered by FUDForum. Page generated in 0.05138 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top