Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18089

Re: Working with Galileo without Arduino IDE

$
0
0

Thanks Mikal, but that does not help me with this current problem. At this point, I can compile and link clean. The build line I am using is:

g++ blink.cpp ../arduino/main.o ../arduino/wiring_digital.o ../arduino/trace.o ../arduino/sysfs.o ../arduino/variant.o ../arduino/RingBuffer.o ../arduino/TTYUART.o ../arduino/interrupt.o ../arduino/Mux.o ../arduino/fast_gpio_sc.o ../arduino/Print.o ../arduino/WString.o ../arduino/UtilTime.o ../arduino/wiring_analog.o -I ../arduino  -L ../arduino/galileo.a -pthread

 

Note that all these objects are also contained in my library galileo.a. Only problem is that the linker does not find them and I have to specifically include them. Well another minor problem is that the LED does not flash. And the program exits after a bit.  Well, I enjoy trace statements and debugging. Is there an LED at pin 13 on Galileo?

 

Another point of interest is that the executable is 101,539 bytes. Not bad for a program that just flashes an LED. And this is the minimal set of required object modules.

 

I arbitrarily used galileo_fab_d for my variant library. How do I tell which fab I have (C or D)?


Viewing all articles
Browse latest Browse all 18089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>