December 03, 2024, 11:54:17 PM

how to build the first binary

Started by tc, November 09, 2017, 05:00:02 AM

Previous topic - Next topic

tc

i downloaded the demo software.. there is a library and a main.c file and a bin file

how does one get from the main.c program to the bin file ???

is there a example of Makefile (this is on fedora linux system) that can help demostrate how to build the software ???  (using gnu gcc toolchain)

thanks

LubOlimex

What is your board? What demo you refer to?
Technical support and documentation manager at Olimex

tc

i have a OLIMEX SAM3-HXXX board (i think it is H256)

i would like to try to build a CDC_SERIAL program...

the demo program comes with a USB mouse binary... but does not have steps to build it

is there any help/procedure to build a program ??? and is there any example

(i noticed the ATMEL example_usb has cdc_serial but it is used for EK board... not sure how different)

thanks

LubOlimex

There is a README.txt file inside the demo archive. It has build info:

IAR IDE v5.50
SAM3S Software Pack v2.1 for IAR EW 5.50

So to build the demo project you would need to find old IAR EW for ARM v5.50 and also download the SAM3S Software Pack v2.1.
Technical support and documentation manager at Olimex