Build using GCC

Purpose

Use GCC to build SAM3S-EK2 LCD project.

Download and Install

  1. Download Compiler from www.codesourcery.com and Install it. "Sourcery G++ Lite 2011.03-42" version of Codesourcery compiler has been used for SAM3S8/SD8 Softpack for GNU development.


  2. For further details please visit www.codesourcery.com.

Build SAM3S-EK2 LCD project (GNU)

  1. Click on LCD project (GNU) and select "Execute" to launch the autoExtract under the given default path, i.e, "X:\"


  2. The folder looks like:



  3. please find three build.bat files in the folder:
    a. X:\Atmel\sam3s\sam3s-ek2\libraries\libchip_sam3s\build\gcc
    b. X:\Atmel\sam3s\sam3s-ek2\libraries\libboard_sam3s-ek2\build\gcc
    c. X:\Atmel\sam3s\sam3s-ek2\examples_graphics\smc_lcd\build\gcc
    and lauch them orderly by Double click.




  4. You can find a binary file in GUN project folder:

    X:\Atmel\sam3s\sam3s-ek2\examples_graphics\smc_lcd\build\gcc\bin.




[Test binary using SAM-BA]
Atmel Corporation ©2011