diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-04-03 07:11:22 +0400 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-04-03 07:11:22 +0400 |
commit | 20e4e4cd65dec69edd46b40d90c9f0b4c8078014 (patch) | |
tree | 06020aaf0317398af653c46db2c89c8ee20037cb | |
parent | 8e08005dce4a34fc00dfa07aa26c688f991211b5 (diff) |
not putting this here
72 files changed, 6 insertions, 5919 deletions
diff --git a/FastLED/FastLED.xcodeproj/project.pbxproj b/FastLED/FastLED.xcodeproj/project.pbxproj deleted file mode 100644 index 76200e69..00000000 --- a/FastLED/FastLED.xcodeproj/project.pbxproj +++ /dev/null @@ -1,514 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 7BA555FA18ED087600E45020 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7BA555F918ED087600E45020 /* main.cpp */; }; - 7BA555FC18ED087600E45020 /* LocalLibrary.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7BA555FB18ED087600E45020 /* LocalLibrary.cpp */; }; - 7BA555FF18ED087600E45020 /* Makefile in Sources */ = {isa = PBXBuildFile; fileRef = 7BA555FE18ED087600E45020 /* Makefile */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 7BA555F618ED087600E45020 /* Index */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Index; sourceTree = BUILT_PRODUCTS_DIR; }; - 7BA555F918ED087600E45020 /* main.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; }; - 7BA555FB18ED087600E45020 /* LocalLibrary.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = LocalLibrary.cpp; sourceTree = "<group>"; }; - 7BA555FD18ED087600E45020 /* LocalLibrary.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LocalLibrary.h; sourceTree = "<group>"; }; - 7BA555FE18ED087600E45020 /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; }; - 7BA5560118ED087600E45020 /* Sketchbook.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = Sketchbook.txt; path = Sketchbook/Sketchbook.txt; sourceTree = "<group>"; }; - 7BA5560318ED087600E45020 /* Arduino Due.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Due.xcconfig"; path = "Configurations/Arduino Due.xcconfig"; sourceTree = "<group>"; }; - 7BA5560418ED087600E45020 /* Arduino Duemilanove.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Duemilanove.xcconfig"; path = "Configurations/Arduino Duemilanove.xcconfig"; sourceTree = "<group>"; }; - 7BA5560518ED087600E45020 /* Arduino Leonardo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Leonardo.xcconfig"; path = "Configurations/Arduino Leonardo.xcconfig"; sourceTree = "<group>"; }; - 7BA5560618ED087600E45020 /* Arduino Mega 2560.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Mega 2560.xcconfig"; path = "Configurations/Arduino Mega 2560.xcconfig"; sourceTree = "<group>"; }; - 7BA5560718ED087600E45020 /* Arduino Mini with ATmega328-3.3V.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Mini with ATmega328-3.3V.xcconfig"; path = "Configurations/Arduino Mini with ATmega328-3.3V.xcconfig"; sourceTree = "<group>"; }; - 7BA5560818ED087600E45020 /* Arduino Mini with ATmega328-5V.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Mini with ATmega328-5V.xcconfig"; path = "Configurations/Arduino Mini with ATmega328-5V.xcconfig"; sourceTree = "<group>"; }; - 7BA5560918ED087600E45020 /* Arduino Robot Control.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Robot Control.xcconfig"; path = "Configurations/Arduino Robot Control.xcconfig"; sourceTree = "<group>"; }; - 7BA5560A18ED087600E45020 /* Arduino Robot Motor.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Robot Motor.xcconfig"; path = "Configurations/Arduino Robot Motor.xcconfig"; sourceTree = "<group>"; }; - 7BA5560B18ED087600E45020 /* Arduino Uno.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Uno.xcconfig"; path = "Configurations/Arduino Uno.xcconfig"; sourceTree = "<group>"; }; - 7BA5560C18ED087600E45020 /* Arduino Yun.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Arduino Yun.xcconfig"; path = "Configurations/Arduino Yun.xcconfig"; sourceTree = "<group>"; }; - 7BA5560D18ED087600E45020 /* chipKIT Uno32.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "chipKIT Uno32.xcconfig"; path = "Configurations/chipKIT Uno32.xcconfig"; sourceTree = "<group>"; }; - 7BA5560E18ED087600E45020 /* chipKIT Max32.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "chipKIT Max32.xcconfig"; path = "Configurations/chipKIT Max32.xcconfig"; sourceTree = "<group>"; }; - 7BA5560F18ED087600E45020 /* chipKIT uC32.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "chipKIT uC32.xcconfig"; path = "Configurations/chipKIT uC32.xcconfig"; sourceTree = "<group>"; }; - 7BA5561018ED087600E45020 /* DFRobot BLuno.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "DFRobot BLuno.xcconfig"; path = "Configurations/DFRobot BLuno.xcconfig"; sourceTree = "<group>"; }; - 7BA5561118ED087600E45020 /* Digispark Tiny Core.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Digispark Tiny Core.xcconfig"; path = "Configurations/Digispark Tiny Core.xcconfig"; sourceTree = "<group>"; }; - 7BA5561218ED087600E45020 /* Experimeter Board with MSP430FR5739.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Experimeter Board with MSP430FR5739.xcconfig"; path = "Configurations/Experimeter Board with MSP430FR5739.xcconfig"; sourceTree = "<group>"; }; - 7BA5561318ED087600E45020 /* LaunchPad Stellaris with LM4F120.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "LaunchPad Stellaris with LM4F120.xcconfig"; path = "Configurations/LaunchPad Stellaris with LM4F120.xcconfig"; sourceTree = "<group>"; }; - 7BA5561418ED087600E45020 /* LaunchPad Tiva C with TM4C123.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "LaunchPad Tiva C with TM4C123.xcconfig"; path = "Configurations/LaunchPad Tiva C with TM4C123.xcconfig"; sourceTree = "<group>"; }; - 7BA5561518ED087600E45020 /* LaunchPad with MSP430G2553.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "LaunchPad with MSP430G2553.xcconfig"; path = "Configurations/LaunchPad with MSP430G2553.xcconfig"; sourceTree = "<group>"; }; - 7BA5561618ED087600E45020 /* LaunchPad with MSP430G2231.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "LaunchPad with MSP430G2231.xcconfig"; path = "Configurations/LaunchPad with MSP430G2231.xcconfig"; sourceTree = "<group>"; }; - 7BA5561718ED087600E45020 /* LaunchPad with MSP430G2452.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "LaunchPad with MSP430G2452.xcconfig"; path = "Configurations/LaunchPad with MSP430G2452.xcconfig"; sourceTree = "<group>"; }; - 7BA5561818ED087600E45020 /* LaunchPad with MSP430F5529.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "LaunchPad with MSP430F5529.xcconfig"; path = "Configurations/LaunchPad with MSP430F5529.xcconfig"; sourceTree = "<group>"; }; - 7BA5561918ED087600E45020 /* Maple Flash revision 3+.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Maple Flash revision 3+.xcconfig"; path = "Configurations/Maple Flash revision 3+.xcconfig"; sourceTree = "<group>"; }; - 7BA5561A18ED087600E45020 /* Microduino Core with ATmega328-5V.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Microduino Core with ATmega328-5V.xcconfig"; path = "Configurations/Microduino Core with ATmega328-5V.xcconfig"; sourceTree = "<group>"; }; - 7BA5561B18ED087600E45020 /* Microduino Core+ with ATmega644-5V.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Microduino Core+ with ATmega644-5V.xcconfig"; path = "Configurations/Microduino Core+ with ATmega644-5V.xcconfig"; sourceTree = "<group>"; }; - 7BA5561C18ED087600E45020 /* Sparkfun Uno.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Sparkfun Uno.xcconfig"; path = "Configurations/Sparkfun Uno.xcconfig"; sourceTree = "<group>"; }; - 7BA5561D18ED087600E45020 /* Teensy 2.0.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Teensy 2.0.xcconfig"; path = "Configurations/Teensy 2.0.xcconfig"; sourceTree = "<group>"; }; - 7BA5561E18ED087600E45020 /* Teensy 3.0.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Teensy 3.0.xcconfig"; path = "Configurations/Teensy 3.0.xcconfig"; sourceTree = "<group>"; }; - 7BA5561F18ED087600E45020 /* Teensy 3.1.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Teensy 3.1.xcconfig"; path = "Configurations/Teensy 3.1.xcconfig"; sourceTree = "<group>"; }; - 7BA5562018ED087600E45020 /* Wiring S.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Wiring S.xcconfig"; path = "Configurations/Wiring S.xcconfig"; sourceTree = "<group>"; }; - 7BA5562218ED087600E45020 /* Arduino.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Arduino.mk; path = Makefiles/Arduino.mk; sourceTree = "<group>"; }; - 7BA5562318ED087600E45020 /* Arduino1.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Arduino1.mk; path = Makefiles/Arduino1.mk; sourceTree = "<group>"; }; - 7BA5562418ED087600E45020 /* Arduino15avr.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Arduino15avr.mk; path = Makefiles/Arduino15avr.mk; sourceTree = "<group>"; }; - 7BA5562518ED087600E45020 /* Arduino15sam.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Arduino15sam.mk; path = Makefiles/Arduino15sam.mk; sourceTree = "<group>"; }; - 7BA5562618ED087600E45020 /* Arduino23.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Arduino23.mk; path = Makefiles/Arduino23.mk; sourceTree = "<group>"; }; - 7BA5562718ED087600E45020 /* Digispark.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Digispark.mk; path = Makefiles/Digispark.mk; sourceTree = "<group>"; }; - 7BA5562818ED087600E45020 /* Energia430.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Energia430.mk; path = Makefiles/Energia430.mk; sourceTree = "<group>"; }; - 7BA5562918ED087600E45020 /* EnergiaLM4F.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = EnergiaLM4F.mk; path = Makefiles/EnergiaLM4F.mk; sourceTree = "<group>"; }; - 7BA5562A18ED087600E45020 /* MapleIDE.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = MapleIDE.mk; path = Makefiles/MapleIDE.mk; sourceTree = "<group>"; }; - 7BA5562B18ED087600E45020 /* Microduino.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Microduino.mk; path = Makefiles/Microduino.mk; sourceTree = "<group>"; }; - 7BA5562C18ED087600E45020 /* Mpide.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Mpide.mk; path = Makefiles/Mpide.mk; sourceTree = "<group>"; }; - 7BA5562D18ED087600E45020 /* Wiring.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Wiring.mk; path = Makefiles/Wiring.mk; sourceTree = "<group>"; }; - 7BA5562E18ED087600E45020 /* Step1.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Step1.mk; path = Makefiles/Step1.mk; sourceTree = "<group>"; }; - 7BA5562F18ED087600E45020 /* Step2.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Step2.mk; path = Makefiles/Step2.mk; sourceTree = "<group>"; }; - 7BA5563018ED087600E45020 /* Teensy.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Teensy.mk; path = Makefiles/Teensy.mk; sourceTree = "<group>"; }; - 7BA5563118ED087600E45020 /* Teensy2.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Teensy2.mk; path = Makefiles/Teensy2.mk; sourceTree = "<group>"; }; - 7BA5563218ED087600E45020 /* Teensy3.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Teensy3.mk; path = Makefiles/Teensy3.mk; sourceTree = "<group>"; }; - 7BA5563318ED087600E45020 /* Avrdude.mk */ = {isa = PBXFileReference; lastKnownFileType = text; name = Avrdude.mk; path = Makefiles/Avrdude.mk; sourceTree = "<group>"; }; - 7BA5563418ED087600E45020 /* ReadMe.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = ReadMe.txt; sourceTree = "<group>"; }; - 7BA5563618ED087600E45020 /* About.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = About.txt; path = About/About.txt; sourceTree = "<group>"; }; - 7BA5563818ED087600E45020 /* reset.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; name = reset.py; path = Utilities/reset.py; sourceTree = "<group>"; }; - 7BA5563918ED087600E45020 /* serial1200.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; name = serial1200.py; path = Utilities/serial1200.py; sourceTree = "<group>"; }; - 7BA5563A18ED087600E45020 /* embedXcode_prepare */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = embedXcode_prepare; path = Utilities/embedXcode_prepare; sourceTree = "<group>"; }; - 7BA5563B18ED087600E45020 /* embedXcode_check */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = embedXcode_check; path = Utilities/embedXcode_check; sourceTree = "<group>"; }; - 7BA5563C18ED087600E45020 /* embedXcode_chrono */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = embedXcode_chrono; path = Utilities/embedXcode_chrono; sourceTree = "<group>"; }; - 7BA5563D18ED087600E45020 /* TemplateIcon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = TemplateIcon.icns; path = Utilities/TemplateIcon.icns; sourceTree = "<group>"; }; - 7BA5563E18ED087600E45020 /* FastLED.ino */ = {isa = PBXFileReference; lastKnownFileType = text; path = FastLED.ino; sourceTree = "<group>"; }; -/* End PBXFileReference section */ - -/* Begin PBXGroup section */ - 7BA555EB18ED087600E45020 = { - isa = PBXGroup; - children = ( - 7BA555F818ED087600E45020 /* FastLED */, - 7BA555F718ED087600E45020 /* Products */, - ); - sourceTree = "<group>"; - }; - 7BA555F718ED087600E45020 /* Products */ = { - isa = PBXGroup; - children = ( - 7BA555F618ED087600E45020 /* Index */, - ); - name = Products; - sourceTree = "<group>"; - }; - 7BA555F818ED087600E45020 /* FastLED */ = { - isa = PBXGroup; - children = ( - 7BA555F918ED087600E45020 /* main.cpp */, - 7BA555FB18ED087600E45020 /* LocalLibrary.cpp */, - 7BA555FD18ED087600E45020 /* LocalLibrary.h */, - 7BA555FE18ED087600E45020 /* Makefile */, - 7BA5563418ED087600E45020 /* ReadMe.txt */, - 7BA5563E18ED087600E45020 /* FastLED.ino */, - 7BA5560018ED087600E45020 /* Sketchbook */, - 7BA5560218ED087600E45020 /* Configurations */, - 7BA5562118ED087600E45020 /* Makefiles */, - 7BA5563518ED087600E45020 /* About */, - 7BA5563718ED087600E45020 /* Utilities */, - ); - path = FastLED; - sourceTree = "<group>"; - }; - 7BA5560018ED087600E45020 /* Sketchbook */ = { - isa = PBXGroup; - children = ( - 7BA5560118ED087600E45020 /* Sketchbook.txt */, - ); - name = Sketchbook; - sourceTree = "<group>"; - }; - 7BA5560218ED087600E45020 /* Configurations */ = { - isa = PBXGroup; - children = ( - 7BA5560318ED087600E45020 /* Arduino Due.xcconfig */, - 7BA5560418ED087600E45020 /* Arduino Duemilanove.xcconfig */, - 7BA5560518ED087600E45020 /* Arduino Leonardo.xcconfig */, - 7BA5560618ED087600E45020 /* Arduino Mega 2560.xcconfig */, - 7BA5560718ED087600E45020 /* Arduino Mini with ATmega328-3.3V.xcconfig */, - 7BA5560818ED087600E45020 /* Arduino Mini with ATmega328-5V.xcconfig */, - 7BA5560918ED087600E45020 /* Arduino Robot Control.xcconfig */, - 7BA5560A18ED087600E45020 /* Arduino Robot Motor.xcconfig */, - 7BA5560B18ED087600E45020 /* Arduino Uno.xcconfig */, - 7BA5560C18ED087600E45020 /* Arduino Yun.xcconfig */, - 7BA5560D18ED087600E45020 /* chipKIT Uno32.xcconfig */, - 7BA5560E18ED087600E45020 /* chipKIT Max32.xcconfig */, - 7BA5560F18ED087600E45020 /* chipKIT uC32.xcconfig */, - 7BA5561018ED087600E45020 /* DFRobot BLuno.xcconfig */, - 7BA5561118ED087600E45020 /* Digispark Tiny Core.xcconfig */, - 7BA5561218ED087600E45020 /* Experimeter Board with MSP430FR5739.xcconfig */, - 7BA5561318ED087600E45020 /* LaunchPad Stellaris with LM4F120.xcconfig */, - 7BA5561418ED087600E45020 /* LaunchPad Tiva C with TM4C123.xcconfig */, - 7BA5561518ED087600E45020 /* LaunchPad with MSP430G2553.xcconfig */, - 7BA5561618ED087600E45020 /* LaunchPad with MSP430G2231.xcconfig */, - 7BA5561718ED087600E45020 /* LaunchPad with MSP430G2452.xcconfig */, - 7BA5561818ED087600E45020 /* LaunchPad with MSP430F5529.xcconfig */, - 7BA5561918ED087600E45020 /* Maple Flash revision 3+.xcconfig */, - 7BA5561A18ED087600E45020 /* Microduino Core with ATmega328-5V.xcconfig */, - 7BA5561B18ED087600E45020 /* Microduino Core+ with ATmega644-5V.xcconfig */, - 7BA5561C18ED087600E45020 /* Sparkfun Uno.xcconfig */, - 7BA5561D18ED087600E45020 /* Teensy 2.0.xcconfig */, - 7BA5561E18ED087600E45020 /* Teensy 3.0.xcconfig */, - 7BA5561F18ED087600E45020 /* Teensy 3.1.xcconfig */, - 7BA5562018ED087600E45020 /* Wiring S.xcconfig */, - ); - name = Configurations; - sourceTree = "<group>"; - }; - 7BA5562118ED087600E45020 /* Makefiles */ = { - isa = PBXGroup; - children = ( - 7BA5562218ED087600E45020 /* Arduino.mk */, - 7BA5562318ED087600E45020 /* Arduino1.mk */, - 7BA5562418ED087600E45020 /* Arduino15avr.mk */, - 7BA5562518ED087600E45020 /* Arduino15sam.mk */, - 7BA5562618ED087600E45020 /* Arduino23.mk */, - 7BA5562718ED087600E45020 /* Digispark.mk */, - 7BA5562818ED087600E45020 /* Energia430.mk */, - 7BA5562918ED087600E45020 /* EnergiaLM4F.mk */, - 7BA5562A18ED087600E45020 /* MapleIDE.mk */, - 7BA5562B18ED087600E45020 /* Microduino.mk */, - 7BA5562C18ED087600E45020 /* Mpide.mk */, - 7BA5562D18ED087600E45020 /* Wiring.mk */, - 7BA5562E18ED087600E45020 /* Step1.mk */, - 7BA5562F18ED087600E45020 /* Step2.mk */, - 7BA5563018ED087600E45020 /* Teensy.mk */, - 7BA5563118ED087600E45020 /* Teensy2.mk */, - 7BA5563218ED087600E45020 /* Teensy3.mk */, - 7BA5563318ED087600E45020 /* Avrdude.mk */, - ); - name = Makefiles; - sourceTree = "<group>"; - }; - 7BA5563518ED087600E45020 /* About */ = { - isa = PBXGroup; - children = ( - 7BA5563618ED087600E45020 /* About.txt */, - ); - name = About; - sourceTree = "<group>"; - }; - 7BA5563718ED087600E45020 /* Utilities */ = { - isa = PBXGroup; - children = ( - 7BA5563818ED087600E45020 /* reset.py */, - 7BA5563918ED087600E45020 /* serial1200.py */, - 7BA5563A18ED087600E45020 /* embedXcode_prepare */, - 7BA5563B18ED087600E45020 /* embedXcode_check */, - 7BA5563C18ED087600E45020 /* embedXcode_chrono */, - 7BA5563D18ED087600E45020 /* TemplateIcon.icns */, - ); - name = Utilities; - sourceTree = "<group>"; - }; -/* End PBXGroup section */ - -/* Begin PBXLegacyTarget section */ - 7BA555F018ED087600E45020 /* All */ = { - isa = PBXLegacyTarget; - buildArgumentsString = "all -C \"$(PROJECT)\""; - buildConfigurationList = 7BA5564118ED087600E45020 /* Build configuration list for PBXLegacyTarget "All" */; - buildPhases = ( - ); - buildToolPath = make; - dependencies = ( - ); - name = All; - passBuildSettingsInEnvironment = 1; - productName = All; - }; - 7BA555F118ED087600E45020 /* Build */ = { - isa = PBXLegacyTarget; - buildArgumentsString = "build -C \"$(PROJECT)\""; - buildConfigurationList = 7BA5564418ED087600E45020 /* Build configuration list for PBXLegacyTarget "Build" */; - buildPhases = ( - ); - buildToolPath = make; - dependencies = ( - ); - name = Build; - passBuildSettingsInEnvironment = 1; - productName = Build; - }; - 7BA555F218ED087600E45020 /* Serial */ = { - isa = PBXLegacyTarget; - buildArgumentsString = "serial -C \"$(PROJECT)\""; - buildConfigurationList = 7BA5564718ED087600E45020 /* Build configuration list for PBXLegacyTarget "Serial" */; - buildPhases = ( - ); - buildToolPath = make; - dependencies = ( - ); - name = Serial; - passBuildSettingsInEnvironment = 1; - productName = Serial; - }; - 7BA555F318ED087600E45020 /* Upload */ = { - isa = PBXLegacyTarget; - buildArgumentsString = "upload -C \"$(PROJECT)\""; - buildConfigurationList = 7BA5564A18ED087600E45020 /* Build configuration list for PBXLegacyTarget "Upload" */; - buildPhases = ( - ); - buildToolPath = make; - dependencies = ( - ); - name = Upload; - passBuildSettingsInEnvironment = 1; - productName = Upload; - }; -/* End PBXLegacyTarget section */ - -/* Begin PBXNativeTarget section */ - 7BA555F518ED087600E45020 /* Index */ = { - isa = PBXNativeTarget; - buildConfigurationList = 7BA5564D18ED087600E45020 /* Build configuration list for PBXNativeTarget "Index" */; - buildPhases = ( - 7BA555F418ED087600E45020 /* Sources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Index; - productName = Index; - productReference = 7BA555F618ED087600E45020 /* Index */; - productType = "com.apple.product-type.tool"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 7BA555EC18ED087600E45020 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0510; - ORGANIZATIONNAME = "Daniel Garcia"; - }; - buildConfigurationList = 7BA555EF18ED087600E45020 /* Build configuration list for PBXProject "FastLED" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 7BA555EB18ED087600E45020; - productRefGroup = 7BA555F718ED087600E45020 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 7BA555F018ED087600E45020 /* All */, - 7BA555F118ED087600E45020 /* Build */, - 7BA555F218ED087600E45020 /* Serial */, - 7BA555F318ED087600E45020 /* Upload */, - 7BA555F518ED087600E45020 /* Index */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 7BA555F418ED087600E45020 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 7BA555FF18ED087600E45020 /* Makefile in Sources */, - 7BA555FA18ED087600E45020 /* main.cpp in Sources */, - 7BA555FC18ED087600E45020 /* LocalLibrary.cpp in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 7BA5563F18ED087600E45020 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7BA5560B18ED087600E45020 /* Arduino Uno.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = "$(inherited)"; - PATH = "$(PATH):$(PROJECT_DIR)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKETCHBOOK_DIR = ""; - SKETCH_EXTENSION = ino; - }; - name = Debug; - }; - 7BA5564018ED087600E45020 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = "$(inherited)"; - PATH = "$(PATH):$(PROJECT_DIR)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKETCHBOOK_DIR = ""; - SKETCH_EXTENSION = ino; - }; - name = Release; - }; - 7BA5564218ED087600E45020 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 7BA5564318ED087600E45020 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - 7BA5564518ED087600E45020 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - }; - name = Debug; - }; - 7BA5564618ED087600E45020 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - }; - name = Release; - }; - 7BA5564818ED087600E45020 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - }; - name = Debug; - }; - 7BA5564918ED087600E45020 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - }; - name = Release; - }; - 7BA5564B18ED087600E45020 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - }; - name = Debug; - }; - 7BA5564C18ED087600E45020 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - }; - name = Release; - }; - 7BA5564E18ED087600E45020 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - }; - name = Debug; - }; - 7BA5564F18ED087600E45020 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 7BA555EF18ED087600E45020 /* Build configuration list for PBXProject "FastLED" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7BA5563F18ED087600E45020 /* Debug */, - 7BA5564018ED087600E45020 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 7BA5564118ED087600E45020 /* Build configuration list for PBXLegacyTarget "All" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7BA5564218ED087600E45020 /* Debug */, - 7BA5564318ED087600E45020 /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; - 7BA5564418ED087600E45020 /* Build configuration list for PBXLegacyTarget "Build" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7BA5564518ED087600E45020 /* Debug */, - 7BA5564618ED087600E45020 /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; - 7BA5564718ED087600E45020 /* Build configuration list for PBXLegacyTarget "Serial" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7BA5564818ED087600E45020 /* Debug */, - 7BA5564918ED087600E45020 /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; - 7BA5564A18ED087600E45020 /* Build configuration list for PBXLegacyTarget "Upload" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7BA5564B18ED087600E45020 /* Debug */, - 7BA5564C18ED087600E45020 /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; - 7BA5564D18ED087600E45020 /* Build configuration list for PBXNativeTarget "Index" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7BA5564E18ED087600E45020 /* Debug */, - 7BA5564F18ED087600E45020 /* Release */, - ); - defaultConfigurationIsVisible = 0; - }; -/* End XCConfigurationList section */ - }; - rootObject = 7BA555EC18ED087600E45020 /* Project object */; -} diff --git a/FastLED/FastLED.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/FastLED/FastLED.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 203db588..00000000 --- a/FastLED/FastLED.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Workspace - version = "1.0"> - <FileRef - location = "self:FastLED.xcodeproj"> - </FileRef> -</Workspace> diff --git a/FastLED/FastLED.xcodeproj/project.xcworkspace/xcuserdata/dgarcia.xcuserdatad/UserInterfaceState.xcuserstate b/FastLED/FastLED.xcodeproj/project.xcworkspace/xcuserdata/dgarcia.xcuserdatad/UserInterfaceState.xcuserstate Binary files differdeleted file mode 100644 index 8685299f..00000000 --- a/FastLED/FastLED.xcodeproj/project.xcworkspace/xcuserdata/dgarcia.xcuserdatad/UserInterfaceState.xcuserstate +++ /dev/null diff --git a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/All.xcscheme b/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/All.xcscheme deleted file mode 100644 index 6ff2b50f..00000000 --- a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/All.xcscheme +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Scheme - LastUpgradeVersion = "0510" - version = "1.3"> - <BuildAction - parallelizeBuildables = "YES" - buildImplicitDependencies = "YES"> - <BuildActionEntries> - <BuildActionEntry - buildForTesting = "YES" - buildForRunning = "YES" - buildForProfiling = "YES" - buildForArchiving = "YES" - buildForAnalyzing = "YES"> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "7BA555F018ED087600E45020" - BuildableName = "All" - BlueprintName = "All" - ReferencedContainer = "container:FastLED.xcodeproj"> - </BuildableReference> - </BuildActionEntry> - </BuildActionEntries> - </BuildAction> - <TestAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Debug"> - <Testables> - </Testables> - </TestAction> - <LaunchAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - launchStyle = "0" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Debug" - ignoresPersistentStateOnLaunch = "NO" - debugDocumentVersioning = "YES" - allowLocationSimulation = "YES"> - <AdditionalOptions> - </AdditionalOptions> - </LaunchAction> - <ProfileAction - shouldUseLaunchSchemeArgsEnv = "YES" - savedToolIdentifier = "" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" - debugDocumentVersioning = "YES"> - </ProfileAction> - <AnalyzeAction - buildConfiguration = "Debug"> - </AnalyzeAction> - <ArchiveAction - buildConfiguration = "Release" - revealArchiveInOrganizer = "YES"> - </ArchiveAction> -</Scheme> diff --git a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Build.xcscheme b/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Build.xcscheme deleted file mode 100644 index c5853b74..00000000 --- a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Build.xcscheme +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Scheme - LastUpgradeVersion = "0510" - version = "1.3"> - <BuildAction - parallelizeBuildables = "YES" - buildImplicitDependencies = "YES"> - <BuildActionEntries> - <BuildActionEntry - buildForTesting = "YES" - buildForRunning = "YES" - buildForProfiling = "YES" - buildForArchiving = "YES" - buildForAnalyzing = "YES"> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "7BA555F118ED087600E45020" - BuildableName = "Build" - BlueprintName = "Build" - ReferencedContainer = "container:FastLED.xcodeproj"> - </BuildableReference> - </BuildActionEntry> - </BuildActionEntries> - </BuildAction> - <TestAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Debug"> - <Testables> - </Testables> - </TestAction> - <LaunchAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - launchStyle = "0" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Debug" - ignoresPersistentStateOnLaunch = "NO" - debugDocumentVersioning = "YES" - allowLocationSimulation = "YES"> - <AdditionalOptions> - </AdditionalOptions> - </LaunchAction> - <ProfileAction - shouldUseLaunchSchemeArgsEnv = "YES" - savedToolIdentifier = "" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" - debugDocumentVersioning = "YES"> - </ProfileAction> - <AnalyzeAction - buildConfiguration = "Debug"> - </AnalyzeAction> - <ArchiveAction - buildConfiguration = "Release" - revealArchiveInOrganizer = "YES"> - </ArchiveAction> -</Scheme> diff --git a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Index.xcscheme b/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Index.xcscheme deleted file mode 100644 index 0ee62c4a..00000000 --- a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Index.xcscheme +++ /dev/null @@ -1,86 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Scheme - LastUpgradeVersion = "0510" - version = "1.3"> - <BuildAction - parallelizeBuildables = "YES" - buildImplicitDependencies = "YES"> - <BuildActionEntries> - <BuildActionEntry - buildForTesting = "YES" - buildForRunning = "YES" - buildForProfiling = "YES" - buildForArchiving = "YES" - buildForAnalyzing = "YES"> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "7BA555F518ED087600E45020" - BuildableName = "Index" - BlueprintName = "Index" - ReferencedContainer = "container:FastLED.xcodeproj"> - </BuildableReference> - </BuildActionEntry> - </BuildActionEntries> - </BuildAction> - <TestAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Debug"> - <Testables> - </Testables> - <MacroExpansion> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "7BA555F518ED087600E45020" - BuildableName = "Index" - BlueprintName = "Index" - ReferencedContainer = "container:FastLED.xcodeproj"> - </BuildableReference> - </MacroExpansion> - </TestAction> - <LaunchAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - launchStyle = "0" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Debug" - ignoresPersistentStateOnLaunch = "NO" - debugDocumentVersioning = "YES" - allowLocationSimulation = "YES"> - <BuildableProductRunnable> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "7BA555F518ED087600E45020" - BuildableName = "Index" - BlueprintName = "Index" - ReferencedContainer = "container:FastLED.xcodeproj"> - </BuildableReference> - </BuildableProductRunnable> - <AdditionalOptions> - </AdditionalOptions> - </LaunchAction> - <ProfileAction - shouldUseLaunchSchemeArgsEnv = "YES" - savedToolIdentifier = "" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" - debugDocumentVersioning = "YES"> - <BuildableProductRunnable> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "7BA555F518ED087600E45020" - BuildableName = "Index" - BlueprintName = "Index" - ReferencedContainer = "container:FastLED.xcodeproj"> - </BuildableReference> - </BuildableProductRunnable> - </ProfileAction> - <AnalyzeAction - buildConfiguration = "Debug"> - </AnalyzeAction> - <ArchiveAction - buildConfiguration = "Release" - revealArchiveInOrganizer = "YES"> - </ArchiveAction> -</Scheme> diff --git a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Serial.xcscheme b/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Serial.xcscheme deleted file mode 100644 index 47d41b70..00000000 --- a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Serial.xcscheme +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Scheme - LastUpgradeVersion = "0510" - version = "1.3"> - <BuildAction - parallelizeBuildables = "YES" - buildImplicitDependencies = "YES"> - <BuildActionEntries> - <BuildActionEntry - buildForTesting = "YES" - buildForRunning = "YES" - buildForProfiling = "YES" - buildForArchiving = "YES" - buildForAnalyzing = "YES"> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "7BA555F218ED087600E45020" - BuildableName = "Serial" - BlueprintName = "Serial" - ReferencedContainer = "container:FastLED.xcodeproj"> - </BuildableReference> - </BuildActionEntry> - </BuildActionEntries> - </BuildAction> - <TestAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Debug"> - <Testables> - </Testables> - </TestAction> - <LaunchAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - launchStyle = "0" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Debug" - ignoresPersistentStateOnLaunch = "NO" - debugDocumentVersioning = "YES" - allowLocationSimulation = "YES"> - <AdditionalOptions> - </AdditionalOptions> - </LaunchAction> - <ProfileAction - shouldUseLaunchSchemeArgsEnv = "YES" - savedToolIdentifier = "" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" - debugDocumentVersioning = "YES"> - </ProfileAction> - <AnalyzeAction - buildConfiguration = "Debug"> - </AnalyzeAction> - <ArchiveAction - buildConfiguration = "Release" - revealArchiveInOrganizer = "YES"> - </ArchiveAction> -</Scheme> diff --git a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Upload.xcscheme b/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Upload.xcscheme deleted file mode 100644 index e9440d31..00000000 --- a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/Upload.xcscheme +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Scheme - LastUpgradeVersion = "0510" - version = "1.3"> - <BuildAction - parallelizeBuildables = "YES" - buildImplicitDependencies = "YES"> - <BuildActionEntries> - <BuildActionEntry - buildForTesting = "YES" - buildForRunning = "YES" - buildForProfiling = "YES" - buildForArchiving = "YES" - buildForAnalyzing = "YES"> - <BuildableReference - BuildableIdentifier = "primary" - BlueprintIdentifier = "7BA555F318ED087600E45020" - BuildableName = "Upload" - BlueprintName = "Upload" - ReferencedContainer = "container:FastLED.xcodeproj"> - </BuildableReference> - </BuildActionEntry> - </BuildActionEntries> - </BuildAction> - <TestAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Debug"> - <Testables> - </Testables> - </TestAction> - <LaunchAction - selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" - selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - launchStyle = "0" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Debug" - ignoresPersistentStateOnLaunch = "NO" - debugDocumentVersioning = "YES" - allowLocationSimulation = "YES"> - <AdditionalOptions> - </AdditionalOptions> - </LaunchAction> - <ProfileAction - shouldUseLaunchSchemeArgsEnv = "YES" - savedToolIdentifier = "" - useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" - debugDocumentVersioning = "YES"> - </ProfileAction> - <AnalyzeAction - buildConfiguration = "Debug"> - </AnalyzeAction> - <ArchiveAction - buildConfiguration = "Release" - revealArchiveInOrganizer = "YES"> - </ArchiveAction> -</Scheme> diff --git a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/xcschememanagement.plist b/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 16c50ac3..00000000 --- a/FastLED/FastLED.xcodeproj/xcuserdata/dgarcia.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>SchemeUserState</key> - <dict> - <key>All.xcscheme</key> - <dict> - <key>orderHint</key> - <integer>0</integer> - </dict> - <key>Build.xcscheme</key> - <dict> - <key>orderHint</key> - <integer>1</integer> - </dict> - <key>Index.xcscheme</key> - <dict> - <key>orderHint</key> - <integer>4</integer> - </dict> - <key>Serial.xcscheme</key> - <dict> - <key>orderHint</key> - <integer>2</integer> - </dict> - <key>Upload.xcscheme</key> - <dict> - <key>orderHint</key> - <integer>3</integer> - </dict> - </dict> - <key>SuppressBuildableAutocreation</key> - <dict> - <key>7BA555F018ED087600E45020</key> - <dict> - <key>primary</key> - <true/> - </dict> - <key>7BA555F118ED087600E45020</key> - <dict> - <key>primary</key> - <true/> - </dict> - <key>7BA555F218ED087600E45020</key> - <dict> - <key>primary</key> - <true/> - </dict> - <key>7BA555F318ED087600E45020</key> - <dict> - <key>primary</key> - <true/> - </dict> - <key>7BA555F518ED087600E45020</key> - <dict> - <key>primary</key> - <true/> - </dict> - </dict> -</dict> -</plist> diff --git a/FastLED/FastLED/About/About.txt b/FastLED/FastLED/About/About.txt deleted file mode 100644 index d3d57cc8..00000000 --- a/FastLED/FastLED/About/About.txt +++ /dev/null @@ -1,15 +0,0 @@ - - embedXcode - embedXcode+ - ---------------------------------- - Embedded Computing on Xcode - - - © Rei VILO, 2010-2014 - All rights reserved - http://embedXcode.weebly.com/ - - -embedXcode • Mar 26, 2014 release 143 • Improved code sense for libraries -embedXcode+ • Mar 26, 2014 release 143 • Improved code sense for libraries -
\ No newline at end of file diff --git a/FastLED/FastLED/Configurations/Arduino Due.xcconfig b/FastLED/FastLED/Configurations/Arduino Due.xcconfig deleted file mode 100755 index 1fdfe498..00000000 --- a/FastLED/FastLED/Configurations/Arduino Due.xcconfig +++ /dev/null @@ -1,45 +0,0 @@ -// -// Arduino Due.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei Vilo on Oct 23, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = arduino_due_x - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// Note: if /dev/tty.usbserial* doesn't work, try /dev/tty.usbmodem* -// -BOARD_PORT = /dev/tty.usbserial* -//BOARD_PORT = /dev/tty.usbmodem* - -// Warning: some users have reported /dev/cu.usb* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __SAM3X8E__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 98304 - diff --git a/FastLED/FastLED/Configurations/Arduino Duemilanove.xcconfig b/FastLED/FastLED/Configurations/Arduino Duemilanove.xcconfig deleted file mode 100644 index 7aaea12e..00000000 --- a/FastLED/FastLED/Configurations/Arduino Duemilanove.xcconfig +++ /dev/null @@ -1,46 +0,0 @@ -// -// Duemilanove.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Joel Saltzman on 4/12/13 -// Copyright (c) 2013 joelsaltzman.com -// License All rigths reserved -// -// Maintained by Rei VILO on Mar 12, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rights reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for .name=Arduino Uno (16 MHz) -// -BOARD_TAG = uno - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbserial* -AVRDUDE_BAUDRATE = 57600 - -// References for Xcode code-sense -// See Boards.txt for .build.mcu= -// -GCC_PREPROCESSOR_DEFINITIONS = AVR_ATmega328P ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 2048 - diff --git a/FastLED/FastLED/Configurations/Arduino Leonardo.xcconfig b/FastLED/FastLED/Configurations/Arduino Leonardo.xcconfig deleted file mode 100755 index 251be856..00000000 --- a/FastLED/FastLED/Configurations/Arduino Leonardo.xcconfig +++ /dev/null @@ -1,41 +0,0 @@ -// -// Arduino Leonardo.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei Vilo on Aug 29, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = leonardo - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega32U4__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 2560 - diff --git a/FastLED/FastLED/Configurations/Arduino Mega 2560.xcconfig b/FastLED/FastLED/Configurations/Arduino Mega 2560.xcconfig deleted file mode 100755 index 29a59417..00000000 --- a/FastLED/FastLED/Configurations/Arduino Mega 2560.xcconfig +++ /dev/null @@ -1,46 +0,0 @@ -// -// Arduino Mega 2560.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Mar 12, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = mega2560 - -// For Arduino 1.5.x, if different from Arduino 1.0.x -// -BOARD_TAG1 = mega -BOARD_TAG2 = mega.menu.cpu.atmega2560 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega2560__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 8196 - diff --git a/FastLED/FastLED/Configurations/Arduino Mini with ATmega328-3.3V.xcconfig b/FastLED/FastLED/Configurations/Arduino Mini with ATmega328-3.3V.xcconfig deleted file mode 100644 index c04f74a4..00000000 --- a/FastLED/FastLED/Configurations/Arduino Mini with ATmega328-3.3V.xcconfig +++ /dev/null @@ -1,45 +0,0 @@ -// -// Arduino Mini with ATmega328-3.3V.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Mar 05, 2014 -// Copyright (c) 2014 http://embeddedcomputing.weebly.com -// License All rigths reserved -// -// Last update: Mar 06, 2014 release 138 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = pro328 - -// For Arduino 1.5.x, if different from Arduino 1.0.x -// -BOARD_TAG1 = pro -BOARD_TAG2 = pro.menu.cpu.8MHzatmega328 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega328P__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 2048 diff --git a/FastLED/FastLED/Configurations/Arduino Mini with ATmega328-5V.xcconfig b/FastLED/FastLED/Configurations/Arduino Mini with ATmega328-5V.xcconfig deleted file mode 100755 index 7d658cdb..00000000 --- a/FastLED/FastLED/Configurations/Arduino Mini with ATmega328-5V.xcconfig +++ /dev/null @@ -1,46 +0,0 @@ -// -// Arduino Mini with ATmega328-5V.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Mar 12, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Mar 06, 2014 release 138 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = pro5v328 - -// For Arduino 1.5.x, if different from Arduino 1.0.x -// -BOARD_TAG1 = pro -BOARD_TAG2 = menu.cpu.pro.16MHzatmega328 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega328P__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 2048 - diff --git a/FastLED/FastLED/Configurations/Arduino Robot Control.xcconfig b/FastLED/FastLED/Configurations/Arduino Robot Control.xcconfig deleted file mode 100644 index 946cf0f8..00000000 --- a/FastLED/FastLED/Configurations/Arduino Robot Control.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// Arduino Robot Control.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Jun 21, 2013 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = robotControl - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega328P__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 2048 diff --git a/FastLED/FastLED/Configurations/Arduino Robot Motor.xcconfig b/FastLED/FastLED/Configurations/Arduino Robot Motor.xcconfig deleted file mode 100644 index dbc5d3f6..00000000 --- a/FastLED/FastLED/Configurations/Arduino Robot Motor.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// Arduino Robot Control.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Jun 21, 2013 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = robotMotor - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega328P__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 2048 diff --git a/FastLED/FastLED/Configurations/Arduino Uno.xcconfig b/FastLED/FastLED/Configurations/Arduino Uno.xcconfig deleted file mode 100755 index ac4cb60e..00000000 --- a/FastLED/FastLED/Configurations/Arduino Uno.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// Arduino Uno.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Mar 12, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = uno - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega328P__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 2048 diff --git a/FastLED/FastLED/Configurations/Arduino Yun.xcconfig b/FastLED/FastLED/Configurations/Arduino Yun.xcconfig deleted file mode 100755 index 88aa8393..00000000 --- a/FastLED/FastLED/Configurations/Arduino Yun.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// Arduino Yun.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Jan 22, 2014 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = yun - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega32U4__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// - diff --git a/FastLED/FastLED/Configurations/DFRobot BLuno.xcconfig b/FastLED/FastLED/Configurations/DFRobot BLuno.xcconfig deleted file mode 100755 index 11db8186..00000000 --- a/FastLED/FastLED/Configurations/DFRobot BLuno.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// DFRobot BLuno.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Mar 12, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = uno - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega328P__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// given by <tag>.upload.maximum_data_size in boards.txt for Arduino 1.5.x -// -MAX_RAM_SIZE = 2048 diff --git a/FastLED/FastLED/Configurations/Digispark Tiny Core.xcconfig b/FastLED/FastLED/Configurations/Digispark Tiny Core.xcconfig deleted file mode 100644 index f1aa6f76..00000000 --- a/FastLED/FastLED/Configurations/Digispark Tiny Core.xcconfig +++ /dev/null @@ -1,44 +0,0 @@ -// -// Digispark Tiny Core.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Feb 14, 2013 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = digispark-tiny - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATtinyX5__ DIGISPARK - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/DigisparkArduino.app/Contents/Resources/Java/** /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -MAX_RAM_SIZE = 512 - -// If the programmer provides no serial port, set AVRDUDE_NO_SERIAL_PORT = 1 -// Otherwise, comment or set AVRDUDE_NO_SERIAL_PORT = 0 with BOARD_PORT as serial port -// -AVRDUDE_NO_SERIAL_PORT = 1 diff --git a/FastLED/FastLED/Configurations/Experimeter Board with MSP430FR5739.xcconfig b/FastLED/FastLED/Configurations/Experimeter Board with MSP430FR5739.xcconfig deleted file mode 100755 index 911648b6..00000000 --- a/FastLED/FastLED/Configurations/Experimeter Board with MSP430FR5739.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// Experimeter Board with MSP430FR5739.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei Vilo on Sep 20, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = lpmsp430fr5739 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.uart* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __MSP430FR5739__ ENERGIA - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = 1024 - diff --git a/FastLED/FastLED/Configurations/LaunchPad Stellaris with LM4F120.xcconfig b/FastLED/FastLED/Configurations/LaunchPad Stellaris with LM4F120.xcconfig deleted file mode 100755 index e59dfb4c..00000000 --- a/FastLED/FastLED/Configurations/LaunchPad Stellaris with LM4F120.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// LaunchPad Stellaris with LM4F120.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Oct 24, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = lplm4f120h5qr - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem0E* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __LM4F120H5QR__ ENERGIA - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = 32768 - diff --git a/FastLED/FastLED/Configurations/LaunchPad Tiva C with TM4C123.xcconfig b/FastLED/FastLED/Configurations/LaunchPad Tiva C with TM4C123.xcconfig deleted file mode 100644 index f4a1c783..00000000 --- a/FastLED/FastLED/Configurations/LaunchPad Tiva C with TM4C123.xcconfig +++ /dev/null @@ -1,44 +0,0 @@ -// -// LaunchPad Tiva C with TM4C123.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on 24/10/12 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = lptm4c1230c3pm - -// TM4C123GH6PM as http://www.ti.com/ww/en/launchpad/launchpads-tivac.html#tabs -// lptm4c1233h6pm -// lptm4c1230c3pm as boards.txt - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem0E* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __TM4C123GH6PM__ ENERGIA - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = 32768 - diff --git a/FastLED/FastLED/Configurations/LaunchPad with MSP430F5529.xcconfig b/FastLED/FastLED/Configurations/LaunchPad with MSP430F5529.xcconfig deleted file mode 100644 index 580b1de6..00000000 --- a/FastLED/FastLED/Configurations/LaunchPad with MSP430F5529.xcconfig +++ /dev/null @@ -1,39 +0,0 @@ -// -// LaunchPad with MSP430F5529.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Sep 05, 2013 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = lpmsp430f5529_25 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __MSP430F5529__ ENERGIA - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = 8096 diff --git a/FastLED/FastLED/Configurations/LaunchPad with MSP430G2231.xcconfig b/FastLED/FastLED/Configurations/LaunchPad with MSP430G2231.xcconfig deleted file mode 100755 index aa0ff285..00000000 --- a/FastLED/FastLED/Configurations/LaunchPad with MSP430G2231.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// LaunchPad with MSP430G2231.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Apr 05, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = lpmsp430g2231 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.uart* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __MSP430G2231__ ENERGIA - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = 128 - diff --git a/FastLED/FastLED/Configurations/LaunchPad with MSP430G2452.xcconfig b/FastLED/FastLED/Configurations/LaunchPad with MSP430G2452.xcconfig deleted file mode 100755 index 2e68e278..00000000 --- a/FastLED/FastLED/Configurations/LaunchPad with MSP430G2452.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// LaunchPad with MSP430G2452.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Apr 05, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = lpmsp430g2452 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.uart* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __MSP430G2452__ ENERGIA - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = 256 - diff --git a/FastLED/FastLED/Configurations/LaunchPad with MSP430G2553.xcconfig b/FastLED/FastLED/Configurations/LaunchPad with MSP430G2553.xcconfig deleted file mode 100755 index c080ff1b..00000000 --- a/FastLED/FastLED/Configurations/LaunchPad with MSP430G2553.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// LaunchPad with MSP430G2553.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Apr 05, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = lpmsp430g2553 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.uart* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __MSP430G2553__ ENERGIA - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = 512 - diff --git a/FastLED/FastLED/Configurations/Maple Flash revision 3+.xcconfig b/FastLED/FastLED/Configurations/Maple Flash revision 3+.xcconfig deleted file mode 100755 index 9edd3186..00000000 --- a/FastLED/FastLED/Configurations/Maple Flash revision 3+.xcconfig +++ /dev/null @@ -1,39 +0,0 @@ -// -// Maple Flash revision 3+.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on May 23, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = maple - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = MCU_STM32F103RB MAPLE_IDE - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/MapleIDE.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = diff --git a/FastLED/FastLED/Configurations/Microduino Core with ATmega328-5V.xcconfig b/FastLED/FastLED/Configurations/Microduino Core with ATmega328-5V.xcconfig deleted file mode 100644 index 196a49a6..00000000 --- a/FastLED/FastLED/Configurations/Microduino Core with ATmega328-5V.xcconfig +++ /dev/null @@ -1,39 +0,0 @@ -// -// Microduino Core with ATmega328-5V.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Jan 04, 2014 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = 328p16m - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbserial-* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega328P__ MICRODUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** /Applications/Microduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -MAX_RAM_SIZE = 2048 diff --git a/FastLED/FastLED/Configurations/Microduino Core+ with ATmega644-5V.xcconfig b/FastLED/FastLED/Configurations/Microduino Core+ with ATmega644-5V.xcconfig deleted file mode 100644 index 79054d3a..00000000 --- a/FastLED/FastLED/Configurations/Microduino Core+ with ATmega644-5V.xcconfig +++ /dev/null @@ -1,39 +0,0 @@ -// -// Microduino Core+ with ATmega644-5V.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Jan 04, 2014 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = 644pa16m - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbserial-* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega644P__ MICRODUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** /Applications/Microduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -MAX_RAM_SIZE = 4096 diff --git a/FastLED/FastLED/Configurations/Sparkfun Uno.xcconfig b/FastLED/FastLED/Configurations/Sparkfun Uno.xcconfig deleted file mode 100755 index e397bd72..00000000 --- a/FastLED/FastLED/Configurations/Sparkfun Uno.xcconfig +++ /dev/null @@ -1,45 +0,0 @@ -// -// Sparkfun Uno.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Mar 12, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = pro5v328 - -// For Arduino 1.5, if different from Arduino 1.0 -// -BOARD_TAG1 = pro -BOARD_TAG2 = menu.cpu.pro.16MHzatmega328 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbserial-* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega328P__ ARDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -MAX_RAM_SIZE = 2048 - diff --git a/FastLED/FastLED/Configurations/Teensy 2.0.xcconfig b/FastLED/FastLED/Configurations/Teensy 2.0.xcconfig deleted file mode 100755 index b89e07c1..00000000 --- a/FastLED/FastLED/Configurations/Teensy 2.0.xcconfig +++ /dev/null @@ -1,39 +0,0 @@ -// -// Teensy 2.0.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Nov 04, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = teensy2 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbserial* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega32U4__ TEENSYDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Teensyduino.app/Contents/Resources/Java/** /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = diff --git a/FastLED/FastLED/Configurations/Teensy 3.0.xcconfig b/FastLED/FastLED/Configurations/Teensy 3.0.xcconfig deleted file mode 100755 index cc13111a..00000000 --- a/FastLED/FastLED/Configurations/Teensy 3.0.xcconfig +++ /dev/null @@ -1,39 +0,0 @@ -// -// Teensy 3.0.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Nov 04, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = teensy3 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __MK20DX128__ TEENSYDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Teensyduino.app/Contents/Resources/Java/** /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = diff --git a/FastLED/FastLED/Configurations/Teensy 3.1.xcconfig b/FastLED/FastLED/Configurations/Teensy 3.1.xcconfig deleted file mode 100755 index 9396ecb3..00000000 --- a/FastLED/FastLED/Configurations/Teensy 3.1.xcconfig +++ /dev/null @@ -1,39 +0,0 @@ -// -// Teensy 3.1.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Nov 04, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = teensy31 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbmodem* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __MK20DX256__ TEENSYDUINO - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Teensyduino.app/Contents/Resources/Java/** /Applications/Arduino.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -//MAX_RAM_SIZE = diff --git a/FastLED/FastLED/Configurations/Wiring S.xcconfig b/FastLED/FastLED/Configurations/Wiring S.xcconfig deleted file mode 100755 index 17e892f3..00000000 --- a/FastLED/FastLED/Configurations/Wiring S.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// Wiring S.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Apr 05, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rights reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = WiringS - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbserial* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __AVR_ATmega644P__ WIRING - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Wiring.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -MAX_RAM_SIZE = 4096 - diff --git a/FastLED/FastLED/Configurations/chipKIT Max32.xcconfig b/FastLED/FastLED/Configurations/chipKIT Max32.xcconfig deleted file mode 100644 index abef05a1..00000000 --- a/FastLED/FastLED/Configurations/chipKIT Max32.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// chipKIT Max32.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Apr 21, 2013 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = mega_pic32 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbserial* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __32MX795F512L__ MPIDE - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Mpide.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -MAX_RAM_SIZE = 131072 - diff --git a/FastLED/FastLED/Configurations/chipKIT Uno32.xcconfig b/FastLED/FastLED/Configurations/chipKIT Uno32.xcconfig deleted file mode 100755 index a2664d9c..00000000 --- a/FastLED/FastLED/Configurations/chipKIT Uno32.xcconfig +++ /dev/null @@ -1,40 +0,0 @@ -// -// chipKIT Uno32.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by Rei VILO on Apr 08, 2012 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = uno_pic32 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbserial* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __32MX320F128H__ MPIDE - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Mpide.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -MAX_RAM_SIZE = 16384 - diff --git a/FastLED/FastLED/Configurations/chipKIT uC32.xcconfig b/FastLED/FastLED/Configurations/chipKIT uC32.xcconfig deleted file mode 100644 index 4637a0bc..00000000 --- a/FastLED/FastLED/Configurations/chipKIT uC32.xcconfig +++ /dev/null @@ -1,45 +0,0 @@ -// -// chipKIT Uno32.xcconfig -// Board configuration file -// ---------------------------------- -// Developed with embedXcode -// -// Part of embedXcode -// Embedded Computing on Xcode -// -// Created by John James on Apr 20, 2013 -// License All rigths reserved -// -// Maintained by Rei VILO on May 10, 2013 -// Copyright (c) 2012-2014 http://embedxcode.weebly.com -// License All rigths reserved -// -// Last update: Feb 06, 2014 release 131 - -// Board identifier -// See Boards.txt for <tag>.name=Arduino Uno (16 MHz) -// -BOARD_TAG = chipkit_uc32 - -// Port (optionnal) -// most common are /dev/tty.usbserial*, /dev/tty.usbmodem* or /dev/tty.uart* -// -BOARD_PORT = /dev/tty.usbserial* - -// References for Xcode code-sense -// See Boards.txt for <tag>.build.mcu=<GCC_PREPROCESSOR_DEFINITIONS> -// -GCC_PREPROCESSOR_DEFINITIONS = __32MX340F512H__ MPIDE - -// Specify the full path and name of the application -// with /Contents/Resources/Java/** after -// -HEADER_SEARCH_PATHS = /Applications/Mpide.app/Contents/Resources/Java/** - -// Maximum RAM size in bytes -// given by <tag>.upload.maximum_ram_size in boards.txt for Maple and Teensy -// -// Thanks Sinus! http://chipkit.net/forum/viewtopic.php?p=10932#p10932 -// -MAX_RAM_SIZE = 32768 - diff --git a/FastLED/FastLED/FastLED.ino b/FastLED/FastLED/FastLED.ino deleted file mode 100644 index 137eed39..00000000 --- a/FastLED/FastLED/FastLED.ino +++ /dev/null @@ -1,91 +0,0 @@ -// -// FastLED -// -// FastLED library drivers -// Developed with [embedXcode](http://embedXcode.weebly.com) -// -// Author Daniel Garcia -// Daniel Garcia -// -// Date 4/2/14 8:09 PM -// Version <#version#> -// -// Copyright © Daniel Garcia, 2014 -// License <#license#> -// -// See ReadMe.txt for references -// - -// Core library for code-sense -#if defined(WIRING) // Wiring specific -#include "Wiring.h" -#elif defined(MAPLE_IDE) // Maple specific -#include "WProgram.h" -#elif defined(MICRODUINO) // Microduino specific -#include "Arduino.h" -#elif defined(MPIDE) // chipKIT specific -#include "WProgram.h" -#elif defined(DIGISPARK) // Digispark specific -#include "Arduino.h" -#elif defined(ENERGIA) // LaunchPad MSP430, Stellaris and Tiva, Experimeter Board FR5739 specific -#include "Energia.h" -#elif defined(TEENSYDUINO) // Teensy specific -#include "Arduino.h" -#elif defined(ARDUINO) // Arduino 1.0 and 1.5 specific -#include "Arduino.h" -#else // error -#error Platform not defined -#endif - -// Include application, user and local libraries -#include "LocalLibrary.h" - - -// Prototypes - - -// Define variables and constants -// -// Brief Name of the LED -// Details Each board has a LED but connected to a different pin -// -uint8_t myLED; - - -// -// Brief Setup -// Details Define the pin the LED is connected to -// -// Add setup code -void setup() { - // myLED pin number -#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega32U4__) || defined(__SAM3X8E__) // Arduino specific - myLED = 13; -#elif defined(__PIC32MX__) // chipKIT specific - myLED = 13; -#elif defined(__AVR_ATtinyX5__) // Digispark specific - myLED = 1; // assuming model A -#elif defined(__AVR_ATmega644P__) // Wiring specific - myLED = 15; -#elif defined(__MSP430G2452__) || defined(__MSP430G2553__) || defined(__MSP430G2231__) || defined(__MSP430F5529__) || defined(__MSP430FR5739__) // LaunchPad MSP430 and Experimeter Board FR5739 specific - myLED = RED_LED; -#elif defined(__LM4F120H5QR__) || defined(__TM4C1230C3PM__) // LaunchPad Stellaris and Tiva specific - myLED = RED_LED; -#elif defined(MCU_STM32F103RB) || defined(MCU_STM32F103ZE) || defined(MCU_STM32F103CB) || defined(MCU_STM32F103RE) // Maple specific - myLED = BOARD_LED_PIN; -#elif defined(__MK20DX128__) // Teensy 3.0 specific - myLED = 13; -#endif - - pinMode(myLED, OUTPUT); -} - -// -// Brief Loop -// Details Call blink -// -// Add loop code -void loop() { - blink(myLED, 3, 333); - delay(1000); -} diff --git a/FastLED/FastLED/LocalLibrary.cpp b/FastLED/FastLED/LocalLibrary.cpp deleted file mode 100644 index d2b89b65..00000000 --- a/FastLED/FastLED/LocalLibrary.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// -// LocalLibrary.cpp -// Library C++ code -// ---------------------------------- -// Developed with embedXcode -// http://embedXcode.weebly.com -// -// Project FastLED -// -// Created by Daniel Garcia, 4/2/14 8:09 PM -// Daniel Garcia -// -// Copyright © Daniel Garcia, 2014 -// License <#license#> -// -// See LocalLibrary.cpp.h and ReadMe.txt for references -// - - -#include "LocalLibrary.h" - -void blink(uint8_t pin, uint8_t times, uint16_t ms) { - for (uint8_t i=0; i<times; i++) { - digitalWrite(pin, HIGH); - delay(ms >> 1); - digitalWrite(pin, LOW); - delay(ms >> 1); - } -} diff --git a/FastLED/FastLED/LocalLibrary.h b/FastLED/FastLED/LocalLibrary.h deleted file mode 100644 index ed0dc614..00000000 --- a/FastLED/FastLED/LocalLibrary.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// File LocalLibrary.h -// Brief Library header -// -// Project FastLED -// Developed with [embedXcode](http://embedXcode.weebly.com) -// -// Author Daniel Garcia -// Daniel Garcia -// Date 4/2/14 8:09 PM -// Version <#version#> -// -// Copyright © Daniel Garcia, 2014 -// License <#license#> -// -// See ReadMe.txt for references -// - - -// Core library - IDE-based -#if defined(WIRING) // Wiring specific -#include "Wiring.h" -#elif defined(MAPLE_IDE) // Maple specific -#include "WProgram.h" -#elif defined(MPIDE) // chipKIT specific -#include "WProgram.h" -#elif defined(DIGISPARK) // Digispark specific -#include "Arduino.h" -#elif defined(ENERGIA) // LaunchPad MSP430 G2 and F5529, Stellaris and Tiva, Experimeter Board FR5739 specific -#include "Energia.h" -#elif defined(MICRODUINO) // Microduino specific -#include "Arduino.h" -#elif defined(TEENSYDUINO) // Teensy specific -#include "Arduino.h" -#elif defined(ARDUINO) // Arduino 1.0 and 1.5 specific -#include "Arduino.h" -#else // error -#error Platform not defined -#endif // end IDE - -#ifndef FastLED_LocalLibrary_h -#define FastLED_LocalLibrary_h - -// -// Brief Blink a LED -// Details LED attached to pin is light on then light off -// Total cycle duration = ms -// Parameters: -// pin pin to which the LED is attached -// times number of times -// ms cycle duration in ms -// -void blink(uint8_t pin, uint8_t times, uint16_t ms); - -#endif diff --git a/FastLED/FastLED/Makefile b/FastLED/FastLED/Makefile deleted file mode 100644 index 355c5d17..00000000 --- a/FastLED/FastLED/Makefile +++ /dev/null @@ -1,80 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# All rights reserved -# http://embedxcode.weebly.com -# -# Last update: Mar 01, 2014 release 136 - - -# Libraries -# ---------------------------------- -# Declare application Arduino/chipKIT/Digispark/Energia/Maple/Microduino/Teensy/Wiring -# and user's libraries used -# Short-listing libraries speeds-up building -# Typing = 0 takes none (default for application and user) -# Otherwise, leaving empty considers all - -# List application Arduino/chipKIT/Digispark/Energia/Maple/Microduino/Teensy/Wiring libraries here -# default = 0 = none -# -APP_LIBS_LIST = 0 - -# List user's libraries here -# default = 0 = none -# -USER_LIBS_LIST = 0 - -# List core, application and user's libraries to be excluded -# For example, WiFi may crash on Arduino 1.0.2, Esplora on Arduino 1.0.3, Firmata on Teensy 3.0, -# OneWire on MPIDE 0023, HardwareSerial may conflict with MarlinSerial -# -#EXCLUDE_LIBS = Firmata WiFi Esplora OneWire Robot_Control Robot_Control/utility Robot_Motor - - -# Parameters -# ---------------------------------- -# Xcode takes BOARD_TAG and BOARD_PORT from the .xcconfig file -# For other IDEs than Xcode, - -# BOARD_TAG is required -# If not defined, error BOARD_TAG not defined -# -#BOARD_TAG = mega2560 - -# BOARD_PORT is optional -# If not defined, BOARD_PORT = /dev/tty.usb* (default) -# -#BOARD_PORT = /dev/tty.usbmodem* - -# Xcode takes SKETCHBOOK_DIR from preferences.txt -# If not defined, each IDE has its own SKETCHBOOK_DIR (default) -# To share the same SKETCHBOOK_DIR along all IDEs, define -# -#SKETCHBOOK_DIR = - -# SERIAL_BAUDRATE for the serial console, 9600 by default -# Uncomment and specify another speed -# -#SERIAL_BAUDRATE = 19200 - - -# Miscellaneous -# ---------------------------------- -# Manage path with space in the name -# -CURRENT_DIR := $(shell pwd) -CURRENT_DIR := $(shell echo '$(CURRENT_DIR)' | sed 's/ /\\\ /g') - -# C-compliant project name -# -PROJECT_NAME_AS_IDENTIFIER = FastLED - -MAKEFILE_PATH = $(CURRENT_DIR)/Makefiles -UTILITIES_PATH = $(CURRENT_DIR)/Utilities - -include $(MAKEFILE_PATH)/Step1.mk - diff --git a/FastLED/FastLED/Makefiles/Arduino.mk b/FastLED/FastLED/Makefiles/Arduino.mk deleted file mode 100755 index 5d7dd4fc..00000000 --- a/FastLED/FastLED/Makefiles/Arduino.mk +++ /dev/null @@ -1,24 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Jun 21, 2013 release 54 - - - -# Arduino specifics -# ---------------------------------- -# Automatic 0023 or 1.x.x selection based on version.txt -# -ifneq ($(shell grep 1. $(ARDUINO_PATH)/lib/version.txt),) - include $(MAKEFILE_PATH)/Arduino1.mk -else - include $(MAKEFILE_PATH)/Arduino23.mk -endif - diff --git a/FastLED/FastLED/Makefiles/Arduino1.mk b/FastLED/FastLED/Makefiles/Arduino1.mk deleted file mode 100755 index 67cd6490..00000000 --- a/FastLED/FastLED/Makefiles/Arduino1.mk +++ /dev/null @@ -1,91 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Jun 21, 2013 release 54 - - - -# Arduino 1.0.x specifics -# ---------------------------------- -# -PLATFORM := Arduino -PLATFORM_TAG = ARDUINO=105 EMBEDXCODE=$(RELEASE_NOW) -APPLICATION_PATH := $(ARDUINO_PATH) - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/avr/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/arduino/cores/arduino -APP_LIB_PATH := $(APPLICATION_PATH)/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/arduino/boards.txt - -# Sketchbook/Libraries path -# wildcard required for ~ management -# -ifeq ($(USER_PATH)/Library/Arduino/preferences.txt,) - $(error Error: run Arduino once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(USER_PATH)/Library/Arduino/preferences.txt | cut -d = -f 2) -endif -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"Arduino.h\" - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/avr-gcc -CXX = $(APP_TOOLS_PATH)/avr-g++ -AR = $(APP_TOOLS_PATH)/avr-ar -OBJDUMP = $(APP_TOOLS_PATH)/avr-objdump -OBJCOPY = $(APP_TOOLS_PATH)/avr-objcopy -SIZE = $(APP_TOOLS_PATH)/avr-size -NM = $(APP_TOOLS_PATH)/avr-nm - -# Specific AVRDUDE location and options -# -AVRDUDE_COM_OPTS = -D -p$(MCU) -C$(AVRDUDE_CONF) - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -#LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),ldscript) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -VARIANT_PATH = $(APPLICATION_PATH)/hardware/arduino/variants/$(VARIANT) - -MCU_FLAG_NAME = mmcu -EXTRA_LDFLAGS = -EXTRA_CPPFLAGS = -MMD -I$(VARIANT_PATH) $(addprefix -D, $(PLATFORM_TAG)) - -# Leonardo USB PID VID -# -USB_TOUCH := $(call PARSE_BOARD,$(BOARD_TAG),upload.protocol) -USB_VID := $(call PARSE_BOARD,$(BOARD_TAG),build.vid) -USB_PID := $(call PARSE_BOARD,$(BOARD_TAG),build.pid) - -ifneq ($(USB_PID),) - USB_FLAGS += -DUSB_PID=$(USB_PID) -else - USB_FLAGS += -DUSB_PID=null -endif - -ifneq ($(USB_VID),) - USB_FLAGS += -DUSB_VID=$(USB_VID) -else - USB_FLAGS += -DUSB_VID=null -endif - -# Serial 1200 reset -# -ifeq ($(USB_TOUCH),avr109) - USB_RESET = $(UTILITIES_PATH)/serial1200.py -endif diff --git a/FastLED/FastLED/Makefiles/Arduino15avr.mk b/FastLED/FastLED/Makefiles/Arduino15avr.mk deleted file mode 100755 index f3b6d836..00000000 --- a/FastLED/FastLED/Makefiles/Arduino15avr.mk +++ /dev/null @@ -1,199 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Feb 10, 2014 release 132 - -# ARDUINO 1.5.X IS STILL IN BETA, UNSTABLE AND PRONE TO BUGS -WARNING_MESSAGE = 'ARDUINO 1.5.X IS STILL IN BETA, UNSTABLE AND PRONE TO BUGS' - - -# Arduino 1.5.x AVR specifics -# ---------------------------------- -# -PLATFORM := Arduino -BUILD_CORE := avr -PLATFORM_TAG = ARDUINO=155 ARDUINO_ARCH_AVR EMBEDXCODE=$(RELEASE_NOW) -APPLICATION_PATH := $(ARDUINO_PATH) - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/avr/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/arduino/avr/cores/arduino -APP_LIB_PATH := $(APPLICATION_PATH)/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/arduino/avr/boards.txt - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/Arduino/preferences.txt,) - $(error Error: run Arduino once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(USER_PATH)/Library/Arduino15/preferences.txt | cut -d = -f 2) -endif -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"Arduino.h\" - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/avr-gcc -CXX = $(APP_TOOLS_PATH)/avr-g++ -AR = $(APP_TOOLS_PATH)/avr-ar -OBJDUMP = $(APP_TOOLS_PATH)/avr-objdump -OBJCOPY = $(APP_TOOLS_PATH)/avr-objcopy -SIZE = $(APP_TOOLS_PATH)/avr-size -NM = $(APP_TOOLS_PATH)/avr-nm - - -# Complicated menu system for Arduino 1.5 -# Another example of Arduino's quick and dirty job -# -MCU := $(call PARSE_BOARD,$(BOARD_TAG),build.mcu) -ifeq ($(MCU),) - MCU := $(call PARSE_BOARD,$(BOARD_TAG1),build.mcu) - ifeq ($(MCU),) - MCU := $(call PARSE_BOARD,$(BOARD_TAG2),build.mcu) - endif -endif - -F_CPU := $(call PARSE_BOARD,$(BOARD_TAG),build.f_cpu) -ifeq ($(F_CPU),) - F_CPU := $(call PARSE_BOARD,$(BOARD_TAG1),build.f_cpu) - ifeq ($(F_CPU),) - F_CPU := $(call PARSE_BOARD,$(BOARD_TAG2),build.f_cpu) - endif -endif - -BOARD_NAME := $(call PARSE_BOARD,$(BOARD_TAG),name) -ifeq ($(BOARD_NAME),) - BOARD_NAME := $(call PARSE_BOARD,$(BOARD_TAG1),name) - ifeq ($(BOARD_NAME),) - BOARD_NAME := $(call PARSE_BOARD,$(BOARD_TAG2),name) - endif -endif - -MAX_FLASH_SIZE := $(call PARSE_BOARD,$(BOARD_TAG),upload.maximum_size) -ifeq ($(MAX_FLASH_SIZE),) - MAX_FLASH_SIZE := $(call PARSE_BOARD,$(BOARD_TAG1),upload.maximum_size) - ifeq ($(MAX_FLASH_SIZE),) - MAX_FLASH_SIZE := $(call PARSE_BOARD,$(BOARD_TAG2),upload.maximum_size) - endif -endif - -AVRDUDE_BAUDRATE := $(call PARSE_BOARD,$(BOARD_TAG),upload.speed) -ifeq ($(AVRDUDE_BAUDRATE),) - AVRDUDE_BAUDRATE := $(call PARSE_BOARD,$(BOARD_TAG1),upload.speed) - ifeq ($(AVRDUDE_BAUDRATE),) - AVRDUDE_BAUDRATE := $(call PARSE_BOARD,$(BOARD_TAG2),upload.speed) - endif -endif - -AVRDUDE_PROGRAMMER := $(call PARSE_BOARD,$(BOARD_TAG),upload.protocol) -ifeq ($(AVRDUDE_PROGRAMMER),) - AVRDUDE_PROGRAMMER := $(call PARSE_BOARD,$(BOARD_TAG1),upload.protocol) - ifeq ($(AVRDUDE_PROGRAMMER),) - AVRDUDE_PROGRAMMER := $(call PARSE_BOARD,$(BOARD_TAG2),upload.protocol) - endif -endif - - - -#ifeq ($(BOARD_TAG2),) -# MCU = $(call PARSE_BOARD,$(BOARD_TAG),build.mcu) -# F_CPU = $(call PARSE_BOARD,$(BOARD_TAG),build.f_cpu) -#else -# MCU = $(call PARSE_BOARD,$(BOARD_TAG2),build.mcu) -# F_CPU = $(call PARSE_BOARD,$(BOARD_TAG2),build.f_cpu) -#endif - -# Specific AVRDUDE location and options -# -AVRDUDE_COM_OPTS = -D -p$(MCU) -C$(AVRDUDE_CONF) - -ifneq ($(BOARD_TAG1),) -#BOARD = $(call PARSE_BOARD,$(BOARD_TAG1),board) -#LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG1),ldscript) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG1),build.variant) -VARIANT_PATH = $(APPLICATION_PATH)/hardware/arduino/avr/variants/$(VARIANT) -else -#BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -#LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),ldscript) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -VARIANT_PATH = $(APPLICATION_PATH)/hardware/arduino/avr/variants/$(VARIANT) -endif - -# Two locations for Arduino libraries -# -BUILD_APP_LIB_PATH = $(APPLICATION_PATH)/hardware/arduino/$(BUILD_CORE)/libraries - -ifndef APP_LIBS_LIST - w1 = $(realpath $(sort $(dir $(wildcard $(APP_LIB_PATH)/*/*.h $(APP_LIB_PATH)/*/*/*.h)))) # */ - APP_LIBS_LIST = $(subst $(APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w1))) - - w2 = $(realpath $(sort $(dir $(wildcard $(BUILD_APP_LIB_PATH)/*/*.h $(BUILD_APP_LIB_PATH)/*/*/*.h)))) # */ - BUILD_APP_LIBS_LIST = $(subst $(BUILD_APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w2))) -else - w2 = $(realpath $(sort $(dir $(wildcard $(BUILD_APP_LIB_PATH)/*/*.h $(BUILD_APP_LIB_PATH)/*/*/*.h)))) # */ - BUILD_APP_LIBS_LIST = $(subst $(BUILD_APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w2))) -endif - - -# Arduino 1.5.x nightmare with src and arch/sam or arch/avr -# -ifneq ($(APP_LIBS_LIST),0) - APP_LIBS = $(patsubst %,$(APP_LIB_PATH)/%/src,$(APP_LIBS_LIST)) - APP_LIBS += $(patsubst %,$(APP_LIB_PATH)/%/arch/$(BUILD_CORE),$(APP_LIBS_LIST)) - - APP_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(APP_LIBS))) # */ - APP_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(APP_LIBS))) # */ - - APP_LIB_OBJS = $(patsubst $(APP_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(APP_LIB_CPP_SRC)) - APP_LIB_OBJS += $(patsubst $(APP_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(APP_LIB_C_SRC)) - - BUILD_APP_LIBS = $(patsubst %,$(BUILD_APP_LIB_PATH)/%,$(BUILD_APP_LIBS_LIST)) - - BUILD_APP_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(BUILD_APP_LIBS))) # */ - BUILD_APP_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(BUILD_APP_LIBS))) # */ - - BUILD_APP_LIB_OBJS = $(patsubst $(BUILD_APP_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(BUILD_APP_LIB_CPP_SRC)) - BUILD_APP_LIB_OBJS += $(patsubst $(BUILD_APP_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(BUILD_APP_LIB_C_SRC)) -endif - - -MCU_FLAG_NAME = mmcu -EXTRA_LDFLAGS = -EXTRA_CPPFLAGS = -I$(VARIANT_PATH) $(addprefix -D, $(PLATFORM_TAG)) - - -# Arduino Leonardo USB PID VID -# -USB_VID := $(call PARSE_BOARD,$(BOARD_TAG),build.vid) -USB_PID := $(call PARSE_BOARD,$(BOARD_TAG),build.pid) - -ifneq ($(USB_PID),) -ifneq ($(USB_VID),) - USB_FLAGS = -DUSB_VID=$(USB_VID) - USB_FLAGS += -DUSB_PID=$(USB_PID) -endif -endif - -# Arduino Leonardo serial 1200 reset -# -USB_TOUCH := $(call PARSE_BOARD,$(BOARD_TAG),upload.protocol) - -ifeq ($(USB_TOUCH),avr109) - USB_RESET = $(UTILITIES_PATH)/serial1200.py -endif diff --git a/FastLED/FastLED/Makefiles/Arduino15sam.mk b/FastLED/FastLED/Makefiles/Arduino15sam.mk deleted file mode 100755 index 4ac899eb..00000000 --- a/FastLED/FastLED/Makefiles/Arduino15sam.mk +++ /dev/null @@ -1,157 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Feb 10, 2014 release 132 - -# ARDUINO 1.5.X IS STILL IN BETA, UNSTABLE AND PRONE TO BUGS -WARNING_MESSAGE = 'ARDUINO 1.5.X IS STILL IN BETA, UNSTABLE AND PRONE TO BUGS' - - -# Arduino 1.5.x SAM specifics -# ---------------------------------- -# -PLATFORM := Arduino -BUILD_CORE := sam -PLATFORM_TAG = ARDUINO=155 ARDUINO_ARCH_SAM EMBEDXCODE=$(RELEASE_NOW) -APPLICATION_PATH := $(ARDUINO_PATH) - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/g++_arm_none_eabi/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/arduino/sam/cores/arduino -APP_LIB_PATH := $(APPLICATION_PATH)/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/arduino/sam/boards.txt - -# -# Uploader bossac -# Tested by Mike Roberts -# -UPLOADER = bossac -BOSSAC_PATH = $(APPLICATION_PATH)/hardware/tools -BOSSAC = $(BOSSAC_PATH)/bossac -BOSSAC_PORT = $(subst /dev/,,$(AVRDUDE_PORT)) -BOSSAC_OPTS = --port=$(BOSSAC_PORT) -U false -e -w -v -b - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/Arduino/preferences.txt,) - $(error Error: run Arduino once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(USER_PATH)/Library/Arduino15/preferences.txt | cut -d = -f 2) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif - -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"Arduino.h\" - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/arm-none-eabi-gcc -CXX = $(APP_TOOLS_PATH)/arm-none-eabi-g++ -AR = $(APP_TOOLS_PATH)/arm-none-eabi-ar -OBJDUMP = $(APP_TOOLS_PATH)/arm-none-eabi-objdump -OBJCOPY = $(APP_TOOLS_PATH)/arm-none-eabi-objcopy -SIZE = $(APP_TOOLS_PATH)/arm-none-eabi-size -NM = $(APP_TOOLS_PATH)/arm-none-eabi-nm - -# Specific AVRDUDE location and options -# -AVRDUDE_COM_OPTS = -D -p$(MCU) -C$(AVRDUDE_CONF) - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),build.ldscript) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -VARIANT_PATH = $(APPLICATION_PATH)/hardware/arduino/sam/variants/$(VARIANT) -VARIANT_CPP_SRCS = $(wildcard $(VARIANT_PATH)/*.cpp) # */ $(VARIANT_PATH)/*/*.cpp #*/ -VARIANT_OBJ_FILES = $(VARIANT_CPP_SRCS:.cpp=.o) -VARIANT_OBJS = $(patsubst $(VARIANT_PATH)/%,$(OBJDIR)/%,$(VARIANT_OBJ_FILES)) - -SYSTEM_LIB = $(call PARSE_BOARD,$(BOARD_TAG),build.variant_system_lib) -SYSTEM_PATH = $(VARIANT_PATH) -SYSTEM_OBJS = $(SYSTEM_PATH)/$(SYSTEM_LIB) - - -# Two locations for Arduino libraries -# -BUILD_APP_LIB_PATH = $(APPLICATION_PATH)/hardware/arduino/$(BUILD_CORE)/libraries - -ifndef APP_LIBS_LIST - w1 = $(realpath $(sort $(dir $(wildcard $(APP_LIB_PATH)/*/*.h $(APP_LIB_PATH)/*/*/*.h)))) # */ - APP_LIBS_LIST = $(subst $(APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w1))) - - w2 = $(realpath $(sort $(dir $(wildcard $(BUILD_APP_LIB_PATH)/*/*.h $(BUILD_APP_LIB_PATH)/*/*/*.h)))) # */ - BUILD_APP_LIBS_LIST = $(subst $(BUILD_APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w2))) -else - w2 = $(realpath $(sort $(dir $(wildcard $(BUILD_APP_LIB_PATH)/*/*.h $(BUILD_APP_LIB_PATH)/*/*/*.h)))) # */ - BUILD_APP_LIBS_LIST = $(subst $(BUILD_APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w2))) -endif - - -# Arduino 1.5.x nightmare with src and arch/sam or arch/avr -# Another example of Arduino's quick and dirty job -# -ifneq ($(APP_LIBS_LIST),0) - APP_LIBS = $(patsubst %,$(APP_LIB_PATH)/%/src,$(APP_LIBS_LIST)) - APP_LIBS += $(patsubst %,$(APP_LIB_PATH)/%/arch/$(BUILD_CORE),$(APP_LIBS_LIST)) - - APP_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(APP_LIBS))) # */ - APP_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(APP_LIBS))) # */ - - APP_LIB_OBJS = $(patsubst $(APP_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(APP_LIB_CPP_SRC)) - APP_LIB_OBJS += $(patsubst $(APP_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(APP_LIB_C_SRC)) - - BUILD_APP_LIBS = $(patsubst %,$(BUILD_APP_LIB_PATH)/%,$(BUILD_APP_LIBS_LIST)) - - BUILD_APP_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(BUILD_APP_LIBS))) # */ - BUILD_APP_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(BUILD_APP_LIBS))) # */ - - BUILD_APP_LIB_OBJS = $(patsubst $(BUILD_APP_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(BUILD_APP_LIB_CPP_SRC)) - BUILD_APP_LIB_OBJS += $(patsubst $(BUILD_APP_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(BUILD_APP_LIB_C_SRC)) -endif - -SYSTEM_FLAGS = -I$(APPLICATION_PATH)/hardware/arduino/sam/system/libsam -SYSTEM_FLAGS += -I$(APPLICATION_PATH)/hardware/arduino/sam/system/libsam/include -SYSTEM_FLAGS += -I$(APPLICATION_PATH)/hardware/arduino/sam/system/CMSIS/CMSIS/Include/ -SYSTEM_FLAGS += -I$(APPLICATION_PATH)/hardware/arduino/sam/system/CMSIS/Device/ATMEL/ - -MCU_FLAG_NAME = mcpu -EXTRA_LDFLAGS = -T$(VARIANT_PATH)/$(LDSCRIPT) -Wl,-Map,Builds/embeddedcomputing.map $(VARIANT_OBJS) -EXTRA_LDFLAGS += -lgcc -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -EXTRA_LDFLAGS += -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -EXTRA_LDFLAGS += -Wl,--warn-unresolved-symbols - -EXTRA_CPPFLAGS = -I$(VARIANT_PATH) $(addprefix -D, $(PLATFORM_TAG)) -D__SAM3X8E__ -mthumb -fno-rtti -EXTRA_CPPFLAGS += -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf $(SYSTEM_FLAGS) - -OBJCOPYFLAGS = -v -Obinary -TARGET_HEXBIN = $(TARGET_BIN) - -# Arduino Due USB PID VID -# -USB_VID := $(call PARSE_BOARD,$(BOARD_TAG),build.vid) -USB_PID := $(call PARSE_BOARD,$(BOARD_TAG),build.pid) - -USB_FLAGS = -DUSB_VID=$(USB_VID) -USB_FLAGS += -DUSB_PID=$(USB_PID) -USB_FLAGS += -DUSBCON - -# Arduino Due serial 1200 reset -# -USB_TOUCH := $(call PARSE_BOARD,$(BOARD_TAG),upload.protocol) -USB_RESET = $(UTILITIES_PATH)/serial1200.py - diff --git a/FastLED/FastLED/Makefiles/Arduino23.mk b/FastLED/FastLED/Makefiles/Arduino23.mk deleted file mode 100755 index 828fbbe1..00000000 --- a/FastLED/FastLED/Makefiles/Arduino23.mk +++ /dev/null @@ -1,69 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Apr 28, 2013 release 47 - -# ARDUINO 0023 IS NO LONGER SUPPORTED -WARNING_MESSAGE = 'WARNING_MESSAGE - ARDUINO 0023 IS NO LONGER SUPPORTED' - - -# Arduino 0023 specifics -# ---------------------------------- -# -PLATFORM := Arduino -PLATFORM_TAG = ARDUINO=23 EMBEDXCODE=$(RELEASE_NOW) -APPLICATION_PATH := $(ARDUINO_PATH) - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/avr/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/arduino/cores/arduino -APP_LIB_PATH := $(APPLICATION_PATH)/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/arduino/boards.txt - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/Arduino/preferences.txt,) - $(error Error: run Arduino once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(USER_PATH)/Library/Arduino/preferences.txt | cut -d = -f 2) -endif -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"WProgram.h\" - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/avr-gcc -CXX = $(APP_TOOLS_PATH)/avr-g++ -AR = $(APP_TOOLS_PATH)/avr-ar -OBJDUMP = $(APP_TOOLS_PATH)/avr-objdump -OBJCOPY = $(APP_TOOLS_PATH)/avr-objcopy -SIZE = $(APP_TOOLS_PATH)/avr-size -NM = $(APP_TOOLS_PATH)/avr-nm - - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -#LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),ldscript) -#VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) - -MCU_FLAG_NAME = mmcu -EXTRA_LDFLAGS = -EXTRA_CPPFLAGS = $(addprefix -D, $(PLATFORM_TAG)) - - - diff --git a/FastLED/FastLED/Makefiles/Avrdude.mk b/FastLED/FastLED/Makefiles/Avrdude.mk deleted file mode 100755 index 9ec70336..00000000 --- a/FastLED/FastLED/Makefiles/Avrdude.mk +++ /dev/null @@ -1,93 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Nov 04, 2013 release 112 - - - -# AVRDUDE -# ---------------------------------- -# -# First /dev port -# -# Port is no longer managed here but AVRDUDE_PORT is required for serial console -# -AVRDUDE_PORT = $(firstword $(wildcard $(BOARD_PORT))) - -ifndef AVRDUDE_PATH - AVRDUDE_PATH = $(APPLICATION_PATH)/hardware/tools/avr -endif - -ifndef AVRDUDE - AVRDUDE_EXEC = $(AVRDUDE_PATH)/bin/avrdude -endif - -ifndef AVRDUDE_CONF - AVRDUDE_CONF = $(AVRDUDE_PATH)/etc/avrdude.conf -endif - -ifndef AVRDUDE_COM_OPTS - AVRDUDE_COM_OPTS = -q -V -F -p$(MCU) -C$(AVRDUDE_CONF) -endif - -ifndef AVRDUDE_OPTS -# AVRDUDE_OPTS = -c$(AVRDUDE_PROGRAMMER) -b$(AVRDUDE_BAUDRATE) -P$(AVRDUDE_PORT) - AVRDUDE_OPTS = -c$(AVRDUDE_PROGRAMMER) -b$(AVRDUDE_BAUDRATE) -endif - -ifndef AVRDUDE_MCU - AVRDUDE_MCU = $(MCU) -endif - -ifndef ISP_PROG - ISP_PROG = -c stk500v2 -endif - -ifneq ($(ISP_PORT),) - AVRDUDE_ISP_OPTS = -P $(ISP_PORT) $(ISP_PROG) -else - AVRDUDE_ISP_OPTS = $(ISP_PROG) -endif - -# normal programming info -# -ifndef AVRDUDE_PROGRAMMER - AVRDUDE_PROGRAMMER = $(call PARSE_BOARD,$(BOARD_TAG),upload.protocol) -endif - -ifndef AVRDUDE_BAUDRATE - AVRDUDE_BAUDRATE = $(call PARSE_BOARD,$(BOARD_TAG),upload.speed) -endif - -# fuses if you're using e.g. ISP -# -ifndef ISP_LOCK_FUSE_PRE - ISP_LOCK_FUSE_PRE = $(call PARSE_BOARD,$(BOARD_TAG),bootloader.unlock_bits) -endif - -ifndef ISP_LOCK_FUSE_POST - ISP_LOCK_FUSE_POST = $(call PARSE_BOARD,$(BOARD_TAG),bootloader.lock_bits) -endif - -ifndef ISP_HIGH_FUSE - ISP_HIGH_FUSE = $(call PARSE_BOARD,$(BOARD_TAG),bootloader.high_fuses) -endif - -ifndef ISP_LOW_FUSE - ISP_LOW_FUSE = $(call PARSE_BOARD,$(BOARD_TAG),bootloader.low_fuses) -endif - -ifndef ISP_EXT_FUSE - ISP_EXT_FUSE = $(call PARSE_BOARD,$(BOARD_TAG),bootloader.extended_fuses) -endif - -ifndef VARIANT - VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -endif diff --git a/FastLED/FastLED/Makefiles/Digispark.mk b/FastLED/FastLED/Makefiles/Digispark.mk deleted file mode 100755 index 8c6003fa..00000000 --- a/FastLED/FastLED/Makefiles/Digispark.mk +++ /dev/null @@ -1,132 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Apr 28, 2013 release 47 - - - -# Digistark 1.04 AVR specifics -# ---------------------------------- -# -PLATFORM := Digistark -BUILD_CORE := avr -PLATFORM_TAG = ARDUINO=105 DIGISPARK EMBEDXCODE=$(RELEASE_NOW) -APPLICATION_PATH := $(DIGISPARK_PATH) - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/avr/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/digispark/cores/tiny -APP_LIB_PATH := $(APPLICATION_PATH)/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/digispark/boards.txt - -# -# Uploader bossac -# -UPLOADER = micronucleus - - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/Arduino/preferences.txt,) - $(error Error: run Arduino once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(USER_PATH)/Library/Arduino/preferences.txt | cut -d = -f 2) -endif -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"Arduino.h\" - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/avr-gcc -CXX = $(APP_TOOLS_PATH)/avr-g++ -AR = $(APP_TOOLS_PATH)/avr-ar -OBJDUMP = $(APP_TOOLS_PATH)/avr-objdump -OBJCOPY = $(APP_TOOLS_PATH)/avr-objcopy -SIZE = $(APP_TOOLS_PATH)/avr-size -NM = $(APP_TOOLS_PATH)/avr-nm - -# Specific AVRDUDE location and options -# -AVRDUDE_COM_OPTS = -D -p$(MCU) -C$(AVRDUDE_CONF) - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -#LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),ldscript) -#VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -#VARIANT_PATH = $(APPLICATION_PATH)/hardware/arduino/avr/variants/$(VARIANT) - - -# Two locations for Arduino libraries -# -BUILD_APP_LIB_PATH = $(APPLICATION_PATH)/hardware/arduino/$(BUILD_CORE)/libraries - -ifndef APP_LIBS_LIST - w1 = $(realpath $(sort $(dir $(wildcard $(APP_LIB_PATH)/*/*.h $(APP_LIB_PATH)/*/*/*.h)))) # */ - APP_LIBS_LIST = $(subst $(APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w1))) - - w2 = $(realpath $(sort $(dir $(wildcard $(BUILD_APP_LIB_PATH)/*/*.h $(BUILD_APP_LIB_PATH)/*/*/*.h)))) # */ - BUILD_APP_LIBS_LIST = $(subst $(BUILD_APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w2))) -else - BUILD_APP_LIBS_LIST = $(APP_LIBS_LIST) -endif - -ifneq ($(APP_LIBS_LIST),0) - APP_LIBS = $(patsubst %,$(APP_LIB_PATH)/%,$(APP_LIBS_LIST)) - APP_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(APP_LIBS))) # */ - APP_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(APP_LIBS))) # */ - - APP_LIB_OBJS = $(patsubst $(APP_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(APP_LIB_CPP_SRC)) - APP_LIB_OBJS += $(patsubst $(APP_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(APP_LIB_C_SRC)) - - BUILD_APP_LIBS = $(patsubst %,$(BUILD_APP_LIB_PATH)/%,$(BUILD_APP_LIBS_LIST)) - BUILD_APP_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(BUILD_APP_LIBS))) # */ - BUILD_APP_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(BUILD_APP_LIBS))) # */ - - BUILD_APP_LIB_OBJS = $(patsubst $(BUILD_APP_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(BUILD_APP_LIB_CPP_SRC)) - BUILD_APP_LIB_OBJS += $(patsubst $(BUILD_APP_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(BUILD_APP_LIB_C_SRC)) -endif - - -MCU_FLAG_NAME = mmcu -EXTRA_LDFLAGS = -EXTRA_CPPFLAGS = $(addprefix -D, $(PLATFORM_TAG)) - - -# Arduino Leonardo USB PID VID -# -USB_VID := $(call PARSE_BOARD,$(BOARD_TAG),build.vid) -USB_PID := $(call PARSE_BOARD,$(BOARD_TAG),build.pid) - -ifneq ($(USB_PID),) -ifneq ($(USB_VID),) - USB_FLAGS = -DUSB_VID=$(USB_VID) - USB_FLAGS += -DUSB_PID=$(USB_PID) -endif -endif - -# Arduino Leonardo serial 1200 reset -# -USB_TOUCH := $(call PARSE_BOARD,$(BOARD_TAG),upload.use_1200bps_touch) - -ifneq ($(USB_TOUCH),) - USB_RESET = $(UTILITIES_PATH)/serial1200.py -endif - -TARGET_EEP = $(OBJDIR)/$(TARGET).eep -AVRDUDE_OPTS = -cdigispark -Pusb - diff --git a/FastLED/FastLED/Makefiles/Energia430.mk b/FastLED/FastLED/Makefiles/Energia430.mk deleted file mode 100755 index 68520d77..00000000 --- a/FastLED/FastLED/Makefiles/Energia430.mk +++ /dev/null @@ -1,84 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Dec 10, 2013 release 119 - - - -# Energia LaunchPad MSP430 and FR5739 specifics -# ---------------------------------- -# -PLATFORM := Energia -PLATFORM_TAG = ENERGIA=9 ARDUINO=101 EMBEDXCODE=$(RELEASE_NOW) $(filter __%__ ,$(GCC_PREPROCESSOR_DEFINITIONS)) -#PLATFORM_TAG = ENERGIA=9 ARDUINO=101 EMBEDXCODE=$(RELEASE_NOW) $(filter-out ENERGIA,$(GCC_PREPROCESSOR_DEFINITIONS)) -APPLICATION_PATH := $(ENERGIA_PATH) - -UPLOADER = mspdebug -MSPDEBUG_PATH = $(APPLICATION_PATH)/hardware/tools/msp430/mspdebug -MSPDEBUG = $(MSPDEBUG_PATH)/mspdebug -MSPDEBUG_PROTOCOL = $(call PARSE_BOARD,$(BOARD_TAG),upload.protocol) -MSPDEBUG_OPTS = $(MSPDEBUG_PROTOCOL) --force-reset - -# FraunchPad MSP430FR5739 requires a specific command -# -ifeq ($(BOARD_TAG), lpmsp430fr5739) - MSPDEBUG_COMMAND = load -else - MSPDEBUG_COMMAND = prog -endif - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/msp430/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/msp430/cores/msp430 -APP_LIB_PATH := $(APPLICATION_PATH)/hardware/msp430/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/msp430/boards.txt - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/Energia/preferences.txt,) - $(error Error: run Energia once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(wildcard ~/Library/Energia/preferences.txt) | cut -d = -f 2) -endif -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"Energia.h\" - - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/msp430-gcc -CXX = $(APP_TOOLS_PATH)/msp430-g++ -AR = $(APP_TOOLS_PATH)/msp430-ar -OBJDUMP = $(APP_TOOLS_PATH)/msp430-objdump -OBJCOPY = $(APP_TOOLS_PATH)/msp430-objcopy -SIZE = $(APP_TOOLS_PATH)/msp430-size -NM = $(APP_TOOLS_PATH)/msp430-nm -GDB = $(APP_TOOLS_PATH)/msp430-gdb - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -#LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),ldscript) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -VARIANT_PATH = $(APPLICATION_PATH)/hardware/msp430/variants/$(VARIANT) - -MCU_FLAG_NAME = mmcu -EXTRA_LDFLAGS = -#EXTRA_LDFLAGS = -T$(CORE_LIB_PATH)/$(LDSCRIPT) -EXTRA_CPPFLAGS = $(addprefix -D, $(PLATFORM_TAG)) -I$(VARIANT_PATH) - diff --git a/FastLED/FastLED/Makefiles/EnergiaLM4F.mk b/FastLED/FastLED/Makefiles/EnergiaLM4F.mk deleted file mode 100755 index edb83e98..00000000 --- a/FastLED/FastLED/Makefiles/EnergiaLM4F.mk +++ /dev/null @@ -1,102 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Mar 01, 2014 release 136 - - - -# Energia LaunchPad Stellaris and Tiva C specifics -# ---------------------------------- -# -PLATFORM := Energia -PLATFORM_TAG = ENERGIA=9 ARDUINO=101 EMBEDXCODE=$(RELEASE_NOW) $(filter __%__ ,$(GCC_PREPROCESSOR_DEFINITIONS)) -#PLATFORM_TAG = ENERGIA=9 ARDUINO=101 EMBEDXCODE=$(RELEASE_NOW) $(filter-out ENERGIA,$(GCC_PREPROCESSOR_DEFINITIONS)) -APPLICATION_PATH := $(ENERGIA_PATH) - -UPLOADER = lm4flash -LM4FLASH_PATH = $(APPLICATION_PATH)/hardware/tools -LM4FLASH = $(LM4FLASH_PATH)/lm4f/bin/lm4flash -LM4FLASH_OPTS = - -# StellarPad requires a specific command -# -MSPDEBUG_COMMAND = prog - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/lm4f/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/lm4f/cores/lm4f -APP_LIB_PATH := $(APPLICATION_PATH)/hardware/lm4f/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/lm4f/boards.txt - -BUILD_CORE_LIB_PATH = $(APPLICATION_PATH)/hardware/lm4f/cores/lm4f/driverlib -BUILD_CORE_LIBS_LIST = $(subst .h,,$(subst $(BUILD_CORE_LIB_PATH)/,,$(wildcard $(BUILD_CORE_LIB_PATH)/*.h))) # */ - -BUILD_CORE_C_SRCS = $(wildcard $(BUILD_CORE_LIB_PATH)/*.c) # */ - -ifneq ($(strip $(NO_CORE_MAIN_FUNCTION)),) - BUILD_CORE_CPP_SRCS = $(filter-out %program.cpp %main.cpp,$(wildcard $(BUILD_CORE_LIB_PATH)/*.cpp)) # */ -else - BUILD_CORE_CPP_SRCS = $(filter-out %program.cpp, $(wildcard $(BUILD_CORE_LIB_PATH)/*.cpp)) # */ -endif - -BUILD_CORE_OBJ_FILES = $(BUILD_CORE_C_SRCS:.c=.o) $(BUILD_CORE_CPP_SRCS:.cpp=.o) -BUILD_CORE_OBJS = $(patsubst $(BUILD_CORE_LIB_PATH)/%,$(OBJDIR)/%,$(BUILD_CORE_OBJ_FILES)) - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/Energia/preferences.txt,) - $(error Error: run Energia once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(wildcard ~/Library/Energia/preferences.txt) | cut -d = -f 2) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif - -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"Energia.h\" - - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/arm-none-eabi-gcc -CXX = $(APP_TOOLS_PATH)/arm-none-eabi-g++ -AR = $(APP_TOOLS_PATH)/arm-none-eabi-ar -OBJDUMP = $(APP_TOOLS_PATH)/arm-none-eabi-objdump -OBJCOPY = $(APP_TOOLS_PATH)/arm-none-eabi-objcopy -SIZE = $(APP_TOOLS_PATH)/arm-none-eabi-size -NM = $(APP_TOOLS_PATH)/arm-none-eabi-nm -GDB = $(APP_TOOLS_PATH)/arm-none-eabi-gdb - - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),ldscript) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -VARIANT_PATH = $(APPLICATION_PATH)/hardware/lm4f/variants/$(VARIANT) - -MCU_FLAG_NAME = mcpu -EXTRA_LDFLAGS = -nostartfiles -T$(CORE_LIB_PATH)/$(LDSCRIPT) -Wl,--gc-sections -Wl,-Map=$(OBJDIR)/lm4f.map -EXTRA_LDFLAGS += -mthumb --entry=ResetISR -EXTRA_LDFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -nostdlib - -EXTRA_CPPFLAGS = $(addprefix -D, $(PLATFORM_TAG)) -I$(VARIANT_PATH) -EXTRA_CPPFLAGS += -fno-exceptions -fno-rtti -mthumb -EXTRA_CPPFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant - -OBJCOPYFLAGS = -v -Obinary -TARGET_HEXBIN = $(TARGET_BIN) diff --git a/FastLED/FastLED/Makefiles/MapleIDE.mk b/FastLED/FastLED/Makefiles/MapleIDE.mk deleted file mode 100755 index a1d3c154..00000000 --- a/FastLED/FastLED/Makefiles/MapleIDE.mk +++ /dev/null @@ -1,108 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Apr 28, 2013 release 47 - -# MAPLE SUPPORT IS PUT ON HOLD -WARNING_MESSAGE = 'MAPLE SUPPORT IS PUT ON HOLD' - - -# Leaflabs Maple specifics -# ---------------------------------- -# -# The Maple reset script —which sends control signals over -# the USB-serial connection to restart and enter the bootloader— -# is written in Python and requires the PySerial library. -# -# Instructions available at http://leaflabs.com/docs/unix-toolchain.html#os-x -# Download PySerial library from http://pypi.python.org/pypi/pyserial -# -# -PLATFORM := MapleIDE -PLATFORM_TAG = MAPLE_IDE EMBEDXCODE=$(RELEASE_NOW) -APPLICATION_PATH := $(MAPLE_PATH) - -UPLOADER = dfu-util -DFU_UTIL_PATH = $(APPLICATION_PATH)/hardware/tools/arm/bin -DFU_UTIL = $(DFU_UTIL_PATH)/dfu-util -DFU_UTIL_OPTS = -a$(call PARSE_BOARD,$(BOARD_TAG),upload.altID) -d $(call PARSE_BOARD,$(BOARD_TAG),upload.usbID) -DFU_RESET = $(UTILITIES_PATH)/reset.py - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/arm/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/leaflabs/cores/maple -APP_LIB_PATH := $(APPLICATION_PATH)/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/leaflabs/boards.txt - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/MapleIDE/preferences.txt,) - $(error Error: run Mpide once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(USER_PATH)/Library/MapleIDE/preferences.txt | cut -d = -f 2) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif - -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) -CORE_AS_SRCS = $(wildcard $(CORE_LIB_PATH)/*.S) # */ - - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"WProgram.h\" - - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/arm-none-eabi-gcc -CXX = $(APP_TOOLS_PATH)/arm-none-eabi-g++ -AR = $(APP_TOOLS_PATH)/arm-none-eabi-ar -OBJDUMP = $(APP_TOOLS_PATH)/arm-none-eabi-objdump -OBJCOPY = $(APP_TOOLS_PATH)/arm-none-eabi-objcopy -SIZE = $(APP_TOOLS_PATH)/arm-none-eabi-size -NM = $(APP_TOOLS_PATH)/arm-none-eabi-nm - -lplm4f120h5qr.build.mcu=cortex-m4 - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),build.board) -LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),build.linker) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.mcu) -#VARIANT_PATH = $(APPLICATION_PATH)/hardware/leaflabs/cores/maples/$(VARIANT) - - -MCU = $(call PARSE_BOARD,$(BOARD_TAG),build.family) -MCU_FLAG_NAME = mcpu - -EXTRA_LDFLAGS = -T$(CORE_LIB_PATH)/$(LDSCRIPT) -L$(APPLICATION_PATH)/hardware/leaflabs/cores/maple -EXTRA_LDFLAGS += -mthumb -Xlinker --gc-sections --print-gc-sections --march=armv7-m - -EXTRA_CPPFLAGS = -fno-rtti -fno-exceptions -mthumb -march=armv7-m -nostdlib -EXTRA_CPPFLAGS += -DBOARD_$(BOARD) -DMCU_$(call PARSE_BOARD,$(BOARD_TAG),build.mcu) -EXTRA_CPPFLAGS += -D$(call PARSE_BOARD,$(BOARD_TAG),build.vect) -EXTRA_CPPFLAGS += -D$(call PARSE_BOARD,$(BOARD_TAG),build.density) -EXTRA_CPPFLAGS += -DERROR_LED_PORT=$(call PARSE_BOARD,$(BOARD_TAG),build.error_led_port) -EXTRA_CPPFLAGS += -DERROR_LED_PIN=$(call PARSE_BOARD,$(BOARD_TAG),build.error_led_pin) -EXTRA_CPPFLAGS += $(addprefix -D, $(PLATFORM_TAG)) - -OBJCOPYFLAGS = -v -Obinary -TARGET_HEXBIN = $(TARGET_BIN) - -MAX_RAM_SIZE = $(call PARSE_BOARD,$(BOARD_TAG),upload.ram.maximum_size) - - - - - diff --git a/FastLED/FastLED/Makefiles/Microduino.mk b/FastLED/FastLED/Makefiles/Microduino.mk deleted file mode 100755 index e4238383..00000000 --- a/FastLED/FastLED/Makefiles/Microduino.mk +++ /dev/null @@ -1,93 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Jan 04, 2014 release 122 - - - -# Microduino 1.0.x AVR specifics -# ---------------------------------- -# -PLATFORM := Microduino -BUILD_CORE := avr -PLATFORM_TAG = ARDUINO=105 MICRODUINO EMBEDXCODE=$(RELEASE_NOW) -APPLICATION_PATH := $(MICRODUINO_PATH) - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/avr/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/Microduino/cores/arduino -APP_LIB_PATH := $(APPLICATION_PATH)/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/Microduino/boards.txt - - -# Sketchbook/Libraries path -# wildcard required for ~ management -# -ifeq ($(USER_PATH)/Library/Arduino/preferences.txt,) - $(error Error: run Microduino or Arduino once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(USER_PATH)/Library/Arduino/preferences.txt | cut -d = -f 2) -endif -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"Arduino.h\" - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/avr-gcc -CXX = $(APP_TOOLS_PATH)/avr-g++ -AR = $(APP_TOOLS_PATH)/avr-ar -OBJDUMP = $(APP_TOOLS_PATH)/avr-objdump -OBJCOPY = $(APP_TOOLS_PATH)/avr-objcopy -SIZE = $(APP_TOOLS_PATH)/avr-size -NM = $(APP_TOOLS_PATH)/avr-nm - -# Specific AVRDUDE location and options -# -AVRDUDE_COM_OPTS = -D -p$(MCU) -C$(AVRDUDE_CONF) - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -#LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),ldscript) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -VARIANT_PATH = $(APPLICATION_PATH)/hardware/Microduino/variants/$(VARIANT) - -MCU_FLAG_NAME = mmcu -EXTRA_LDFLAGS = -EXTRA_CPPFLAGS = -MMD -I$(VARIANT_PATH) $(addprefix -D, $(PLATFORM_TAG)) - -# Leonardo USB PID VID -# -USB_TOUCH := $(call PARSE_BOARD,$(BOARD_TAG),upload.protocol) -USB_VID := $(call PARSE_BOARD,$(BOARD_TAG),build.vid) -USB_PID := $(call PARSE_BOARD,$(BOARD_TAG),build.pid) - -ifneq ($(USB_PID),) - USB_FLAGS += -DUSB_PID=$(USB_PID) -else - USB_FLAGS += -DUSB_PID=null -endif - -ifneq ($(USB_VID),) - USB_FLAGS += -DUSB_VID=$(USB_VID) -else - USB_FLAGS += -DUSB_VID=null -endif - -# Serial 1200 reset -# -ifeq ($(USB_TOUCH),avr109) - USB_RESET = $(UTILITIES_PATH)/serial1200.py -endif diff --git a/FastLED/FastLED/Makefiles/Mpide.mk b/FastLED/FastLED/Makefiles/Mpide.mk deleted file mode 100755 index a8a7979c..00000000 --- a/FastLED/FastLED/Makefiles/Mpide.mk +++ /dev/null @@ -1,77 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Jan 20, 2014 release 125 - - - -# chipKIT MPIDE specifics -# ---------------------------------- -# Dirty implementation for MPIDE release 0023-macosx-20130715 -# OPT_SYSTEM_INTERNAL is defined in main.cpp but used in wiring.h -# -PLATFORM := MPIDE -PLATFORM_TAG = ARDUINO=23 MPIDE=23 MPIDEVER=0x01000202 EMBEDXCODE=$(RELEASE_NOW) - -APPLICATION_PATH := $(MPIDE_PATH) - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/pic32/compiler/pic32-tools/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/pic32/cores/pic32 -APP_LIB_PATH := $(APPLICATION_PATH)/hardware/pic32/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/pic32/boards.txt - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(wildcard $(USER_PATH)/Library/Mpide/preferences.txt),) - $(error Error: run Mpide once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(USER_PATH)/Library/Mpide/preferences.txt | cut -d = -f 2) -endif -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"WProgram.h\" - - -# Add .S files required by MPIDE release 0023-macosx-20130715 -# -CORE_AS_SRCS = $(wildcard $(CORE_LIB_PATH)/*.S) # */ - - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/pic32-gcc -CXX = $(APP_TOOLS_PATH)/pic32-g++ -AR = $(APP_TOOLS_PATH)/pic32-ar -OBJDUMP = $(APP_TOOLS_PATH)/pic32-objdump -OBJCOPY = $(APP_TOOLS_PATH)/pic32-objcopy -SIZE = $(APP_TOOLS_PATH)/pic32-size -NM = $(APP_TOOLS_PATH)/pic32-nm - - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),ldscript) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -VARIANT_PATH = $(APPLICATION_PATH)/hardware/pic32/variants/$(VARIANT) - -MCU_FLAG_NAME = mprocessor -# chipKIT-application-COMMON.ld added by MPIDE release 0023-macosx-20130715 -EXTRA_LDFLAGS = -T$(CORE_LIB_PATH)/$(LDSCRIPT) -T$(CORE_LIB_PATH)/chipKIT-application-COMMON.ld -EXTRA_CPPFLAGS = -mdebugger -Wcast-align -O2 -mno-smart-io -G1024 $(addprefix -D, $(PLATFORM_TAG)) -D$(BOARD) -I$(VARIANT_PATH) - diff --git a/FastLED/FastLED/Makefiles/Step1.mk b/FastLED/FastLED/Makefiles/Step1.mk deleted file mode 100755 index 6b64106c..00000000 --- a/FastLED/FastLED/Makefiles/Step1.mk +++ /dev/null @@ -1,229 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Dec 06, 2013 release 119 - - - -# Sketch unicity test and extension -# ---------------------------------- -# -ifndef SKETCH_EXTENSION - ifeq ($(words $(wildcard *.pde) $(wildcard *.ino)), 0) - $(error No pde or ino sketch) - endif - - ifneq ($(words $(wildcard *.pde) $(wildcard *.ino)), 1) - $(error More than 1 pde or ino sketch) - endif - - ifneq ($(wildcard *.pde),) - SKETCH_EXTENSION := pde - else ifneq ($(wildcard *.ino),) - SKETCH_EXTENSION := ino - else - $(error Extension error) - endif -endif - - -ifneq ($(SKETCH_EXTENSION),cpp) - ifeq ($(words $(wildcard *.$(SKETCH_EXTENSION))), 0) - $(error No $(SKETCH_EXTENSION) sketch) - endif - - ifneq ($(words $(wildcard *.$(SKETCH_EXTENSION))), 1) - $(error More than one $(SKETCH_EXTENSION) sketch) - endif -endif - - -# Board selection -# ---------------------------------- -# Board specifics defined in .xconfig file -# BOARD_TAG and AVRDUDE_PORT -# -ifneq ($(MAKECMDGOALS),boards) - ifneq ($(MAKECMDGOALS),clean) - ifndef BOARD_TAG - $(error BOARD_TAG not defined) - endif - endif -endif - -ifndef BOARD_PORT - BOARD_PORT = /dev/tty.usb* -endif - - -# Arduino.app Mpide.app Wiring.app Energia.app MapleIDE.app paths -# -ARDUINO_APP = /Applications/Arduino.app -MPIDE_APP = /Applications/Mpide.app -WIRING_APP = /Applications/Wiring.app -ENERGIA_APP = /Applications/Energia.app -MAPLE_APP = /Applications/MapleIDE.app - -# Teensyduino.app path -# -TEENSY_0 = /Applications/Teensyduino.app -ifneq ($(wildcard $(TEENSY_0)),) - TEENSY_APP = $(TEENSY_0) -else - TEENSY_APP = /Applications/Arduino.app -endif - -# DigisparkArduino.app path -# -DIGISPARK_0 = /Applications/DigisparkArduino.app -ifneq ($(wildcard $(DIGISPARK_0)),) - DIGISPARK_APP = $(DIGISPARK_0) -else - DIGISPARK_APP = /Applications/Arduino.app -endif - -# Microduino.app path -# -MICRODUINO_0 = /Applications/Microduino.app -ifneq ($(wildcard $(MICRODUINO_0)),) - MICRODUINO_APP = $(MICRODUINO_0) -else - MICRODUINO_APP = /Applications/Arduino.app -endif - - -ifeq ($(wildcard $(ARDUINO_APP)),) - ifeq ($(wildcard $(MPIDE_APP)),) - ifeq ($(wildcard $(WIRING_APP)),) - ifeq ($(wildcard $(ENERGIA_APP)),) - ifeq ($(wildcard $(MAPLE_APP)),) - ifeq ($(wildcard $(TEENSY_APP)),) - ifeq ($(wildcard $(DIGISPARK_APP)),) - ifeq ($(wildcard $(MICRODUINO_APP)),) - $(error Error: no application found) - endif - endif - endif - endif - endif - endif - endif -endif - -ARDUINO_PATH = $(ARDUINO_APP)/Contents/Resources/Java -MPIDE_PATH = $(MPIDE_APP)/Contents/Resources/Java -WIRING_PATH = $(WIRING_APP)/Contents/Resources/Java -ENERGIA_PATH = $(ENERGIA_APP)/Contents/Resources/Java -MAPLE_PATH = $(MAPLE_APP)/Contents/Resources/Java -TEENSY_PATH = $(TEENSY_APP)/Contents/Resources/Java -DIGISPARK_PATH = $(DIGISPARK_APP)/Contents/Resources/Java -MICRODUINO_PATH = $(MICRODUINO_APP)/Contents/Resources/Java - -# Miscellaneous -# ---------------------------------- -# Variables -# -TARGET := embeddedcomputing -USER_PATH := $(wildcard ~/) -TEMPLATE := ePsiEJEtRXnDNaFGpywBX9vzeNQP4vUb - -# main.cpp selection -# = 1 takes local main.cpp -# -NO_CORE_MAIN_FUNCTION := 1 - -# Builds directory -# -OBJDIR = Builds - -# Function PARSE_BOARD data retrieval from boards.txt -# result = $(call PARSE_BOARD 'boardname','parameter') -# -PARSE_BOARD = $(shell if [ -f $(BOARDS_TXT) ]; then grep ^$(1).$(2)= $(BOARDS_TXT) | cut -d = -f 2; fi; ) - -# Function PARSE_FILE data retrieval from specified file -# result = $(call PARSE_FILE 'boardname','parameter','filename') -# -PARSE_FILE = $(shell if [ -f $(3) ]; then grep ^$(1).$(2) $(3) | cut -d = -f 2; fi; ) - - -# Clean if new BOARD_TAG -# ---------------------------------- -# -NEW_TAG := $(strip $(OBJDIR)/$(BOARD_TAG)-TAG) # -OLD_TAG := $(strip $(wildcard $(OBJDIR)/*-TAG)) # */ - -ifneq ($(OLD_TAG),$(NEW_TAG)) - CHANGE_FLAG := 1 -else - CHANGE_FLAG := 0 -endif - - -# Identification and switch -# ---------------------------------- -# Look if BOARD_TAG is listed as a Arduino/Arduino board -# Look if BOARD_TAG is listed as a Arduino/Arduino/avr board *1.5 -# Look if BOARD_TAG is listed as a Arduino/Arduino/sam board *1.5 -# Look if BOARD_TAG is listed as a Mpide/PIC32 board -# Look if BOARD_TAG is listed as a Wiring/Wiring board -# Look if BOARD_TAG is listed as a Energia/MPS430 board -# Look if BOARD_TAG is listed as a MapleIDE/LeafLabs board -# Look if BOARD_TAG is listed as a Teensy/Teensy board -# Look if BOARD_TAG is listed as a Microduino/Microduino board -# Look if BOARD_TAG is listed as a Digispark/Digispark board -# Order matters! -# - -ifneq ($(MAKECMDGOALS),boards) - ifneq ($(MAKECMDGOALS),clean) - ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(ARDUINO_PATH)/hardware/arduino/boards.txt),) - include $(MAKEFILE_PATH)/Arduino.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(ARDUINO_PATH)/hardware/arduino/avr/boards.txt),) - include $(MAKEFILE_PATH)/Arduino15avr.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG1),name,$(ARDUINO_PATH)/hardware/arduino/avr/boards.txt),) - include $(MAKEFILE_PATH)/Arduino15avr.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(ARDUINO_PATH)/hardware/arduino/sam/boards.txt),) - include $(MAKEFILE_PATH)/Arduino15sam.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(ARDUINO_PATH)/hardware/arduino/boards.txt),) - include $(MAKEFILE_PATH)/Arduino.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(MPIDE_PATH)/hardware/pic32/boards.txt),) - include $(MAKEFILE_PATH)/Mpide.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(WIRING_PATH)/hardware/Wiring/boards.txt),) - include $(MAKEFILE_PATH)/Wiring.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(ENERGIA_PATH)/hardware/msp430/boards.txt),) - include $(MAKEFILE_PATH)/Energia430.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(ENERGIA_PATH)/hardware/lm4f/boards.txt),) - include $(MAKEFILE_PATH)/EnergiaLM4F.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(MAPLE_PATH)/hardware/leaflabs/boards.txt),) - include $(MAKEFILE_PATH)/MapleIDE.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(TEENSY_PATH)/hardware/teensy/boards.txt),) - include $(MAKEFILE_PATH)/Teensy.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(MICRODUINO_PATH)/hardware/Microduino/boards.txt),) - include $(MAKEFILE_PATH)/Microduino.mk - else ifneq ($(call PARSE_FILE,$(BOARD_TAG),name,$(DIGISPARK_PATH)/hardware/digispark/boards.txt),) - include $(MAKEFILE_PATH)/Digispark.mk - else - $(error $(BOARD_TAG) board is unknown) - endif - endif -endif - - -# List of sub-paths to be excluded -# -EXCLUDE_NAMES = Example example Examples examples Archive archive Archives archives Documentation documentation Reference reference -EXCLUDE_NAMES += ArduinoTestSuite -EXCLUDE_NAMES += $(EXCLUDE_LIBS) -EXCLUDE_LIST = $(addprefix %,$(EXCLUDE_NAMES)) - -# Step 2 -# -include $(MAKEFILE_PATH)/Step2.mk diff --git a/FastLED/FastLED/Makefiles/Step2.mk b/FastLED/FastLED/Makefiles/Step2.mk deleted file mode 100755 index 63bac5ba..00000000 --- a/FastLED/FastLED/Makefiles/Step2.mk +++ /dev/null @@ -1,1021 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Mar 14, 2014 release 141 - - - -# Serial port check and selection -# ---------------------------------- -# -include $(MAKEFILE_PATH)/Avrdude.mk - -ifeq ($(AVRDUDE_NO_SERIAL_PORT),1) -# -else ifeq ($(UPLOADER),teensy_flash) -# teensy uploader in charge -else ifneq ($(MAKECMDGOALS),boards) - ifneq ($(MAKECMDGOALS),build) - ifneq ($(MAKECMDGOALS),make) - ifneq ($(MAKECMDGOALS),document) - ifneq ($(MAKECMDGOALS),clean) - ifneq ($(MAKECMDGOALS),distribute) - ifneq ($(MAKECMDGOALS),info) - ifneq ($(MAKECMDGOALS),depends) - ifeq ($(AVRDUDE_PORT),) - $(error Serial port not available) - endif - endif - endif - endif - endif - endif - endif - endif -endif - -ifndef UPLOADER - UPLOADER = avrdude -endif - -ifndef BOARD_NAME - BOARD_NAME = $(call PARSE_BOARD,$(BOARD_TAG),name) -endif - -# Functions -# ---------------------------------- -# - -# Function TRACE action target source to ~/Library/Logs/embedXcode.log -# result = $(shell echo 'action',$(BOARD_TAG),'target','source' >> ~/Library/Logs/embedXcode.log) -# -TRACE = $(shell echo $(1)': '$(suffix $(2))' < '$(suffix $(3))' '$(BOARD_TAG)' '$(dir $(2))' '$(notdir $(3)) >> ~/Library/Logs/embedXcode.log) - -# Function SHOW action target source -# result = $(shell echo 'action',$(BOARD_TAG),'target','source') -# -SHOW = @echo $(1)': '$(suffix $(2))' < '$(suffix $(3))' '$(BOARD_TAG)' '$(dir $(2))' '$(notdir $(3)) -#SHOW = - - -# CORE libraries -# ---------------------------------- -# -ifndef CORE_LIB_PATH - CORE_LIB_PATH = $(APPLICATION_PATH)/hardware/arduino/cores/arduino -endif - -s5 = $(subst .h,,$(subst $(CORE_LIB_PATH)/,,$(wildcard $(CORE_LIB_PATH)/*.h))) # */ -CORE_LIBS_LIST = $(subst $(USER_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(s5))) - - -# List of sources -# ---------------------------------- -# - -# CORE sources -# -ifdef CORE_LIB_PATH - CORE_C_SRCS = $(wildcard $(CORE_LIB_PATH)/*.c) # */ - - ifneq ($(strip $(NO_CORE_MAIN_FUNCTION)),) - CORE_CPP_SRCS = $(filter-out %main.cpp, $(wildcard $(CORE_LIB_PATH)/*.cpp $(CORE_LIB_PATH)/*/*.cpp)) # */ - else - CORE_CPP_SRCS = $(wildcard $(CORE_LIB_PATH)/*.cpp $(CORE_LIB_PATH)/*/*.cpp) # */ - endif - - CORE_OBJ_FILES = $(CORE_C_SRCS:.c=.o) $(CORE_CPP_SRCS:.cpp=.o) $(CORE_AS_SRCS:.S=.o) - CORE_OBJS = $(patsubst $(CORE_LIB_PATH)/%,$(OBJDIR)/%,$(CORE_OBJ_FILES)) -endif - - -# APPlication Arduino/chipKIT/Digispark/Energia/Maple/Microduino/Teensy/Wiring sources -# -ifndef APP_LIB_PATH - APP_LIB_PATH = $(APPLICATION_PATH)/libraries -endif - -ifeq ($(APP_LIBS_LIST),) - s1 = $(realpath $(sort $(dir $(wildcard $(APP_LIB_PATH)/*/*.h $(APP_LIB_PATH)/*/*/*.h)))) # */ - APP_LIBS_LIST = $(subst $(APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(s1))) -endif - -ifndef APP_LIBS -ifneq ($(APP_LIBS_LIST),0) - s4 = $(patsubst %,$(APP_LIB_PATH)/%,$(APP_LIBS_LIST)) - APP_LIBS = $(realpath $(sort $(dir $(foreach dir,$(s4),$(wildcard $(dir)/*.h $(dir)/*/*.h $(dir)/*/*/*.h))))) -endif -endif - -ifndef APP_LIB_OBJS - FLAG = 1 - APP_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(APP_LIBS))) # */ - APP_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(APP_LIBS))) # */ - APP_LIB_OBJS = $(patsubst $(APP_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(APP_LIB_C_SRC)) - APP_LIB_OBJS += $(patsubst $(APP_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(APP_LIB_CPP_SRC)) -else - FLAG = 0 -endif - -# USER sources -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifndef USER_LIB_PATH - USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) -endif - -ifndef USER_LIBS_LIST - s2 = $(realpath $(sort $(dir $(wildcard $(USER_LIB_PATH)/*/*.h)))) # */ - USER_LIBS_LIST = $(subst $(USER_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(s2))) -endif - -ifneq ($(USER_LIBS_LIST),0) - s3 = $(patsubst %,$(USER_LIB_PATH)/%,$(USER_LIBS_LIST)) - USER_LIBS = $(realpath $(sort $(dir $(foreach dir,$(s3),$(wildcard $(dir)/*.h $(dir)/*/*.h $(dir)/*/*/*.h))))) - - USER_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(USER_LIBS))) # */ - USER_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(USER_LIBS))) # */ - - USER_OBJS = $(patsubst $(USER_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(USER_LIB_CPP_SRC)) - USER_OBJS += $(patsubst $(USER_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(USER_LIB_C_SRC)) -endif - -# LOCAL sources -# -LOCAL_C_SRCS = $(wildcard *.c) - -ifneq ($(strip $(NO_CORE_MAIN_FUNCTION)),) - LOCAL_CPP_SRCS = $(wildcard *.cpp) -else - LOCAL_CPP_SRCS = $(filter-out %main.cpp, $(wildcard *.cpp)) -endif - -LOCAL_CC_SRCS = $(wildcard *.cc) - -# Use of implicit rule for LOCAL_PDE_SRCS -# -#LOCAL_PDE_SRCS = $(wildcard *.$(SKETCH_EXTENSION)) -LOCAL_AS_SRCS = $(wildcard *.S) -LOCAL_OBJ_FILES = $(LOCAL_C_SRCS:.c=.o) $(LOCAL_CPP_SRCS:.cpp=.o) \ - $(LOCAL_PDE_SRCS:.$(SKETCH_EXTENSION)=.o) \ - $(LOCAL_CC_SRCS:.cc=.o) $(LOCAL_AS_SRCS:.S=.o) -#LOCAL_OBJS = $(patsubst %,$(OBJDIR)/%,$(LOCAL_OBJ_FILES)) -LOCAL_OBJS = $(patsubst %,$(OBJDIR)/%,$(filter-out $(PROJECT_NAME_AS_IDENTIFIER).o,$(LOCAL_OBJ_FILES))) - -# All the objects -# ??? Does order matter? -# -REMOTE_OBJS = $(CORE_OBJS) $(BUILD_CORE_OBJS) $(APP_LIB_OBJS) $(BUILD_APP_LIB_OBJS) $(VARIANT_OBJS) $(USER_OBJS) -OBJS = $(REMOTE_OBJS) $(LOCAL_OBJS) - -# Dependency files -# -#DEPS = $(LOCAL_OBJS:.o=.d) -DEPS = $(OBJS:.o=.d) - - -# Processor model and frequency -# ---------------------------------- -# -ifndef MCU - MCU = $(call PARSE_BOARD,$(BOARD_TAG),build.mcu) -endif - -ifndef F_CPU - F_CPU = $(call PARSE_BOARD,$(BOARD_TAG),build.f_cpu) -endif - - -# Rules -# ---------------------------------- -# - -# Main targets -# -TARGET_A = $(OBJDIR)/$(TARGET).a -TARGET_HEX = $(OBJDIR)/$(TARGET).hex -TARGET_ELF = $(OBJDIR)/$(TARGET).elf -TARGET_BIN = $(OBJDIR)/$(TARGET).bin -TARGETS = $(OBJDIR)/$(TARGET).* - -ifndef TARGET_HEXBIN - TARGET_HEXBIN = $(TARGET_HEX) -endif - -ifndef TARGET_EEP - TARGET_EEP = -endif - -# List of dependencies -# -DEP_FILE = $(OBJDIR)/depends.mk - -# Executables -# -REMOVE = rm -r -MV = mv -f -CAT = cat -ECHO = echo - -# General arguments -# -SYS_INCLUDES = $(patsubst %,-I%,$(APP_LIBS)) -SYS_INCLUDES += $(patsubst %,-I%,$(BUILD_APP_LIBS)) -SYS_INCLUDES += $(patsubst %,-I%,$(USER_LIBS)) - -SYS_OBJS = $(wildcard $(patsubst %,%/*.o,$(APP_LIBS))) # */ -SYS_OBJS += $(wildcard $(patsubst %,%/*.o,$(BUILD_APP_LIBS))) # */ -SYS_OBJS += $(wildcard $(patsubst %,%/*.o,$(USER_LIBS))) # */ - -CPPFLAGS = -$(MCU_FLAG_NAME)=$(MCU) -DF_CPU=$(F_CPU) -I$(CORE_LIB_PATH) -CPPFLAGS += $(SYS_INCLUDES) -g -Os -w -Wall -ffunction-sections -fdata-sections -CPPFLAGS += $(EXTRA_CPPFLAGS) - -ifdef USB_FLAGS - CPPFLAGS += $(USB_FLAGS) -endif - -ifdef USE_GNU99 - CFLAGS = -std=gnu99 -endif - -SCOPE_FLAG := -$(PLATFORM) - -# CXX = flags for C++ only -# CPP = flags for both C and C++ -# -ifndef EXTRA_CXXFLAGS - CXXFLAGS = -fno-exceptions -else - CXXFLAGS = $(EXTRA_CXXFLAGS) -endif - -ASFLAGS = -$(MCU_FLAG_NAME)=$(MCU) -x assembler-with-cpp -ifeq ($(BUILD_CORE),sam) - LDFLAGS = -$(MCU_FLAG_NAME)=$(MCU) -lm -Wl,--gc-sections,-u,main -Os $(EXTRA_LDFLAGS) -else - LDFLAGS = -$(MCU_FLAG_NAME)=$(MCU) -Wl,--gc-sections -Os $(EXTRA_LDFLAGS) -endif - -ifndef OBJCOPYFLAGS - OBJCOPYFLAGS = -Oihex -R .eeprom -endif - -# Implicit rules for building everything (needed to get everything in -# the right directory) -# -# Rather than mess around with VPATH there are quasi-duplicate rules -# here for building e.g. a system C++ file and a local C++ -# file. Besides making things simpler now, this would also make it -# easy to change the build options in future - - -# 1-6 Build -# ---------------------------------- -# - -# 2- APPlication Arduino/chipKIT/Digispark/Energia/Maple/Microduino/Teensy/Wiring library sources -# -$(OBJDIR)/libs/%.o: $(APP_LIB_PATH)/%.c - $(call SHOW,"2.1-APP",$@,$<) - $(call TRACE,"2-APP",$@,$<) - @mkdir -p $(dir $@) - $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/libs/%.o: $(APP_LIB_PATH)/%.cpp - $(call SHOW,"2.2-APP",$@,$<) - $(call TRACE,"2-APP",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/libs/%.o: $(BUILD_APP_LIB_PATH)/%.cpp - $(call SHOW,"2.3-APP",$@,$<) - $(call TRACE,"2-APP",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/libs/%.o: $(BUILD_APP_LIB_PATH)/%.c - $(call SHOW,"2.4-APP",$@,$<) - $(call TRACE,"2-APP",$@,$<) - @mkdir -p $(dir $@) - $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/libs/%.d: $(APP_LIB_PATH)/%.cpp - $(call SHOW,"2.5-APP",$@,$<) - $(call TRACE,"2-APP",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/libs/%.d: $(APP_LIB_PATH)/%.c - $(call SHOW,"2.6-APP",$@,$<) - $(call TRACE,"2-APP",$@,$<) - @mkdir -p $(dir $@) - $(CC) -MM $(CPPFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/libs/%.d: $(BUILD_APP_LIB_PATH)/%.cpp - $(call SHOW,"2.7-APP",$@,$<) - $(call TRACE,"2-APP",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/libs/%.d: $(BUILD_APP_LIB_PATH)/%.c - $(call SHOW,"2.8-APP",$@,$<) - $(call TRACE,"2-APP",$@,$<) - @mkdir -p $(dir $@) - $(CC) -MM $(CPPFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - - -# 3- USER library sources -# -$(OBJDIR)/libs/%.o: $(USER_LIB_PATH)/%.cpp - $(call SHOW,"3.1-USER",$@,$<) - $(call TRACE,"3-USER",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/libs/%.o: $(USER_LIB_PATH)/%.c - $(call SHOW,"3.2-USER",$@,$<) - $(call TRACE,"3-USER",$@,$<) - @mkdir -p $(dir $@) - $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/libs/%.d: $(USER_LIB_PATH)/%.cpp - $(call SHOW,"3.1-USER",$@,$<) - $(call TRACE,"3-USER",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/libs/%.d: $(USER_LIB_PATH)/%.c - $(call SHOW,"3.2-USER",$@,$<) - $(call TRACE,"3-USER",$@,$<) - @mkdir -p $(dir $@) - $(CC) -MM $(CPPFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - - -# 4- LOCAL sources -# .o rules are for objects, .d for dependency tracking -# -$(OBJDIR)/%.o: %.c - $(call SHOW,"4.1-LOCAL",$@,$<) - $(call TRACE,"4-LOCAL",$@,$<) - $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/%.o: %.cc - $(call SHOW,"4.2-LOCAL",$@,$<) - $(call TRACE,"4-LOCAL",$@,$<) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@ - -$(OBJDIR)/%.o: %.cpp - $(call SHOW,"4.3-LOCAL",$@,$<) - $(call TRACE,"4-LOCAL",$@,$<) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@ - -$(OBJDIR)/%.o: %.S - $(call SHOW,"4.4-LOCAL",$@,$<) - $(call TRACE,"4-LOCAL",$@,$<) - $(CC) -c $(CPPFLAGS) $(ASFLAGS) $< -o $@ - -$(OBJDIR)/%.o: %.s - $(call SHOW,"4.5-LOCAL",$@,$<) - $(call TRACE,"4-LOCAL",$@,$<) - $(CC) -c $(CPPFLAGS) $(ASFLAGS) $< -o $@ - -$(OBJDIR)/%.d: %.c - $(call SHOW,"4.6-LOCAL",$@,$<) - $(call TRACE,"4-LOCAL",$@,$<) - $(CC) -MM $(CPPFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/%.d: %.cpp - $(call SHOW,"4.7-LOCAL",$@,$<) - $(call TRACE,"4-LOCAL",$@,$<) - $(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/%.d: %.S - $(call SHOW,"4.8-LOCAL",$@,$<) - $(call TRACE,"4-LOCAL",$@,$<) - $(CC) -MM $(CPPFLAGS) $(ASFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/%.d: %.s - $(call SHOW,"4.9-LOCAL",$@,$<) - $(call TRACE,"4-LOCAL",$@,$<) - $(CC) -MM $(CPPFLAGS) $(ASFLAGS) $< -MF $@ -MT $(@:.d=.o) - - -# 5- SKETCH pde/ino -> cpp -> o file -# -$(OBJDIR)/%.cpp: %.$(SKETCH_EXTENSION) - $(call SHOW,"5.1-SKETCH",$@,$<) - $(call TRACE,"5-SKETCH",$@,$<) - @$(ECHO) $(PDEHEADER) > $@ - @$(CAT) $< >> $@ -# @$(ECHO) $(PDEHEADER) > $(OBJDIR)/text.txt -# @$(CAT) $< >> $(OBJDIR)/text.txt - -$(OBJDIR)/%.o: $(OBJDIR)/%.cpp - $(call SHOW,"5.2-SKETCH",$@,$<) - $(call TRACE,"5-SKETCH",$@,$<) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -I. $< -o $@ - -$(OBJDIR)/%.d: $(OBJDIR)/%.cpp - $(call SHOW,"5.3-SKETCH",$@,$<) - $(call TRACE,"5-SKETCH",$@,$<) - $(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) -I. $< -MF $@ -MT $(@:.d=.o) - - -# 6- VARIANT files -# -$(OBJDIR)/libs/%.o: $(VARIANT_PATH)/%.cpp - $(call SHOW,"6.1-VARIANT",$@,$<) - $(call TRACE,"6-VARIANT",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/%.o: $(VARIANT_PATH)/%.cpp - $(call SHOW,"6.2-VARIANT",$@,$<) - $(call TRACE,"6-VARIANT",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/libs/%.d: $(VARIANT_PATH)/%.cpp - $(call SHOW,"6.3-VARIANT",$@,$<) - $(call TRACE,"6-VARIANT",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/%.d: $(VARIANT_PATH)/%.cpp - $(call SHOW,"6.4-VARIANT",$@,$<) - $(call TRACE,"6-VARIANT",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - - -# 1- CORE files -# -$(OBJDIR)/%.o: $(CORE_LIB_PATH)/%.c - $(call SHOW,"1.1-CORE",$@,$<) - $(call TRACE,"1-CORE",$@,$<) - $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/%.o: $(CORE_LIB_PATH)/%.S - $(call SHOW,"1.2-CORE",$@,$<) - $(call TRACE,"1-CORE",$@,$<) - $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/%.o: $(CORE_LIB_PATH)/%.cpp - $(call SHOW,"1.3-CORE",$@,$<) - $(call TRACE,"1-CORE",$@,$<) - @mkdir -p $(dir $@) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@ - -$(OBJDIR)/%.o: $(BUILD_CORE_LIB_PATH)/%.c - $(call SHOW,"1.4-CORE",$@,$<) - $(call TRACE,"1-CORE",$@,$<) - $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ - -$(OBJDIR)/%.o: $(BUILD_CORE_LIB_PATH)/%.cpp - $(call SHOW,"1.5-CORE",$@,$<) - $(call TRACE,"1-CORE",$@,$<) - $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@ - -$(OBJDIR)/%.d: $(CORE_LIB_PATH)/%.c - $(call SHOW,"1.6-CORE",$@,$<) - $(call TRACE,"1-CORE",$@,$<) - $(CC) -MM $(CPPFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/%.d: $(CORE_LIB_PATH)/%.cpp - $(call SHOW,"1.7-CORE",$@,$<) - $(call TRACE,"1-CORE",$@,$<) - $(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/%.d: $(BUILD_CORE_LIB_PATH)/%.c - $(call SHOW,"1.8-CORE",$@,$<) - $(call TRACE,"1-CORE",$@,$<) - $(CC) -MM $(CPPFLAGS) $(CFLAGS) $< -MF $@ -MT $(@:.d=.o) - -$(OBJDIR)/%.d: $(BUILD_CORE_LIB_PATH)/%.cpp - $(call SHOW,"1.9-CORE",$@,$<) - $(call TRACE,"1-CORE",$@,$<) - $(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $< -MF $@ -MT $(@:.d=.o) - - -# 7- Link -# ---------------------------------- -# -$(TARGET_ELF): $(OBJS) - @echo "---- Link ---- " - -ifneq ($(BOARD_TAG),teensy3) -ifneq ($(BOARD_TAG),teensy31) - $(call SHOW,"7.1-ARCHIVE",$@,.) - $(call TRACE,"7-ARCHIVE",$@,.) - $(AR) rcs $(TARGET_A) $(REMOTE_OBJS) -endif -endif - $(call SHOW,"7.2-LINK",$@,.) - $(call TRACE,"7-LINK",$@,.) - -ifeq ($(BUILD_CORE),sam) -# Builds/syscalls_sam3.c.o needs to be mentioned again - $(CXX) $(LDFLAGS) -o $@ -L$(OBJDIR) -Wl,--start-group Builds/syscalls_sam3.o $(SYSTEM_OBJS) $(LOCAL_OBJS) $(TARGET_A) -Wl,--end-group -else ifeq ($(VARIANT),stellarpad) -# -lc -lm -lgcc need to be at the end of the sentence -# $(CXX) $(LDFLAGS) -o $@ $(SYSTEM_OBJS) $(LOCAL_OBJS) $(TARGET_A) -L$(OBJDIR) -lc -lm -lgcc -# arm-none-eabi-ar doesn't seem to work with release 4.7.1 -# $(CXX) $(LDFLAGS) -o $@ $(LOCAL_OBJS) $(REMOTE_OBJS) -L$(OBJDIR) -lm -lc -lgcc - $(CXX) $(LDFLAGS) -o $@ $(SYSTEM_OBJS) $(LOCAL_OBJS) $(TARGET_A) -L$(OBJDIR) -lm -lc -lgcc - -else ifeq ($(PLATFORM),MapleIDE) - $(CXX) $(LDFLAGS) -o $@ $(LOCAL_OBJS) $(TARGET_A) -L$(OBJDIR) - -else ifeq ($(PLATFORM),MPIDE) -# compatible with MPIDE release 0023-macosx-20130715 - $(CXX) $(LDFLAGS) -o $@ $(LOCAL_OBJS) $(TARGET_A) -L$(OBJDIR) -lm - -else ifeq ($(BOARD_TAG),teensy3) -# arm-none-eabi-ar doesn't work with release 4.7.1 -# $(CXX) $(LDFLAGS) -o $@ $(LOCAL_OBJS) $(TARGET_A) -lc -L$(OBJDIR) -lm -# $(CXX) $(LDFLAGS) -o $@ $(TARGET_A) $(LOCAL_OBJS) -L$(OBJDIR) -larm_cortexM4l_math -lm -# alternative without archive - $(CXX) $(LDFLAGS) -o $@ $(REMOTE_OBJS) $(LOCAL_OBJS) -L$(OBJDIR) -larm_cortexM4l_math -lm -# $(CC) $(LDFLAGS) -o $@ $(LOCAL_OBJS) $(REMOTE_OBJS) -L$(OBJDIR) -lm -# $(CXX) $(LDFLAGS) -o $@ $(OBJS) -L$(OBJDIR) -lm - -else ifeq ($(BOARD_TAG),teensy31) -# arm-none-eabi-ar doesn't work with release 4.7.1 - $(CXX) $(LDFLAGS) -o $@ $(REMOTE_OBJS) $(LOCAL_OBJS) -L$(OBJDIR) -larm_cortexM4l_math -lm - -else - $(CC) $(LDFLAGS) -o $@ $(LOCAL_OBJS) $(TARGET_A) -lm -endif - - -# 8- Final conversions -# ---------------------------------- -# -$(OBJDIR)/%.hex: $(OBJDIR)/%.elf - $(call SHOW,"8.1-COPY",$@,$<) - $(call TRACE,"8-COPY",$@,$<) - $(OBJCOPY) -Oihex -R .eeprom $< $@ - -$(OBJDIR)/%.bin: $(OBJDIR)/%.elf - $(call SHOW,"8.2-COPY",$@,$<) - $(call TRACE,"8-COPY",$@,$<) - $(OBJCOPY) -Obinary -v $< $@ - -$(OBJDIR)/%.eep: $(OBJDIR)/%.elf - $(call SHOW,"8.3-COPY",$@,$<) - $(call TRACE,"8-COPY",$@,$<) - -$(OBJCOPY) -Oihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 $< $@ - -$(OBJDIR)/%.lss: $(OBJDIR)/%.elf - $(call SHOW,"8.4-COPY",$@,$<) - $(call TRACE,"8-COPY",$@,$<) - $(OBJDUMP) -h -S $< > $@ - -$(OBJDIR)/%.sym: $(OBJDIR)/%.elf - $(call SHOW,"8.5-COPY",$@,$<) - $(call TRACE,"8-COPY",$@,$<) - $(NM) -n $< > $@ - - -# Size of file -# ---------------------------------- -# -ifeq ($(TARGET_HEXBIN),$(TARGET_HEX)) - HEXSIZE = $(SIZE) --target=ihex --totals $(CURRENT_DIR)/$(TARGET_HEX) | grep TOTALS | tr '\t' . | cut -d. -f2 | tr -d ' ' -else ifeq ($(TARGET_HEXBIN),$(TARGET_BIN)) - BINSIZE = $(SIZE) --target=binary --totals $(CURRENT_DIR)/$(TARGET_BIN) | grep TOTALS | tr '\t' . | cut -d. -f2 | tr -d ' ' -endif - -ifndef MAX_FLASH_SIZE - MAX_FLASH_SIZE = $(call PARSE_BOARD,$(BOARD_TAG),upload.maximum_size) -endif -ifndef MAX_RAM_SIZE - MAX_RAM_SIZE = $(call PARSE_BOARD,$(BOARD_TAG),upload.maximum_data_size) -endif -ELFSIZE = $(SIZE) $(CURRENT_DIR)/$(TARGET_ELF) -RAMSIZE = $(SIZE) $(CURRENT_DIR)/$(TARGET_ELF) | sed '1d' | awk '{t=$$3 + $$2} END {print t}' - -#PROGRAM_SIZE = $(SIZE) $(CURRENT_DIR)/$(TARGET_ELF) -C | grep Program: | cut -d: -f2 | sed -e 's/^[ \t]*//' - -#DATA_SIZE = $(SIZE) $(CURRENT_DIR)/$(TARGET_ELF) -C | grep Data: | cut -d: -f2 | sed -e 's/^[ \t]*//' - - -ifneq ($(MAX_FLASH_SIZE),) - MAX_FLASH_BYTES = 'bytes (of a '$(MAX_FLASH_SIZE)' byte maximum)' -else - MAX_FLASH_BYTES = bytes -endif - -ifneq ($(MAX_RAM_SIZE),) - MAX_RAM_BYTES = 'bytes (of a '$(MAX_RAM_SIZE)' byte maximum)' -else - MAX_RAM_BYTES = bytes -endif - - -# Serial monitoring -# ---------------------------------- -# - -# First /dev port -# -ifndef SERIAL_PORT - SERIAL_PORT = $(firstword $(wildcard $(BOARD_PORT))) -endif - -ifndef SERIAL_BAUDRATE - SERIAL_BAUDRATE = 9600 -endif - -ifndef SERIAL_COMMAND - SERIAL_COMMAND = screen -endif - -STARTCHRONO = $(shell $(UTILITIES_PATH)/embedXcode_chrono) -STOPCHRONO = $(shell $(UTILITIES_PATH)/embedXcode_chrono -s) - -ifeq ($(PLATFORM),Energia) - USED_SERIAL_PORT = $(lastword $(wildcard $(BOARD_PORT))) -# $(shell ls -1 $(BOARD_PORT) | tail -1 > $(UTILITIES_PATH)/serial.txt) -# $(shell ls -1 $(BOARD_PORT) | head -1 > $(UTILITIES_PATH)/serial.txt) -else - USED_SERIAL_PORT = $(firstword $(wildcard $(BOARD_PORT))) -endif - -#BOARD_PORT := $(shell $(UTILITIES_PATH)/embedXcode_serial $(BOARD_PORT)) - - -# Info for debugging -# ---------------------------------- -# -# 0- Info -# -info: - @if [ -f $(CURRENT_DIR)/About/About.txt ]; then $(CAT) $(CURRENT_DIR)/About/About.txt; fi; - @if [ -f $(UTILITIES_PATH)/embedXcode_check ]; then $(UTILITIES_PATH)/embedXcode_check; fi - @echo $(STARTCHRONO) - $(call TRACE,"0-START",) - -ifneq ($(MAKECMDGOALS),boards) -ifneq ($(MAKECMDGOALS),clean) - - @echo ==== Info ==== - @echo ---- Project ---- - @echo 'Target '$(MAKECMDGOALS) - @echo 'Name '$(PROJECT_NAME) - @echo 'Tag '$(BOARD_TAG) - @echo 'Extension '$(SKETCH_EXTENSION) - - @echo 'User '$(USER_PATH) - -ifneq ($(PLATFORM),Wiring) - @echo ---- Platform ---- - @echo 'IDE '$(PLATFORM) - -ifneq ($(PLATFORM),MapleIDE) - @echo 'Version '$(shell cat $(APPLICATION_PATH)/lib/version.txt) -else - @echo 'Version '$(shell cat $(APPLICATION_PATH)/lib/build-version.txt) -endif -endif - -ifneq ($(WARNING_MESSAGE),) - @echo 'WARNING ''$(WARNING_MESSAGE)' -endif - -ifneq ($(BUILD_CORE),) - @echo 'Platform '$(BUILD_CORE) -endif - -ifneq ($(VARIANT),) - @echo 'Variant '$(VARIANT) -endif - -ifneq ($(USB_VID),) - @echo 'USB VID '$(USB_VID) -endif - -ifneq ($(USB_PID),) - @echo 'USB PID '$(USB_PID) -endif - - @echo ---- Board ---- - @echo 'Name ''$(BOARD_NAME)' - @echo 'Frequency '$(F_CPU) - @echo 'MCU '$(MCU) -ifneq ($(MAX_FLASH_SIZE),) - @echo 'Flash memory '$(MAX_FLASH_SIZE)' bytes' -endif -ifneq ($(MAX_RAM_SIZE),) - @echo 'SRAM memory '$(MAX_RAM_SIZE)' bytes' -endif - - @echo ---- Port ---- - @echo 'Uploader '$(UPLOADER) - -ifeq ($(UPLOADER),avrdude) - @echo 'AVRdude '$(AVRDUDE_PORT) - ifneq ($(AVRDUDE_PROGRAMMER),) - @echo 'Programmer '$(AVRDUDE_PROGRAMMER) - endif -endif -ifeq ($(UPLOADER),mspdebug) - @echo 'Protocol '$(MSPDEBUG_PROTOCOL) -endif - -ifeq ($(AVRDUDE_NO_SERIAL_PORT),1) - @echo 'Serial no serial port' -else - @echo 'Serial '$(USED_SERIAL_PORT) -endif - - @echo ---- Libraries ---- - @echo . Core libraries from $(CORE_LIB_PATH) | cut -d. -f1,2 - @echo $(CORE_LIBS_LIST) - - @echo . Application libraries from $(basename $(APP_LIB_PATH)) | cut -d. -f1,2 - @echo $(APP_LIBS_LIST) - - @echo . User libraries from $(SKETCHBOOK_DIR) - @echo $(USER_LIBS_LIST) - - @echo . Local libraries from $(CURRENT_DIR) - -ifneq ($(wildcard *.h),) - @echo $(subst .h,,$(wildcard *.h)) -else - @echo 0 -endif - - @echo ==== Info done ==== -endif -endif - - -# Release management -# ---------------------------------- -# -RELEASE_NOW := 141 - - -# Rules -# ---------------------------------- -# -all: info message_all clean compile reset raw_upload serial end_all prepare - -build: info message_build clean compile end_build prepare - -compile: info message_compile $(OBJDIR) $(TARGET_HEXBIN) $(TARGET_EEP) size - @echo $(BOARD_TAG) > $(NEW_TAG) - -prepare: - @if [ -f $(UTILITIES_PATH)/embedXcode_prepare ]; then $(UTILITIES_PATH)/embedXcode_prepare $(SCOPE_FLAG) "$(USER_LIB_PATH)"; rm -r $(UTILITIES_PATH)/embedXcode_prepare; fi; - -$(OBJDIR): - @echo "---- Build ---- " - @mkdir $(OBJDIR) - -#$(TARGET_ELF): $(OBJS) -# @echo "7-" $< -#ifeq ($(PLATFORM),MapleIDE) -# $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(SYS_OBJS) -L$(OBJDIR) -#else -# $(CC) $(LDFLAGS) -o $@ $(OBJS) $(SYS_OBJS) -lc -#endif - -$(DEP_FILE): $(OBJDIR) $(DEPS) - @echo "9-" $< - @cat $(DEPS) > $(DEP_FILE) - - -upload: message_upload reset raw_upload - @echo "==== upload done ==== " - - -reset: - @echo "---- Reset ---- " - -screen -X kill - sleep 1 -ifeq ($(UPLOADER),dfu-util) - $(call SHOW,"9.1-RESET",$(DFU_RESET)) - $(call TRACE,"9-RESET",$(DFU_RESET)) - $(DFU_RESET) - sleep 1 -endif - -ifdef USB_RESET -# Method 1 - $(call SHOW,"9.2-RESET",USB_RESET 1200) - $(call TRACE,"9-RESET",USB_RESET 1200) - stty -f $(AVRDUDE_PORT) 1200 - sleep 2 -# Method 2 -# $(USB_RESET) $(AVRDUDE_PORT) -# sleep 2 -endif - -# stty on MacOS likes -F, but on Debian it likes -f redirecting -# stdin/out appears to work but generates a spurious error on MacOS at -# least. Perhaps it would be better to just do it in perl ? -# @if [ -z "$(AVRDUDE_PORT)" ]; then \ -# echo "No Arduino-compatible TTY device found -- exiting"; exit 2; \ -# fi -# for STTYF in 'stty --file' 'stty -f' 'stty <' ; \ -# do $$STTYF /dev/tty >/dev/null 2>/dev/null && break ; \ -# done ;\ -# $$STTYF $(AVRDUDE_PORT) hupcl ;\ -# (sleep 0.1 || sleep 1) ;\ -# $$STTYF $(AVRDUDE_PORT) -hupcl - - -raw_upload: - @echo "---- Upload ---- " - -ifeq ($(UPLOADER),micronucleus) - osascript -e 'tell application "System Events" to display dialog "Click OK and plug the Digispark into the USB port." buttons {"OK"} with icon POSIX file ("$(UTILITIES_PATH)/TemplateIcon.icns") with title "embedXcode"' - $(call SHOW,"9.1-UPLOAD",$(UPLOADER)) - $(call TRACE,"9-UPLOAD",$(UPLOADER)) - $(AVRDUDE_EXEC) $(AVRDUDE_COM_OPTS) $(AVRDUDE_OPTS) -P$(USED_SERIAL_PORT) -Uflash:w:$(TARGET_HEX):i - -else ifeq ($(UPLOADER),avrdude) - $(call SHOW,"9.3-UPLOAD",$(UPLOADER)) - $(call TRACE,"9-UPLOAD",$(UPLOADER)) - $(AVRDUDE_EXEC) $(AVRDUDE_COM_OPTS) $(AVRDUDE_OPTS) -P$(USED_SERIAL_PORT) -Uflash:w:$(TARGET_HEX):i - - ifeq ($(AVRDUDE_PROGRAMMER),avr109) - sleep 2 - endif - -else ifeq ($(UPLOADER),bossac) - $(call SHOW,"9.4-UPLOAD",$(UPLOADER)) - $(call TRACE,"9-UPLOAD",$(UPLOADER)) - $(BOSSAC) $(BOSSAC_OPTS) $(TARGET_BIN) -R - -else ifeq ($(UPLOADER),mspdebug) - $(call SHOW,"9.5-UPLOAD",$(UPLOADER)) - $(call TRACE,"9-UPLOAD",$(UPLOADER)) - -ifeq ($(MSPDEBUG_PROTOCOL),tilib) -# libmsp430.so needs to be in the current directory -# Solution 1: change directory doesn't work -# cd $(MSPDEBUG_PATH) -# $(MSPDEBUG) $(MSPDEBUG_OPTS) "$(MSPDEBUG_COMMAND) $(TARGET_HEX)" -# cd $(CURRENT_DIR) - -# Solution 2: make a copy of libmsp430.so in the current directory - @cp $(MSPDEBUG_PATH)/libmsp430.so . - $(MSPDEBUG) $(MSPDEBUG_OPTS) "$(MSPDEBUG_COMMAND) $(TARGET_HEX)" - @rm libmsp430.so - @rm comm.log - -else - $(MSPDEBUG) $(MSPDEBUG_OPTS) "$(MSPDEBUG_COMMAND) $(TARGET_HEX)" -endif - -else ifeq ($(UPLOADER),lm4flash) - $(call SHOW,"9.6-UPLOAD",$(UPLOADER)) - $(call TRACE,"9-UPLOAD",$(UPLOADER)) - $(LM4FLASH) $(LM4FLASH_OPTS) $(TARGET_BIN) - -else ifeq ($(UPLOADER),dfu-util) - $(call SHOW,"9.7-UPLOAD",$(UPLOADER)) - $(call TRACE,"9-UPLOAD",$(UPLOADER)) - $(DFU_UTIL) $(DFU_UTIL_OPTS) -D $(TARGET_BIN) -R - sleep 4 - $(info .) - -else ifeq ($(UPLOADER),teensy_flash) - $(call SHOW,"9.8-UPLOAD",$(UPLOADER)) - $(call TRACE,"9-UPLOAD",$(UPLOADER)) - $(TEENSY_POST_COMPILE) -file=$(basename $(notdir $(TARGET_HEX))) -path=$(dir $(abspath $(TARGET_HEX))) -tools=$(abspath $(TEENSY_FLASH_PATH))/ - sleep 2 - $(TEENSY_REBOOT) - sleep 2 - -else - $(error No valid uploader) -endif - - -ispload: $(TARGET_HEX) - @echo "---- ISP upload ---- " -ifeq ($(UPLOADER),avrdude) - $(call SHOW,"9.9-UPLOAD",$(UPLOADER)) - $(call TRACE,"9-UPLOAD",$(UPLOADER)) - $(AVRDUDE_EXEC) $(AVRDUDE_COM_OPTS) $(AVRDUDE_ISP_OPTS) -e \ - -U lock:w:$(ISP_LOCK_FUSE_PRE):m \ - -U hfuse:w:$(ISP_HIGH_FUSE):m \ - -U lfuse:w:$(ISP_LOW_FUSE):m \ - -U efuse:w:$(ISP_EXT_FUSE):m - $(AVRDUDE_EXEC) $(AVRDUDE_COM_OPTS) $(AVRDUDE_ISP_OPTS) -D \ - -U flash:w:$(TARGET_HEX):i - $(AVRDUDE_EXEC) $(AVRDUDE_COM_OPTS) $(AVRDUDE_ISP_OPTS) \ - -U lock:w:$(ISP_LOCK_FUSE_POST):m -endif - -serial: reset - @echo "---- Serial ---- " -ifeq ($(AVRDUDE_NO_SERIAL_PORT),1) - @echo "The programmer provides no serial port" -else - osascript -e 'tell application "Terminal" to do script "$(SERIAL_COMMAND) $(USED_SERIAL_PORT) $(SERIAL_BAUDRATE)"' -endif - -# echo "$@" -# echo "-- " -# export TERM="vt100" -# echo "#!/bin/sh" /tmp/arduino.command -# echo "$(SERIAL_COMMAND) $(SERIAL_PORT) $(SERIAL_BAUDRATE)" > /tmp/arduino.command -# chmod 0755 /tmp/arduino.command -# open /tmp/arduino.command - -size: - @echo "---- Size ----" -# echo 'PROGRAM_SIZE ' $(shell $(PROGRAM_SIZE)) -# echo 'DATA_SIZE ' $(shell $(DATA_SIZE)) - @if [ -f $(TARGET_HEX) ]; then echo 'Binary sketch size: ' $(shell $(HEXSIZE)) $(MAX_FLASH_BYTES); echo; fi -# @if [ -f $(TARGET_ELF) ]; then $(ELFSIZE); echo; fi - @if [ -f $(TARGET_BIN) ]; then echo 'Binary sketch size:' $(shell $(BINSIZE)) $(MAX_FLASH_BYTES); echo; fi - @if [ -f $(TARGET_ELF) ]; then echo 'Estimated SRAM used:' $(shell $(RAMSIZE)) $(MAX_RAM_BYTES); echo; fi -# @echo PROGRAM_SIZE $(PROGRAM_SIZE) -# @echo DATA_SIZE $(DATA_SIZE) - @echo 'Elapsed time:' $(STOPCHRONO) -# @if [ -n '$(MESSAGE_LINE)' ]; then echo 'Message: $(MESSAGE_LINE)'; fi; - -clean: - @if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi - @echo "nil" > $(OBJDIR)/nil - @echo "---- Clean ----" - -@rm -r $(OBJDIR)/* # */ - -changed: - @echo "---- Clean changed ----" -ifeq ($(CHANGE_FLAG),1) - @if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi - @echo "nil" > $(OBJDIR)/nil - $(REMOVE) $(OBJDIR)/* # */ -else -# $(REMOVE) $(LOCAL_OBJS) - for f in $(LOCAL_OBJS); do if [ -f $$f ]; then rm $$f; fi; done -endif - -depends: $(DEPS) - @echo "---- Depends ---- " - @cat $(DEPS) > $(DEP_FILE) - -boards: - @echo "==== Boards ====" - @echo "Tag=Name" - @if [ -f $(ARDUINO_PATH)/hardware/arduino/boards.txt ]; then echo "---- $(notdir $(basename $(ARDUINO_APP))) ---- "; \ - grep .name $(ARDUINO_PATH)/hardware/arduino/boards.txt; echo; fi - @if [ -d $(ARDUINO_PATH)/hardware/arduino/sam ]; then echo "---- $(notdir $(basename $(ARDUINO_APP))) SAM ---- "; \ - grep .name $(ARDUINO_PATH)/hardware/arduino/sam/boards.txt; echo; fi - @if [ -d $(ARDUINO_PATH)/hardware/arduino/avr ]; then echo "---- $(notdir $(basename $(ARDUINO_APP))) AVR ---- "; \ - grep .name $(ARDUINO_PATH)/hardware/arduino/avr/boards.txt; echo; fi - @if [ -d $(MPIDE_APP) ]; then echo "---- $(notdir $(basename $(MPIDE_APP))) ---- "; \ - grep .name $(MPIDE_PATH)/hardware/pic32/boards.txt; echo; fi - @if [ -d $(DIGISPARK_APP) ]; then echo "---- $(notdir $(basename $(DIGISPARK_APP))) ---- "; \ - grep .name $(DIGISPARK_PATH)/hardware/digispark/boards.txt; echo; fi - @if [ -d $(ENERGIA_APP) ]; then echo "---- $(notdir $(basename $(ENERGIA_APP))) MSP430 ---- "; \ - grep .name $(ENERGIA_PATH)/hardware/msp430/boards.txt; echo; fi - @if [ -d $(ENERGIA_PATH)/hardware/lm4f ]; then echo "---- $(notdir $(basename $(ENERGIA_APP))) LM4F ---- "; \ - grep .name $(ENERGIA_PATH)/hardware/lm4f/boards.txt; echo; fi - @if [ -d $(MAPLE_APP) ]; then echo "---- $(notdir $(basename $(MAPLE_APP))) ---- "; \ - grep .name $(MAPLE_PATH)/hardware/leaflabs/boards.txt; echo; fi - @if [ -d $(MICRODUINO_APP) ]; then echo "---- $(notdir $(basename $(MICRODUINO_APP))) ---- "; \ - grep .name $(MICRODUINO_PATH)/hardware/Microduino/boards.txt; echo; fi - @if [ -d $(TEENSY_APP) ]; then echo "---- $(notdir $(basename $(TEENSY_APP))) ---- "; \ - grep .name $(TEENSY_PATH)/hardware/teensy/boards.txt | grep -v menu; echo; fi - @if [ -d $(WIRING_APP) ]; then echo "---- $(notdir $(basename $(WIRING_APP))) ---- "; \ - grep .name $(WIRING_PATH)/hardware/Wiring/boards.txt; echo; fi - @echo "==== Boards done ==== " - -message_all: - @echo "==== All ====" - -message_build: - @echo "==== Build ====" - -message_compile: - @echo "---- Compile ----" - -message_upload: - @echo "==== Upload ====" - -end_all: - @echo "==== All done ==== " - -end_build: - @echo "==== Build done ==== " - - -.PHONY: all clean depends upload raw_upload reset serial show_boards headers size document diff --git a/FastLED/FastLED/Makefiles/Teensy.mk b/FastLED/FastLED/Makefiles/Teensy.mk deleted file mode 100755 index 331388a5..00000000 --- a/FastLED/FastLED/Makefiles/Teensy.mk +++ /dev/null @@ -1,57 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Feb 01, 2014 release 129 - - - -# Teensy specifics -# ---------------------------------- -# -PLATFORM := Teensy -PLATFORM_TAG = ARDUINO=105 TEENSYDUINO=117 EMBEDXCODE=$(RELEASE_NOW) -APPLICATION_PATH := $(TEENSY_PATH) - - -# Automatic Teensy2 or Teensy 3 selection based on build.core -# -BOARDS_TXT := $(APPLICATION_PATH)/hardware/teensy/boards.txt -BUILD_CORE = $(call PARSE_BOARD,$(BOARD_TAG),build.core) - -ifeq ($(BUILD_CORE),teensy) - include $(MAKEFILE_PATH)/Teensy2.mk -else ifeq ($(BUILD_CORE),teensy3) - include $(MAKEFILE_PATH)/Teensy3.mk -else - $(error $(BUILD_CORE) unknown) -endif - -# Teensy USB PID VID -# -USB_VID := $(call PARSE_BOARD,$(BOARD_TAG),build.vid) -USB_PID := $(call PARSE_BOARD,$(BOARD_TAG),build.pid) - -ifneq ($(USB_PID),) -ifneq ($(USB_VID),) - USB_FLAGS = -DUSB_VID=$(USB_VID) - USB_FLAGS += -DUSB_PID=$(USB_PID) -endif -endif - -ifeq ($(USB_FLAGS),) - USB_FLAGS = -DUSB_VID=null -DUSB_PID=null -endif - -USB_FLAGS += -DUSB_SERIAL -DLAYOUT_US_ENGLISH -DTIME_T=$(shell date +%s) - -MAX_RAM_SIZE = $(call PARSE_BOARD,$(BOARD_TAG),upload.maximum_ram_size) - - - diff --git a/FastLED/FastLED/Makefiles/Teensy2.mk b/FastLED/FastLED/Makefiles/Teensy2.mk deleted file mode 100755 index 851d8eaa..00000000 --- a/FastLED/FastLED/Makefiles/Teensy2.mk +++ /dev/null @@ -1,99 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Mar 01, 2014 release 136 - - - -# Teensy 2.0 specifics -# ---------------------------------- -# -BUILD_CORE := avr - -UPLOADER = teensy_flash -TEENSY_FLASH_PATH = $(APPLICATION_PATH)/hardware/tools/avr/bin -TEENSY_POST_COMPILE = $(TEENSY_FLASH_PATH)/teensy_post_compile -TEENSY_REBOOT = $(TEENSY_FLASH_PATH)/teensy_reboot - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/avr/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/teensy/cores/teensy -APP_LIB_PATH := $(APPLICATION_PATH)/libraries - -BUILD_CORE_LIB_PATH = $(APPLICATION_PATH)/hardware/teensy/cores/teensy3/avr -BUILD_CORE_LIBS_LIST = $(subst .h,,$(subst $(BUILD_CORE_LIB_PATH)/,,$(wildcard $(BUILD_CORE_LIB_PATH)/*.h))) # */ -BUILD_CORE_C_SRCS = $(wildcard $(BUILD_CORE_LIB_PATH)/*.c) # */ - -ifneq ($(strip $(NO_CORE_MAIN_FUNCTION)),) - BUILD_CORE_CPP_SRCS = $(filter-out %program.cpp %main.cpp,$(wildcard $(BUILD_CORE_LIB_PATH)/*.cpp)) # */ -else - BUILD_CORE_CPP_SRCS = $(filter-out %program.cpp, $(wildcard $(BUILD_CORE_LIB_PATH)/*.cpp)) # */ -endif - -BUILD_CORE_OBJ_FILES = $(BUILD_CORE_C_SRCS:.c=.o) $(BUILD_CORE_CPP_SRCS:.cpp=.o) -BUILD_CORE_OBJS = $(patsubst $(BUILD_CORE_LIB_PATH)/%,$(OBJDIR)/%,$(BUILD_CORE_OBJ_FILES)) - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/Arduino/preferences.txt,) - $(error Error: run Teensy once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(wildcard ~/Library/Arduino/preferences.txt) | cut -d = -f 2) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif - -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"WProgram.h\" - - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/avr-gcc -CXX = $(APP_TOOLS_PATH)/avr-g++ -AR = $(APP_TOOLS_PATH)/avr-ar -OBJDUMP = $(APP_TOOLS_PATH)/avr-objdump -OBJCOPY = $(APP_TOOLS_PATH)/avr-objcopy -SIZE = $(APP_TOOLS_PATH)/avr-size -NM = $(APP_TOOLS_PATH)/avr-nm - - -#LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),build.linkscript) -#VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -#VARIANT_PATH = $(APPLICATION_PATH)/hardware/lm4f/variants/$(VARIANT) - -MCU_FLAG_NAME = mmcu -MCU = atmega32u4 -F_CPU = 16000000 - -#EXTRA_LDFLAGS = -T$(CORE_LIB_PATH)/$(LDSCRIPT) -mthumb - -# CXX = flags for C++ only -# CPP = flags for both C and C++ -# -EXTRA_CPPFLAGS = $(addprefix -D, $(PLATFORM_TAG)) -D__AVR_ATmega32U4__ -nostdlib -MMD -EXTRA_CXXFLAGS = -fno-rtti -felide-constructors -std=c++0x - - -#EXTRA_CPPFLAGS += $(call PARSE_BOARD,$(BOARD_TAG),build.option3) # -D__MK20DX128__ - -OBJCOPYFLAGS = -R .eeprom -Oihex -TARGET_HEXBIN = $(TARGET_HEX) -TARGET_EEP = $(OBJDIR)/$(TARGET).eep - diff --git a/FastLED/FastLED/Makefiles/Teensy3.mk b/FastLED/FastLED/Makefiles/Teensy3.mk deleted file mode 100755 index 9d3b8d82..00000000 --- a/FastLED/FastLED/Makefiles/Teensy3.mk +++ /dev/null @@ -1,96 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Mar 01, 2014 release 136 - - - -# Teensy 3.0 specifics -# ---------------------------------- -# -BUILD_CORE := arm - -UPLOADER = teensy_flash -TEENSY_FLASH_PATH = $(APPLICATION_PATH)/hardware/tools -TEENSY_POST_COMPILE = $(TEENSY_FLASH_PATH)/teensy_post_compile -TEENSY_REBOOT = $(TEENSY_FLASH_PATH)/teensy_reboot - -APP_TOOLS_PATH := $(APPLICATION_PATH)/hardware/tools/arm-none-eabi/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/hardware/teensy/cores/teensy3 -APP_LIB_PATH := $(APPLICATION_PATH)/libraries - -BUILD_CORE_LIB_PATH = $(APPLICATION_PATH)/hardware/teensy/cores/teensy3/avr -BUILD_CORE_LIBS_LIST = $(subst .h,,$(subst $(BUILD_CORE_LIB_PATH)/,,$(wildcard $(BUILD_CORE_LIB_PATH)/*/*.h))) # */ -BUILD_CORE_C_SRCS = $(wildcard $(BUILD_CORE_LIB_PATH)/*.c) # */ - -ifneq ($(strip $(NO_CORE_MAIN_FUNCTION)),) - BUILD_CORE_CPP_SRCS = $(filter-out %program.cpp %main.cpp,$(wildcard $(BUILD_CORE_LIB_PATH)/*.cpp)) # */ -else - BUILD_CORE_CPP_SRCS = $(filter-out %program.cpp, $(wildcard $(BUILD_CORE_LIB_PATH)/*.cpp)) # */ -endif - -BUILD_CORE_OBJ_FILES = $(BUILD_CORE_C_SRCS:.c=.o) $(BUILD_CORE_CPP_SRCS:.cpp=.o) -BUILD_CORE_OBJS = $(patsubst $(BUILD_CORE_LIB_PATH)/%,$(OBJDIR)/%,$(BUILD_CORE_OBJ_FILES)) - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/Arduino/preferences.txt,) - $(error Error: run Arduino with Teensy plug-in once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(wildcard ~/Library/Arduino/preferences.txt) | cut -d = -f 2) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif - -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"WProgram.h\" - - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/arm-none-eabi-gcc -CXX = $(APP_TOOLS_PATH)/arm-none-eabi-g++ -AR = $(APP_TOOLS_PATH)/arm-none-eabi-ar -OBJDUMP = $(APP_TOOLS_PATH)/arm-none-eabi-objdump -OBJCOPY = $(APP_TOOLS_PATH)/arm-none-eabi-objcopy -SIZE = $(APP_TOOLS_PATH)/arm-none-eabi-size -NM = $(APP_TOOLS_PATH)/arm-none-eabi-nm - - -LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),build.linkscript) -#VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.variant) -#VARIANT_PATH = $(APPLICATION_PATH)/hardware/lm4f/variants/$(VARIANT) - -MCU_FLAG_NAME = mcpu -MCU = $(call PARSE_BOARD,$(BOARD_TAG),build.cpu) -F_CPU = 96000000 - -EXTRA_LDFLAGS = -mthumb -T$(CORE_LIB_PATH)/$(LDSCRIPT) - -# CXX = flags for C++ only -# CPP = flags for both C and C++ -# -EXTRA_CPPFLAGS = $(addprefix -D, $(PLATFORM_TAG)) $(call PARSE_BOARD,$(BOARD_TAG),build.option3) -nostdlib -mthumb -MMD -EXTRA_CXXFLAGS = -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x - -OBJCOPYFLAGS = -R .eeprom -O ihex -TARGET_HEXBIN = $(TARGET_HEX) -TARGET_EEP = $(OBJDIR)/$(TARGET).eep - diff --git a/FastLED/FastLED/Makefiles/Wiring.mk b/FastLED/FastLED/Makefiles/Wiring.mk deleted file mode 100755 index 115bad28..00000000 --- a/FastLED/FastLED/Makefiles/Wiring.mk +++ /dev/null @@ -1,123 +0,0 @@ -# -# embedXcode -# ---------------------------------- -# Embedded Computing on Xcode -# -# Copyright © Rei VILO, 2010-2014 -# http://embedxcode.weebly.com -# All rights reserved -# -# -# Last update: Mar 01, 2014 release 136 - -# WIRING SUPPORT IS PUT ON HOLD -WARNING_MESSAGE = 'WIRING SUPPORT IS PUT ON HOLD' - - -# Wiring specifics -# ---------------------------------- -# -PLATFORM := Wiring -PLATFORM_TAG = WIRING=100 EMBEDXCODE=$(RELEASE_NOW) -APPLICATION_PATH := $(WIRING_PATH) - -APP_TOOLS_PATH := $(APPLICATION_PATH)/tools/avr/bin -CORE_LIB_PATH := $(APPLICATION_PATH)/cores/Common -APP_LIB_PATH := $(APPLICATION_PATH)/libraries -BOARDS_TXT := $(APPLICATION_PATH)/hardware/Wiring/boards.txt - -# Sketchbook/Libraries path -# wildcard required for ~ management -# ?ibraries required for libraries and Libraries -# -ifeq ($(USER_PATH)/Library/Wiring/preferences.txt,) - $(error Error: run Wiring once and define the sketchbook path) -endif - -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - SKETCHBOOK_DIR = $(shell grep sketchbook.path $(USER_PATH)/Library/Wiring/preferences.txt | cut -d = -f 2) -endif -ifeq ($(wildcard $(SKETCHBOOK_DIR)),) - $(error Error: sketchbook path not found) -endif -USER_LIB_PATH = $(wildcard $(SKETCHBOOK_DIR)/?ibraries) - -# Rules for making a c++ file from the main sketch (.pde) -# -PDEHEADER = \\\#include \"Wiring.h\" - -# Tool-chain names -# -CC = $(APP_TOOLS_PATH)/avr-gcc -CXX = $(APP_TOOLS_PATH)/avr-g++ -AR = $(APP_TOOLS_PATH)/avr-ar -OBJDUMP = $(APP_TOOLS_PATH)/avr-objdump -OBJCOPY = $(APP_TOOLS_PATH)/avr-objcopy -SIZE = $(APP_TOOLS_PATH)/avr-size -NM = $(APP_TOOLS_PATH)/avr-nm - -# Specific AVRDUDE location and options -# -AVRDUDE_PATH = $(APPLICATION_PATH)/tools/avr -AVRDUDE = $(AVRDUDE_PATH)/bin/avrdude -AVRDUDE_CONF = $(AVRDUDE_PATH)/bin/avrdude.conf -AVRDUDE_COM_OPTS = -D -p$(MCU) -C$(AVRDUDE_CONF) - -BOARD = $(call PARSE_BOARD,$(BOARD_TAG),board) -#LDSCRIPT = $(call PARSE_BOARD,$(BOARD_TAG),ldscript) -VARIANT = $(call PARSE_BOARD,$(BOARD_TAG),build.hardware) -VARIANT_PATH = $(APPLICATION_PATH)/hardware/Wiring/$(VARIANT) -BUILD_CORE = $(call PARSE_BOARD,$(BOARD_TAG),build.core) - -BUILD_CORE_LIB_PATH = $(APPLICATION_PATH)/cores/$(BUILD_CORE) -BUILD_CORE_LIBS_LIST = $(subst .h,,$(subst $(BUILD_CORE_LIB_PATH)/,,$(wildcard $(BUILD_CORE_LIB_PATH)/*.h))) # */ - -BUILD_CORE_C_SRCS = $(wildcard $(BUILD_CORE_LIB_PATH)/*.c) # */ - -ifneq ($(strip $(NO_CORE_MAIN_FUNCTION)),) - BUILD_CORE_CPP_SRCS = $(filter-out %program.cpp %main.cpp,$(wildcard $(BUILD_CORE_LIB_PATH)/*.cpp)) # */ -else - BUILD_CORE_CPP_SRCS = $(filter-out %program.cpp, $(wildcard $(BUILD_CORE_LIB_PATH)/*.cpp)) # */ -endif - -BUILD_CORE_OBJ_FILES = $(BUILD_CORE_C_SRCS:.c=.o) $(BUILD_CORE_CPP_SRCS:.cpp=.o) -BUILD_CORE_OBJS = $(patsubst $(BUILD_CORE_LIB_PATH)/%,$(OBJDIR)/%,$(BUILD_CORE_OBJ_FILES)) - -# Extra variant library -# -VARIANT_CPP_SRC = $(wildcard $(VARIANT_PATH)/*.cpp) -VARIANT_OBJS = $(patsubst $(VARIANT_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(VARIANT_CPP_SRC)) # */ - -# Two locations for Wiring libraries -# -BUILD_APP_LIB_PATH = $(BUILD_CORE_LIB_PATH)/libraries - -ifndef APP_LIBS_LIST - w1 = $(realpath $(sort $(dir $(wildcard $(APP_LIB_PATH)/*/*.h $(APP_LIB_PATH)/*/*/*.h)))) # */ - APP_LIBS_LIST = $(subst $(APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w1))) - - w2 = $(realpath $(sort $(dir $(wildcard $(BUILD_APP_LIB_PATH)/*/*.h $(BUILD_APP_LIB_PATH)/*/*/*.h)))) # */ - BUILD_APP_LIBS_LIST = $(subst $(BUILD_APP_LIB_PATH)/,,$(filter-out $(EXCLUDE_LIST),$(w2))) -else - BUILD_APP_LIBS_LIST = $(APP_LIBS_LIST) -endif - -ifneq ($(APP_LIBS_LIST),0) - APP_LIBS = $(patsubst %,$(APP_LIB_PATH)/%,$(APP_LIBS_LIST)) - APP_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(APP_LIBS))) # */ - APP_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(APP_LIBS))) # */ - - APP_LIB_OBJS = $(patsubst $(APP_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(APP_LIB_CPP_SRC)) - APP_LIB_OBJS += $(patsubst $(APP_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(APP_LIB_C_SRC)) - - BUILD_APP_LIBS = $(patsubst %,$(BUILD_APP_LIB_PATH)/%,$(BUILD_APP_LIBS_LIST)) - BUILD_APP_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(BUILD_APP_LIBS))) # */ - BUILD_APP_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(BUILD_APP_LIBS))) # */ - - BUILD_APP_LIB_OBJS = $(patsubst $(BUILD_APP_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(BUILD_APP_LIB_CPP_SRC)) - BUILD_APP_LIB_OBJS += $(patsubst $(BUILD_APP_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(BUILD_APP_LIB_C_SRC)) -endif - -MCU_FLAG_NAME = mmcu -EXTRA_LDFLAGS = -EXTRA_CPPFLAGS = $(addprefix -D, $(PLATFORM_TAG)) -I$(CORE_LIB_PATH) -I$(BUILD_CORE_LIB_PATH) -I$(VARIANT_PATH) diff --git a/FastLED/FastLED/ReadMe.txt b/FastLED/FastLED/ReadMe.txt deleted file mode 100644 index 0a6d3b4f..00000000 --- a/FastLED/FastLED/ReadMe.txt +++ /dev/null @@ -1,26 +0,0 @@ - - FastLED - Project - ---------------------------------- - Developed with embedXcode - - Project FastLED - Created by Daniel Garcia on 4/2/14 - Copyright © 2014 Daniel Garcia - License <#license#> - - - - References - ---------------------------------- - - - - embedXcode - embedXcode+ - ---------------------------------- - Embedded Computing on Xcode - Copyright © Rei VILO, 2010-2014 - All rights reserved - http://embedXcode.weebly.com - diff --git a/FastLED/FastLED/Sketchbook/Sketchbook.txt b/FastLED/FastLED/Sketchbook/Sketchbook.txt deleted file mode 100644 index 029dd8a5..00000000 --- a/FastLED/FastLED/Sketchbook/Sketchbook.txt +++ /dev/null @@ -1,9 +0,0 @@ - -Drag and drop your user library folder under the Sketchbook group. - -Then, -• Uncheck Copy items into destination group's folder (if necessary). -• Choose Folders Create groups for any added folders. -• Check Add to targets Index. - -Your user library folder is usually located at Sketchbook > Libraries.
\ No newline at end of file diff --git a/FastLED/FastLED/Utilities/TemplateIcon.icns b/FastLED/FastLED/Utilities/TemplateIcon.icns Binary files differdeleted file mode 100644 index 80e2c3f0..00000000 --- a/FastLED/FastLED/Utilities/TemplateIcon.icns +++ /dev/null diff --git a/FastLED/FastLED/Utilities/embedXcode_check b/FastLED/FastLED/Utilities/embedXcode_check Binary files differdeleted file mode 100755 index d8a7a710..00000000 --- a/FastLED/FastLED/Utilities/embedXcode_check +++ /dev/null diff --git a/FastLED/FastLED/Utilities/embedXcode_chrono b/FastLED/FastLED/Utilities/embedXcode_chrono Binary files differdeleted file mode 100755 index 7fec711d..00000000 --- a/FastLED/FastLED/Utilities/embedXcode_chrono +++ /dev/null diff --git a/FastLED/FastLED/Utilities/embedXcode_prepare b/FastLED/FastLED/Utilities/embedXcode_prepare Binary files differdeleted file mode 100755 index 7ce78022..00000000 --- a/FastLED/FastLED/Utilities/embedXcode_prepare +++ /dev/null diff --git a/FastLED/FastLED/Utilities/reset.py b/FastLED/FastLED/Utilities/reset.py deleted file mode 100755 index 6410c563..00000000 --- a/FastLED/FastLED/Utilities/reset.py +++ /dev/null @@ -1,124 +0,0 @@ -#!/usr/bin/env python - -import serial -import os -import platform -import sys -import time -from struct import pack - -def unix_get_maple_path(file_prefix): - """Try to find the device file for the Maple on *nix; assuming - that it looks like /dev/<file_prefix>*. If there are multiple - possibilities, ask the user what to do. If the user chooses not - to say, returns None.""" - possible_paths = [os.path.join('/dev', x) for x in os.listdir('/dev') \ - if x.startswith(file_prefix)] - return choose_path(possible_paths) - -def windows_get_maple_path(): - """Similar to unix_get_maple_path(), but on Windows.""" - import _winreg as reg - p = 'HARDWARE\\DEVICEMAP\\SERIALCOMM' - k = reg.OpenKey(reg.HKEY_LOCAL_MACHINE, p) - possible_paths = [] - i = 0 - while True: - try: - possible_paths.append(reg.EnumValue(k, i)[1]) - i += 1 - except WindowsError: - break - return choose_path(possible_paths) - -def choose_path(possible_paths): - if len(possible_paths) == 0: - return None - elif len(possible_paths) == 1: - return possible_paths[0] - else: - print 'Found multiple candidates for the Maple device:' - return choose_among_options(possible_paths) - -def choose_among_options(options): - for (i,p) in enumerate(options): - print '\t%d. %s' % (i+1, p) - - prompt = 'Enter a number to select one, or q to quit: ' - while True: - resp = raw_input(prompt).strip().lower() - if resp == 'q': sys.exit() - - try: - i = int(resp, 10) - except ValueError: - pass - else: - if 0 <= i-1 < len(options): - return options[i-1] - - prompt = 'Please enter a number from the list, or q to quit: ' - -plat_sys = platform.system() -plat_bits = platform.architecture()[0] -if plat_sys == 'Linux': - if plat_bits == '64bit': - print 'You appear to be using 64-bit Linux. Let us know if this works.' - maple_path = unix_get_maple_path('ttyACM') - # fall back on /dev/maple if that doesn't work - if maple_path is None: - maple_path = '/dev/maple' - print 'Could not find Maple serial port; defaulting to /dev/maple.' -elif plat_sys == 'Darwin': - maple_path = unix_get_maple_path('tty.usbmodem') -elif plat_sys == 'Windows': - maple_path = windows_get_maple_path() -else: - maple_path = raw_input('Unrecognized platform. Please enter ' - "the path to the Maple's serial port device file:") - -if maple_path is None: - print 'Could not find the Maple serial port for reset.', \ - 'Perhaps this is your first upload, or the board is already', \ - 'in bootloader mode.' - print - print "If your sketch doesn't upload, try putting your Maple", \ - 'into bootloader mode manually by pressing the RESET button', \ - 'then letting it go and quickly pressing button BUT', \ - '(hold for several seconds).' - sys.exit() - -print 'Using %s as Maple serial port' % maple_path - -try: - ser = serial.Serial(maple_path, baudrate=115200, xonxoff=1) - - try: - # try to toggle DTR/RTS (old scheme) - ser.setRTS(0) - time.sleep(0.01) - ser.setDTR(0) - time.sleep(0.01) - ser.setDTR(1) - time.sleep(0.01) - ser.setDTR(0) - - # try magic number - ser.setRTS(1) - time.sleep(0.01) - ser.setDTR(1) - time.sleep(0.01) - ser.setDTR(0) - time.sleep(0.01) - ser.write("1EAF") - - # Windows quirk: delay a bit before proceeding - if plat_sys == 'Windows': time.sleep(0.5) - finally: - # ok we're done here - ser.close() - -except Exception as e: - print 'Failed to open serial port %s for reset' % maple_path - sys.exit() - diff --git a/FastLED/FastLED/Utilities/serial1200.py b/FastLED/FastLED/Utilities/serial1200.py deleted file mode 100755 index 1e482c1c..00000000 --- a/FastLED/FastLED/Utilities/serial1200.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env python - -import serial -import sys - -if len(sys.argv) < 2: - print "Missing serial port" - sys.exit() - -print 'Setting %s at 1200' % sys.argv[1] - -ser = serial.Serial(sys.argv[1], baudrate=1200) - diff --git a/FastLED/FastLED/main.cpp b/FastLED/FastLED/main.cpp deleted file mode 100644 index dabe2749..00000000 --- a/FastLED/FastLED/main.cpp +++ /dev/null @@ -1,475 +0,0 @@ -// -// main.cpp -// Main file -// ---------------------------------- -// Developed with embedXcode -// http://embedXcode.weebly.com -// -// Project FastLED -// -// Created by Daniel Garcia, 4/2/14 8:09 PM -// Daniel Garcia -// -// Copyright © Daniel Garcia, 2014 -// License <#license#> -// -// See FastLED.ino and ReadMe.txt for references -// -// ---------------------------------- -// DO NOT EDIT THIS FILE. -// THE SKETCH IS IN FastLED.ino -// ---------------------------------- -// -// Last update: Mar 12, 2014 release 139 - -// IDE selection -#if defined(EMBEDXCODE) - -// Sketch -#include "FastLED.ino" - -// Core library and main() -#if defined(MPIDE) -// ============================================================================= chipKIT specific - -//************************************************************************ -//* main.c -//* -//* Arduino core files for PIC32 -//* Copyright (c) 2010, 2011 by Mark Sproul -//* -//* -//************************************************************************ -//* this code is based on code Copyright (c) 2005-2006 David A. Mellis -//* -//* This library is free software; you can redistribute it and/or -//* modify it under the terms of the GNU Lesser General Public -//* License as published by the Free Software Foundation; either -//* version 2.1 of the License, or (at your option) any later version. -//* -//* This library is distributed in the hope that it will be useful, -//* but WITHOUT ANY WARRANTY; without even the implied warranty of -//* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.//* See the GNU -//* Lesser General Public License for more details. -//* -//* You should have received a copy of the GNU Lesser General -//* Public License along with this library; if not, write to the -//* Free Software Foundation, Inc., 59 Temple Place, Suite 330, -//* Boston, MA 02111-1307 USA -//* -//* -//************************************************************************ -//* Edit History -//************************************************************************ -//* Oct 12, 2010 Got MPLAB X working on MacOSX 1.6 for the first time -//* Dec 12, 2011 <GeneApperson> added call to _scheduleTask() before call -//* to loop(). -//************************************************************************ - -#define OPT_SYSTEM_INTERNAL -#include <System_Defs.h> - -#if (ARDUINO >= 100) -#include <Arduino.h> -#else -#include <WProgram.h> -#endif - -extern "C" { - extern void __use_isr_install(void); - __attribute__((section(".comment"))) void (*__use_force_isr_install)(void) = &__use_isr_install; -} - -//************************************************************************ -int main(void) -{ - init(); - - setup(); - - while (1) - { - _scheduleTask(); - loop(); - } - return 0; -} - - -#elif defined(DIGISPARK) -// ============================================================================= Digispark specific - -#include "WProgram.h" - -int main(void) -{ - init(); - - setup(); - - for (;;) - loop(); - - return 0; -} - - - -#elif defined(MICRODUINO) -// ============================================================================= Microduino specific - -#include "Arduino.h" - -int main(void) -{ - init(); - -#if defined(USBCON) - USBDevice.attach(); -#endif - - setup(); - - for (;;) { - loop(); - if (serialEventRun) serialEventRun(); - } - - return 0; -} - - -#elif defined(ENERGIA) -// ============================================================================= LaunchPad MSP430, Stellaris and Tiva, Experimeter Board FR5739 specific - -#if defined(__LM4F120H5QR__) || defined(__TM4C1230C3PM__) || defined(__TM4C129XNCZAD__) -// ----------------------------------------------------------------------------- LaunchPad Stellaris and Tiva specific -#include <Energia.h> - -#if defined(PART_TM4C129XNCZAD) -#include "inc/tm4c129xnczad.h" -#elif defined(PART_TM4C1294NCPDT) -#include "inc/tm4c1294ncpdt.h" -#elif defined(PART_TM4C1233H6PM) || defined(PART_LM4F120H5QR) -#include "inc/tm4c123gh6pm.h" -#else -#error "**** No PART defined or unsupported PART ****" -#endif - -#include "inc/hw_gpio.h" -#include "driverlib/rom.h" -#include "driverlib/sysctl.h" -#include "driverlib/eeprom.h" - -int main(void) -{ - - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_EEPROM0); - if(ROM_EEPROMInit() == EEPROM_INIT_ERROR) { - if(ROM_EEPROMInit() != EEPROM_INIT_ERROR) - EEPROMMassErase(); - } - - timerInit(); - - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOC); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOG); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOH); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOJ); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOK); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOL); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOM); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPION); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOP); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOQ); -#ifdef TARGET_IS_SNOWFLAKE_RA0 - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOR); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOS); - ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOT); -#endif - - //Unlock and commit NMI pins PD7 and PF0 - HWREG(GPIO_PORTF_BASE + GPIO_O_LOCK) = 0x4C4F434B; - HWREG(GPIO_PORTF_BASE + GPIO_O_CR) |= 0x1; - HWREG(GPIO_PORTD_BASE + GPIO_O_LOCK) = 0x4C4F434B; - HWREG(GPIO_PORTD_BASE + GPIO_O_CR) |= 0x80; - - setup(); - - for (;;) { - loop(); - if (serialEventRun) serialEventRun(); - } - -} - -#else -// ----------------------------------------------------------------------------- LaunchPad MSP430 and Experimeter Board FR5739 specific - -#include <Energia.h> - -int main(void) -{ - init(); - - setup(); - - for (;;) { - loop(); - if (serialEventRun) serialEventRun(); - } - - return 0; -} - -#endif // Energia - - -#elif defined(MAPLE_IDE) -// ============================================================================= Maple specific - -// ***************************************************************************** -// The MIT License -// -// Copyright (c) 2010 LeafLabs LLC. -// -// Permission is hereby granted, free of charge, to any person -// obtaining a copy of this software and associated documentation -// files (the "Software"), to deal in the Software without -// restriction, including without limitation the rights to use, copy, -// modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -// BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -// **************************************************************************** - -__attribute__(( constructor )) void premain() { - init(); -} - -int main(void) { - setup(); - - for (;;) - loop(); - - return 0; -} - - -#elif defined(TEENSYDUINO) || defined(CORE_TEENSY) -// ============================================================================= Teensy specific - -#if defined(__MK20DX128__) || defined(__MK20DX256__) -// ----------------------------------------------------------------------------- Teensy 3 specific - -#include "WProgram.h" - -extern "C" int main(void) -{ - // Arduino's main() function just calls setup() and loop().... - setup(); - while (1) { - loop(); - yield(); - } -} - -#else -// ----------------------------------------------------------------------------- Teensy 2 specific - -#include "WProgram.h" - -//int main(void) __attribute__((noreturn)); -int main(void) -{ - _init_Teensyduino_internal_(); - - setup(); - - for (;;) - loop(); -} - - -#endif // Teensy - - -#elif defined(WIRING) -// ============================================================================= Wiring specific - -// Replace #include "WProgram.h" by #include "Wiring.h" -// Comment boardInit(); - -#include "Wiring.h" - -int main(void) -{ - // Hardware specific initializations. - // boardInit(); - init(); - - // User defined setup routine - setup(); - // User defined loop routine - for(;;) - loop(); -} - - -#elif defined(ARDUINO) -// ============================================================================= Arduino specific - -#if (ARDUINO < 100) -// ----------------------------------------------------------------------------- Arduino 0023 specific - -#include "WProgram.h" - -int main(void) -{ - init(); - - setup(); - - for (;;) - loop(); - - return 0; -} - - -#elif (ARDUINO < 150) -// ----------------------------------------------------------------------------- Arduino 1.0x specific - -#include "Arduino.h" - -int main(void) -{ - init(); - -#if defined(USBCON) - USBDevice.attach(); -#endif - - setup(); - - for (;;) { - loop(); - if (serialEventRun) serialEventRun(); - } - - return 0; -} - - -#else -// ----------------------------------------------------------------------------- Arduino 1.5x specific - -#if defined(__SAM3X8E__) -// ............................................................................. Arduino 1.5x SAM architecture specific - -/* - Copyright (c) 2011 Arduino. All rights reserved. - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - See the GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#define ARDUINO_MAIN -#include "Arduino.h" - -/* - * Cortex-M3 Systick IT handler - */ -/* - extern void SysTick_Handler( void ) - { - // Increment tick count each ms - TimeTick_Increment() ; - } - */ - -/* - * \brief Main entry point of Arduino application - */ -int main( void ) -{ - init(); - - delay(1); - -#if defined(USBCON) - USBDevice.attach(); -#endif - - setup(); - - for (;;) - { - loop(); - if (serialEventRun) serialEventRun(); - } - - return 0; -} - -#else -// ............................................................................. Arduino 1.5x AVR architecture specific - -#include "Arduino.h" - -int main(void) -{ - init(); - -#if defined(USBCON) - USBDevice.attach(); -#endif - - setup(); - - for (;;) { - loop(); - if (serialEventRun) serialEventRun(); - } - - return 0; -} - - -#endif // architecture -#endif // Arduino - -#else // error -#error Platform not defined -#endif // end IDE - -#endif // end embedXcode - diff --git a/examples/RGBCalibrate/RGBCalibrate.ino b/examples/RGBCalibrate/RGBCalibrate.ino index 4adf7fbe..897002bf 100644 --- a/examples/RGBCalibrate/RGBCalibrate.ino +++ b/examples/RGBCalibrate/RGBCalibrate.ino @@ -42,8 +42,8 @@ void setup() { // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS); - FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS); - FastLED.setBrightness(CRGB(255,255,255)); + // FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS); + // FastLED.setBrightness(CRGB(255,255,255)); // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS); @@ -51,7 +51,7 @@ void setup() { // FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS); - // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS); + FastLED.addLeds<LPD8806, 9, 10, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); @@ -65,6 +65,9 @@ void loop() { leds[3] = CRGB(0,0,255); leds[4] = CRGB(0,0,255); leds[5] = CRGB(0,0,255); + leds[random8()%NUM_LEDS] = CRGB(0,0,0); + // leds[10] = CRGB(0,0,0); FastLED.show(); // delay(1000); + FastLED.showColor(CRGB::Black); } |