Skip to content

klangner/arduino-due-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Template for C/C++ project for Arduino Due

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published