Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse CDT Arduino Uno WIFI Rev 2 make/link issues(Makefile issues for Arduino UNO WIFI Rev 2)
Eclipse CDT Arduino Uno WIFI Rev 2 make/link issues [message #1802173] Sat, 02 February 2019 14:25 Go to next message
Eclipse UserFriend
I have installed successfully Eclipse and platform for my Arduino UNO WIFI Rev 2. The blink example builds fine and downloads to my board. However, it does not blink.

I created a directory with the makefile that was created by eclipse and the blink.cpp file, and modified it to work from the command line (Windows 10). Same issue (no blinky).

After reviewing the Arduino IDE build and dissassembly of elf files, I discovered that the link was different. The linker line explicitly listed as input, in this order, blink.c.o, variant.c.o, core.a. So, I modified my makefile and now SUCCESS. It blinks.

Question 1

I have looked for some way to tell eclipse that I want to modify the makefile, that it created, but can not find it. How do I do this ??

Question 2
Got any information about the automatic makefile creation rules so that it can be changed to address this link order issue?

Question 3

Anyone know why the link order matters? I suspect it has something to do with the bootloader, but have not gone there yet...


Thanks
  • Attachment: Makefile
    (Size: 12.62KB, Downloaded 111 times)
Re: Eclipse CDT Arduino Uno WIFI Rev 2 make/link issues [message #1815768 is a reply to message #1802173] Thu, 10 October 2019 05:12 Go to previous message
Eclipse UserFriend
Hi there,

I have the same problem with the latest version of eclipse and Arduino Wifi rev2, I see that the code is compiling and upload on the board, but nothing happens.
As a question, the file is marked as derived so basically I can modify it but at build time it will be rewritten. How did you manage to make the changes in the makefile?

Thank you,
Lia
Previous Topic:Remote debug terminated
Next Topic:'Running MyStuff.elf' has encountered a problem. Error starting process.
Goto Forum:
  


Current Time: Mon Jun 16 16:01:56 EDT 2025

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

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

Back to the top