-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to get Teensy3 (with Teensyduino) working with recent Arduino releases #14
Comments
Correct. It does not do the new schema correctly yet, but it will soon. |
Ah, thanks. Please let me know if there's anything I can do to help. |
I'm considering to scrape the data for 1.6.6+ using the arduino CLI build tool. The CLI tool is quite flexible. arduino builder is actually pretty quick. |
I'm finding that the builds are slower on 1.6.6 than 1.6.5 and that there's a significant amount of compiling of files that haven't changed. Not sure where the root of this problem is, but if make can be wiser about unnecessary rebuilds I'd vote for that. |
Eventually this will happen with a cache using the makefile system, and keyed to a hash of the command line passed to the OS. That way things like core components don't get rebuilt, and instead get copied or symlinked. |
This project looks awesome, but I'm stuck.
Using Arduino 1.6.5 or 1.6.6 is not working for me, I have to define many variables in my makefile and make some minor changes to the source. What's the latest supported version? Am I missing something basic here?
Thanks in advance.
My Makefile so far is, which seems unnecessary complex:
BOARD_TAG = teensy31
ARDUINO_PLATFORM_LIB_PATH = /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries
ARCHITECTURE = arm
ARDUINO_ARCH_FLAG = -DARDUINO_ARCH_AVR
MCU = cortex-m4
F_CPU = 72000000
USB_TYPE = USB_SERIAL_HID
LINKSCRIPT = mk20dx256.ld
CPPFLAGS = -mthumb -D__MK20DX256__ -DTEENSYDUINO=126
CXXFLAGS_STD += -std=gnu++0x
CXXFLAGS += -felide-constructors
CXXFLAGS += -fno-rtti
CXXFLAGS += -fsingle-precision-constant
CXXFLAGS += -M -MG -MP -w -x c++
LDFLAGS = -mthumb
LDFLAGS += -fsingle-precision-constant
LDFLAGS += -larm_cortexM4l_math
include ~/Documents/Arduino/Arduino-Makefile/Teensy.mk
The text was updated successfully, but these errors were encountered: