-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Particular example of running was added.
Everything third-party was added as submodules. Makefile contains examples for different types of boards: - AVR-based Uno and Mega 2560; - ARM SAM-based Due.
- Loading branch information
Showing
5 changed files
with
35 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "arduino-makefile"] | ||
path = arduino-makefile | ||
url = https://github.com/sudar/Arduino-Makefile | ||
[submodule "rts"] | ||
path = rts | ||
url = https://github.com/buzden/idris2-rts-for-arduino |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
ARDUINO_PACKAGE_DIR := $(HOME)/.arduino15/packages | ||
ADRUINO_DIR=/usr/share/arduino | ||
|
||
# For AVR-based boards | ||
AVR_TOOLS_DIR=/usr | ||
AVRDUDE_CONF=/etc/avrdude.conf | ||
ARDUINO_MAKEFILE_PATH=arduino-makefile/Arduino.mk | ||
|
||
# For ARM SAM-based boards | ||
#ARDUINO_MAKEFILE_PATH=arduino-makefile/Sam.mk | ||
|
||
IDRIS_SUPPORT_SRC_PATH=rts | ||
|
||
IDRIS_MAIN=Blink.idr | ||
|
||
# For Arduino Uno | ||
BOARD_TAG=uno | ||
|
||
# For Arduino Mega 2560 | ||
#BOARD_TAG=mega | ||
#BOARD_SUB=atmega2560 | ||
|
||
# For Arduino Due | ||
#BOARD_TAG=arduino_due_x | ||
#ARCHITECTURE=sam | ||
|
||
include Idris2.mk |
This file was deleted.
Oops, something went wrong.
Submodule arduino-makefile
added at
7ac13d