XMC 4800 Eclipse not building libaries

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JK92
Level 1
Level 1
First reply posted First question asked Welcome!

I am having Problems since weeks building a simple xmc4800 project.
I imported a working project from my professor for the xmc4500:
https://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:

https://stackoverflow.com/questions/19419782/exit-c-text0x18-undefined-reference-to-exit-when-using-...

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.

 

 

0 Likes
2 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

The current Dave platform and new MTB platforms are based on eclipse. Using them will be much easier to get started with the project .

Best Regards,
Vasanth

0 Likes
JK92
Level 1
Level 1
First reply posted First question asked Welcome!

Hi,

I am aware that it is easier and that it is based on Eclipse. Thats why I can't understand why it is so hard to use the standard Eclipse IDE.
Dont want to use a different IDE for every microcontroller I want to program.

Kind regards,
Jan

0 Likes