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
- 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").
- 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.
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)