From df88db2cfbb1635b96c05f78b8c0057c5fbaf83a Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Tue, 2 Jul 2013 17:28:54 -0400 Subject: Add support for the Digilent chipKIT platform This commit modifies a few things in Arduino.mk to be able to support overriding the necessary configuration options to support the chipKIT build, and also includes an example sketch configured to build for the Max32 platform. In addition the following changes were done as well - Control C standard with a CFLAGS_STD flag, GNU99 by default. - Duplicate show_config_variable in each sub-makefile. - Remove redundant output of ARDUINO_PREFERENCES_PATH from config table. - Defer Priting ARDMK_DIR until Arduino.mk. - Define names of compiler tools earlier to use for path checking. Duplicating show_config_variable is unfortunate because the code is duplicated, but I don't see a good way around it since we need to dupliacate the check for ARDMK_DIR before we can find Common.mk. Fix #98 --- examples/BlinkChipKIT/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 examples/BlinkChipKIT/Makefile (limited to 'examples/BlinkChipKIT/Makefile') diff --git a/examples/BlinkChipKIT/Makefile b/examples/BlinkChipKIT/Makefile new file mode 100644 index 0000000..f494075 --- /dev/null +++ b/examples/BlinkChipKIT/Makefile @@ -0,0 +1,6 @@ +BOARD_TAG = mega_pic32 +ARDUINO_PORT = /dev/cu.usb* +ARDUINO_LIBS = + +include ../../arduino-mk/chipKIT.mk + -- cgit v1.2.3