Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.05 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.05 KB

Makefile for building Arduino Due applications.

Clone this project to get minimal template which can be used as starting point for Arduino Due development with Makefile

This template is based on information from:

http://www.atwillys.de/content/cc/using-custom-ide-and-system-library-on-arduino-due-sam3x8e

Requirements

  • Arduino installation version 1.8+ (We will use only SDK not IDE)
  • Installation of Arduino Due board in Arduine IDE (This will download all toolchains and libraries in "~/.arduino15").

Compile and run

  • Clone the project
  • Modify SAM_DIR in Makefile to point to the toolchain installation.
  • Modify TOOLS_DIR in Makefile to point to the tools installation.

What is used from Arduino

All resources necessary for compilation:

  • Compiler: gcc/g++-arm-none-eabi
  • Flashing tool: BOSSA
  • Manufacturer libraries CMSIS "Cortex Microcontroller Software Interface Standard"
  • Atmel/SAM peripheral library
  • Linker command file (flash.ld)