embedXcode: Teensy 3.0 on Xcode

Status
Not open for further replies.
Please find a new release of embedXcode.

  • embedXcode • Sep 20, 2014 release 201 • Support for Xcode 6.0.1 on Mac OS X 10.9.5
  • embedXcode+ • Sep 20, 2014 release 201 • Support for Xcode 6.0.1 on Mac OS X 10.9.5

This new release combines release 177 of embedXcode+ with support for the Robotis OpenCM9.04 board and release 176 with a cleaner build process.

As embedXcode celebrates its first birthday, release 201 is the first release of the 2nd year!

Happy coding :)

Download
 
embedXcode now runs Mac OS X.10 Yosemite.

5673825_orig.png


Download
 
Hi:
I am having some problems with the build of external libraries that contain this requirement to be set:
#if defined(__arm__) && defined(TEENSYDUINO)
.
A large amount of libraries in the teensy portion of Arduino have this same requirement. Do I have to set these myself? I though that the Arduino environment already took care of this requirement.
Any suggestions?

Thanks,
Freddie
 
The problem is I don't find where the __arm__ variable is defined.

The log from Teensyduino doesn't mention it
Code:
/Applications/IDE/Teensyduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mcpu=cortex-m4 -DF_CPU=96000000 -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -mthumb -nostdlib -D__MK20DX256__ -DTEENSYDUINO=120 -DTIME_T=1415047915 -DUSB_HID -DLAYOUT_US_ENGLISH -I/Applications/IDE/Teensyduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 /Applications/IDE/Teensyduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/pins_teensy.c -o /var/folders/5d/dky9xc691m32kztqnhkn8bhw0000gn/T/build9158117611805645623.tmp/pins_teensy.c.o

None of the files, header and code, includes it.

Some libraries use TEENSYDUINO and other the previous TEENSY_CORE variable.

In the meantime, just set the main makefile and add those variables to TEENSY_USB

Code:
TEENSY_USB = USB_SERIAL __arm__ TEENSY_CORE
 
Hi again:
Thanks for the quick reply.
I tried setting the TEENSY_USB directive as you instructed above and here are the results:


Build target Build

ExternalBuildToolExecution Build
cd /Users/freddie/Desktop/Arduino_Sensors_Stuff/Wind_Speed-direction_Controller/Wind_Speed-direction_Controller
export ACTION=
export ALTERNATE_GROUP=staff
export ALTERNATE_MODE=u+w,go-w,a+rX
export ALTERNATE_OWNER=freddie
export ALWAYS_SEARCH_USER_PATHS=YES
export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
export APPLE_INTERNAL_DIR=/AppleInternal
export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
export APPLICATION_EXTENSION_API_ONLY=NO
export APPLY_RULES_IN_COPY_FILES=NO
export ARCHS=x86_64
export AVAILABLE_PLATFORMS="iphonesimulator macosx iphoneos"
export BOARD_PORT="/dev/tty.usbmodem*"
export BOARD_TAG=teensy31
export BUILD_COMPONENTS="headers build"
export BUILD_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Products
export BUILD_ROOT=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Products
export BUILD_STYLE=
export BUILD_VARIANTS=normal
export BUILT_PRODUCTS_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Products/Debug
export CACHE_ROOT=/var/folders/rb/y3bt7gq151x05xlwpzpzc0hm0000gt/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode
export CLANG_CXX_LANGUAGE_STANDARD=gnu++0x
export CLANG_CXX_LIBRARY=libc++
export CLANG_ENABLE_MODULES=YES
export CLANG_ENABLE_OBJC_ARC=YES
export CLANG_WARN_BOOL_CONVERSION=YES
export CLANG_WARN_CONSTANT_CONVERSION=YES
export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
export CLANG_WARN_EMPTY_BODY=YES
export CLANG_WARN_ENUM_CONVERSION=YES
export CLANG_WARN_INT_CONVERSION=YES
export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
export CLANG_WARN_UNREACHABLE_CODE=YES
export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
export CLASS_FILE_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build/JavaClasses
export CLONE_HEADERS=NO
export CODE_SIGNING_ALLOWED=NO
export COLOR_DIAGNOSTICS=NO
export CONFIGURATION=Debug
export CONFIGURATION_BUILD_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Products/Debug
export CONFIGURATION_TEMP_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug
export COPYING_PRESERVES_HFS_DATA=NO
export COPY_PHASE_STRIP=NO
export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
export DEAD_CODE_STRIPPING=NO
export DEBUGGING_SYMBOLS=YES
export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
export DEFAULT_KEXT_INSTALL_PATH=/Library/Extensions
export DEFINES_MODULE=NO
export DEPLOYMENT_LOCATION=NO
export DEPLOYMENT_POSTPROCESSING=NO
export DERIVED_FILES_DIR=
export DERIVED_FILE_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build/DerivedSources
export DERIVED_SOURCES_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build/DerivedSources
export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export DEVELOPMENT_LANGUAGE=English
export DO_HEADER_SCANNING_IN_JAM=NO
export DSTROOT=/tmp/Wind_Speed-direction_Controller.dst
export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export DWARF_DSYM_FILE_NAME=.dSYM
export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
export DWARF_DSYM_FOLDER_PATH=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Products/Debug
export EMBEDDED_PROFILE_NAME=embedded.provisionprofile
export ENABLE_HEADER_DEPENDENCIES=YES
export ENABLE_STRICT_OBJC_MSGSEND=YES
export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* (*) .DS_Store CVS .svn .git .hg"
export FILE_LIST=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build/Objects/LinkFileList
export FRAMEWORK_VERSION=A
export GCC3_VERSION=3.3
export GCC_C_LANGUAGE_STANDARD=gnu99
export GCC_DYNAMIC_NO_PIC=NO
export GCC_OPTIMIZATION_LEVEL=0
export GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1 __MK20DX256__ TEENSYDUINO"
export GCC_SYMBOLS_PRIVATE_EXTERN=NO
export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
export GCC_WARN_UNDECLARED_SELECTOR=YES
export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
export GCC_WARN_UNUSED_FUNCTION=YES
export GCC_WARN_UNUSED_VARIABLE=YES
export GENERATE_MASTER_OBJECT_FILE=NO
export GENERATE_PKGINFO_FILE=NO
export GID=20
export GROUP=staff
export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
export HEADERMAP_USES_VFS=NO
export HEADER_SEARCH_PATHS="/Applications/Teensyduino.app/Contents/Resources/Java/** /Applications/Arduino.app/Contents/Resources/Java/** /Applications/Arduino.app/Contents/Java/**"
export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
export INFOPLIST_OUTPUT_FORMAT=same-as-input
export INFOPLIST_PREPROCESS=NO
export INSTALL_DIR=/tmp/Wind_Speed-direction_Controller.dst
export INSTALL_GROUP=staff
export INSTALL_MODE_FLAG=u+w,go-w,a+rX
export INSTALL_OWNER=freddie
export INSTALL_ROOT=/tmp/Wind_Speed-direction_Controller.dst
export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
export JAVA_ARCHIVE_CLASSES=YES
export JAVA_ARCHIVE_TYPE=JAR
export JAVA_COMPILER=/usr/bin/javac
export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
export JAVA_JAR_FLAGS=cv
export JAVA_SOURCE_SUBDIR=.
export JAVA_USE_DEPENDENCIES=YES
export JAVA_ZIP_FLAGS=-urg
export KEEP_PRIVATE_EXTERNS=NO
export LD_DEPENDENCY_INFO_FILE=//Build_dependency_info.dat
export LD_GENERATE_MAP_FILE=NO
export LD_MAP_FILE_PATH=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build/Build-LinkMap--.txt
export LD_NO_PIE=NO
export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
export LIBRARY_FLAG_NOSPACE=YES
export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
export LINKER_DISPLAYS_MANGLED_NAMES=NO
export LINK_WITH_STANDARD_LIBRARIES=YES
export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
export LOCAL_APPS_DIR=/Applications
export LOCAL_DEVELOPER_DIR=/Library/Developer
export LOCAL_LIBRARY_DIR=/Library
export MACOSX_DEPLOYMENT_TARGET=10.10
export MAC_OS_X_PRODUCT_BUILD_VERSION=13F34
export MAC_OS_X_VERSION_ACTUAL=1095
export MAC_OS_X_VERSION_MAJOR=1090
export MAC_OS_X_VERSION_MINOR=0905
export MODULE_CACHE_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/ModuleCache
export MTL_ENABLE_DEBUG_INFO=YES
export OBJECT_FILE_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build/Objects
export OBJROOT=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates
export ONLY_ACTIVE_ARCH=YES
export OPTIMIZATION_LEVEL=0
export OS=MACOS
export PATH="/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:sbin:/Users/freddie/Desktop/Arduino_Sensors_Stuff/Wind_Speed-direction_Controller"
export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
export PLATFORM_NAME=macosx
export PLIST_FILE_OUTPUT_FORMAT=same-as-input
export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
export PRECOMP_DESTINATION_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build/PrefixHeaders
export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
export PRODUCT_MODULE_NAME=Build
export PRODUCT_NAME=Build
export PROFILING_CODE=NO
export PROJECT=Wind_Speed-direction_Controller
export PROJECT_DERIVED_FILE_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/DerivedSources
export PROJECT_DIR=/Users/freddie/Desktop/Arduino_Sensors_Stuff/Wind_Speed-direction_Controller
export PROJECT_FILE_PATH=/Users/freddie/Desktop/Arduino_Sensors_Stuff/Wind_Speed-direction_Controller/Wind_Speed-direction_Controller.xcodeproj
export PROJECT_NAME=Wind_Speed-direction_Controller
export PROJECT_TEMP_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build
export PROJECT_TEMP_ROOT=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates
export REMOVE_CVS_FROM_RESOURCES=YES
export REMOVE_GIT_FROM_RESOURCES=YES
export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
export REMOVE_HG_FROM_RESOURCES=YES
export REMOVE_SVN_FROM_RESOURCES=YES
export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
export SDKROOT=
export SEPARATE_STRIP=NO
export SEPARATE_SYMBOL_EDIT=NO
export SHARED_DERIVED_FILE_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Products/Debug/DerivedSources
export SHARED_PRECOMPS_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/PrecompiledHeaders
export SKETCH_EXTENSION=ino
export SKIP_INSTALL=YES
export SOURCE_ROOT=/Users/freddie/Desktop/Arduino_Sensors_Stuff/Wind_Speed-direction_Controller
export SRCROOT=/Users/freddie/Desktop/Arduino_Sensors_Stuff/Wind_Speed-direction_Controller
export STRINGS_FILE_OUTPUT_ENCODING=UTF-16
export STRIP_INSTALLED_PRODUCT=YES
export STRIP_STYLE=all
export SUPPORTED_PLATFORMS=macosx
export SYMROOT=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Products
export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
export SYSTEM_APPS_DIR=/Applications
export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
export SYSTEM_DEMOS_DIR=/Applications/Extras
export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
export SYSTEM_LIBRARY_DIR=/System/Library
export TARGETNAME=Build
export TARGET_BUILD_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Products/Debug
export TARGET_NAME=Build
export TARGET_TEMP_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build
export TEMP_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build
export TEMP_FILES_DIR=
export TEMP_FILE_DIR=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates/Wind_Speed-direction_Controller.build/Debug/Build.build
export TEMP_ROOT=/Users/freddie/Library/Developer/Xcode/DerivedData/Wind_Speed-direction_Controller-eldbnokxsbfqqrdxmaigjdpijvst/Build/Intermediates
export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
export UID=506
export USER=freddie
export USER_APPS_DIR=/Users/freddie/Applications
export USER_LIBRARY_DIR=/Users/freddie/Library
export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_PRODUCT_BUILD_VERSION=6A1052d
export XCODE_VERSION_ACTUAL=0610
export XCODE_VERSION_MAJOR=0600
export XCODE_VERSION_MINOR=0610
export arch=x86_64
export variant=normal
/Applications/Xcode.app/Contents/Developer/usr/bin/make build


embedXcode
embedXcode+
----------------------------------
Embedded Computing on Xcode


© Rei VILO, 2010-2014
All rights reserved
http://embedXcode.weebly.com/


embedXcode • Oct 26, 2014 release 221 • Stability enhancements
embedXcode+ • Oct 26, 2014 release 222 • Stability enhancements



==== Info ====
---- Project ----
Target build
Name Wind_Speed-direction_Controller
Tag teensy31
Extension ino
User /Users/freddie
---- Platform ----
IDE Teensy
Version 1.0.6
Platform arm
---- Board ----
Name Teensy 3.1
Frequency 96000000
MCU cortex-m4
Flash memory 262144 bytes
SRAM memory 65536 bytes
---- Port ----
Uploader teensy_flash
Serial
---- Libraries ----
. Core libraries from /Applications/Arduino
Arduino AudioStream Client DMAChannel HardwareSerial IPAddress IntervalTimer Print Printable SPIFIFO Server Stream Udp WCharacter WConstants WProgram WString arm_common_tables arm_math avr_emulation avr_functions binary core_cm4 core_cm4_simd core_cmInstr core_id core_pins elapsedMillis keylayouts kinetis math_helper mk20dx128 new pins_arduino usb_desc usb_dev usb_flightsim usb_joystick usb_keyboard usb_mem usb_midi usb_mouse usb_names usb_rawhid usb_seremu usb_serial wiring wiring_private avr/eeprom avr/interrupt avr/io avr/pgmspace avr/sleep avr/wdt util/atomic util/crc16 util/delay util/parity
. Application libraries from /Applications/Arduino
0
. User libraries from /Users/freddie/Documents/Arduino sketchbook
0
. Local libraries from /Users/freddie/Desktop/Arduino_Sensors_Stuff/Wind_Speed-direction_Controller/Wind_Speed-direction_Controller
AverageList PString Wind Wind_Speed_direction_Controller Wind_Speed_direction_ControllerConstants Wind_Speed_direction_ControllerModel

==== Info done ====
==== Build ====
---- Clean ----
---- Compile ----
1.2-CORE: .cpp.o < .cpp teensy31 Builds/ AudioStream.cpp
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL __arm__ TEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415047335 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/AudioStream.cpp -o Builds/AudioStream.cpp.o
arm-none-eabi-g++: error: __arm__: No such file or directory
arm-none-eabi-g++: error: TEENSY_CORE: No such file or directory
make: *** [Builds/AudioStream.cpp.o]

Any other ideas?
Thanks,
Freddie
 
Great!

The TEENSY_USB variable is taken into account.

Just add this
Code:
TEENSY_USB = USB_SERIAL -D__arm__ -DTEENSY_CORE

I was already using the next release... sorry.
 
Hi again:
I tried the directive from above and this is the results:

embedXcode


embedXcode+


----------------------------------


Embedded Computing on Xcode








© Rei VILO, 2010-2014


All rights reserved


http://embedXcode.weebly.com/








embedXcode • Oct 26, 2014 release 221 • Stability enhancements


embedXcode+ • Oct 26, 2014 release 222 • Stability enhancements








==== Info ====


---- Project ----


Target build


Name Wind_Speed-direction_Controller


Tag teensy31


Extension ino


User /Users/freddie


---- Platform ----


IDE Teensy


Version 1.0.6


Platform arm


---- Board ----


Name Teensy 3.1


Frequency 96000000


MCU cortex-m4


Flash memory 262144 bytes


SRAM memory 65536 bytes


---- Port ----


Uploader teensy_flash


Serial


---- Libraries ----


. Core libraries from /Applications/Arduino


Arduino AudioStream Client DMAChannel HardwareSerial IPAddress IntervalTimer Print Printable SPIFIFO Server Stream Udp WCharacter WConstants WProgram WString arm_common_tables arm_math avr_emulation avr_functions binary core_cm4 core_cm4_simd core_cmInstr core_id core_pins elapsedMillis keylayouts kinetis math_helper mk20dx128 new pins_arduino usb_desc usb_dev usb_flightsim usb_joystick usb_keyboard usb_mem usb_midi usb_mouse usb_names usb_rawhid usb_seremu usb_serial wiring wiring_private avr/eeprom avr/interrupt avr/io avr/pgmspace avr/sleep avr/wdt util/atomic util/crc16 util/delay util/parity


. Application libraries from /Applications/Arduino


FlexiTimer2


. User libraries from /Users/freddie/Documents/Arduino sketchbook


0


. Local libraries from /Users/freddie/Desktop/Arduino_Sensors_Stuff/Wind_Speed-direction_Controller/Wind_Speed-direction_Controller


AverageList PString Wind Wind_Speed_direction_Controller Wind_Speed_direction_ControllerConstants Wind_Speed_direction_ControllerModel





==== Info done ====


==== Build ====


---- Clean ----


---- Compile ----


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ AudioStream.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049453 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/AudioStream.cpp -o Builds/AudioStream.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ DMAChannel.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049454 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/DMAChannel.cpp -o Builds/DMAChannel.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ HardwareSerial1.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049454 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/HardwareSerial1.cpp -o Builds/HardwareSerial1.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ HardwareSerial2.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049454 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/HardwareSerial2.cpp -o Builds/HardwareSerial2.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ HardwareSerial3.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049454 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/HardwareSerial3.cpp -o Builds/HardwareSerial3.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ IPAddress.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049454 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/IPAddress.cpp -o Builds/IPAddress.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ IntervalTimer.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049454 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/IntervalTimer.cpp -o Builds/IntervalTimer.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ Print.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049455 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/Print.cpp -o Builds/Print.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ Stream.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049455 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/Stream.cpp -o Builds/Stream.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ Tone.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049455 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/Tone.cpp -o Builds/Tone.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ WMath.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049455 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/WMath.cpp -o Builds/WMath.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ WString.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049455 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/WString.cpp -o Builds/WString.cpp.o


1.1-CORE: .c.o < .c teensy31 Builds/ analog.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049456 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/analog.c -o Builds/analog.c.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ avr_emulation.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049456 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/avr_emulation.cpp -o Builds/avr_emulation.cpp.o


1.1-CORE: .c.o < .c teensy31 Builds/ eeprom.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049456 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/eeprom.c -o Builds/eeprom.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ keylayouts.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049456 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/keylayouts.c -o Builds/keylayouts.c.o


2.2-APP: .cpp.o < .cpp teensy31 Builds/libs/FlexiTimer2/ FlexiTimer2.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049456 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2/FlexiTimer2.cpp -o Builds/libs/FlexiTimer2/FlexiTimer2.cpp.o


1.1-CORE: .c.o < .c teensy31 Builds/ math_helper.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049456 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/math_helper.c -o Builds/math_helper.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ mk20dx128.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049457 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/mk20dx128.c -o Builds/mk20dx128.c.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ new.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049457 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/new.cpp -o Builds/new.cpp.o


1.1-CORE: .c.o < .c teensy31 Builds/ nonstd.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049457 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/nonstd.c -o Builds/nonstd.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ pins_teensy.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049457 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/pins_teensy.c -o Builds/pins_teensy.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ serial1.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049457 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/serial1.c -o Builds/serial1.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ serial2.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049457 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/serial2.c -o Builds/serial2.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ serial3.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049457 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/serial3.c -o Builds/serial3.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ touch.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/touch.c -o Builds/touch.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_desc.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_desc.c -o Builds/usb_desc.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_dev.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_dev.c -o Builds/usb_dev.c.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ usb_flightsim.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_flightsim.cpp -o Builds/usb_flightsim.cpp.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ usb_inst.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_inst.cpp -o Builds/usb_inst.cpp.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_joystick.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_joystick.c -o Builds/usb_joystick.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_keyboard.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_keyboard.c -o Builds/usb_keyboard.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_mem.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_mem.c -o Builds/usb_mem.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_midi.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_midi.c -o Builds/usb_midi.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_mouse.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049458 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_mouse.c -o Builds/usb_mouse.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_rawhid.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049459 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_rawhid.c -o Builds/usb_rawhid.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_seremu.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049459 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_seremu.c -o Builds/usb_seremu.c.o


1.1-CORE: .c.o < .c teensy31 Builds/ usb_serial.c


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049459 /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/usb_serial.c -o Builds/usb_serial.c.o


1.2-CORE: .cpp.o < .cpp teensy31 Builds/ yield.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049459 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/yield.cpp -o Builds/yield.cpp.o


4.3-LOCAL: .cpp.o < .cpp teensy31 Builds/ PString.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049459 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x PString.cpp -o Builds/PString.cpp.o


4.3-LOCAL: .cpp.o < .cpp teensy31 Builds/ Wind.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049459 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x Wind.cpp -o Builds/Wind.cpp.o


4.3-LOCAL: .cpp.o < .cpp teensy31 Builds/ main.cpp


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049459 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x main.cpp -o Builds/main.cpp.o


---- Link ----


7.10-LINK: ..elf < . teensy31 Builds/ .


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -mcpu=cortex-m4 -Wl,--gc-sections -Os -mthumb -T/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/mk20dx256.ld -o Builds/embeddedcomputing.elf /Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2/FlexiTimer2.cpp Builds/AudioStream.cpp.o Builds/DMAChannel.cpp.o Builds/HardwareSerial1.cpp.o Builds/HardwareSerial2.cpp.o Builds/HardwareSerial3.cpp.o Builds/IPAddress.cpp.o Builds/IntervalTimer.cpp.o Builds/Print.cpp.o Builds/Stream.cpp.o Builds/Tone.cpp.o Builds/WMath.cpp.o Builds/WString.cpp.o Builds/analog.c.o Builds/avr_emulation.cpp.o Builds/eeprom.c.o Builds/keylayouts.c.o Builds/libs/FlexiTimer2/FlexiTimer2.cpp.o Builds/math_helper.c.o Builds/mk20dx128.c.o Builds/new.cpp.o Builds/nonstd.c.o Builds/pins_teensy.c.o Builds/serial1.c.o Builds/serial2.c.o Builds/serial3.c.o Builds/touch.c.o Builds/usb_desc.c.o Builds/usb_dev.c.o Builds/usb_flightsim.cpp.o Builds/usb_inst.cpp.o Builds/usb_joystick.c.o Builds/usb_keyboard.c.o Builds/usb_mem.c.o Builds/usb_midi.c.o Builds/usb_mouse.c.o Builds/usb_rawhid.c.o Builds/usb_seremu.c.o Builds/usb_serial.c.o Builds/yield.cpp.o Builds/PString.cpp.o Builds/Wind.cpp.o Builds/main.cpp.o -LBuilds -larm_cortexM4l_math -lm


In file included from /Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2/FlexiTimer2.cpp:29:0:


/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2/FlexiTimer2.h:9:2: #error FlexiTimer2 library only works on AVR architecture

/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2/FlexiTimer2.cpp:155:2: #error Unsupported CPU type

/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2/FlexiTimer2.cpp: In function 'void FlexiTimer2::set(long unsigned int, double, void (*)())':


/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2/FlexiTimer2.cpp:158:29: 'F_CPU' was not declared in this scope

make: *** [Builds/embeddedcomputing.elf] Error 1

It seems that the __arm__ variable is still not reaching this library.

Thanks,
Freddie
 
You're providing FlexiTimer2 with __arm__...

/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -mcpu=cortex-m4 -DF_CPU=96000000 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2 -g -Os -w -ffunction-sections -fdata-sections -DARDUINO=105 -DTEENSYDUINO=118 -DEMBEDXCODE=222 -D__MK20DX256__ -nostdlib -mthumb -MMD -I/Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3 -DUSB_VID=null -DUSB_PID=null -DUSB_SERIAL -D__arm__ -DTEENSY_CORE -DLAYOUT_US_ENGLISH -DTIME_T=1415049453 -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x /Applications/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/AudioStream.cpp -o Builds/AudioStream.cpp.o

...when this library requires __AVR__

Code:
#error FlexiTimer2 library only works on AVR architecture

May I suggest you to edit your over-lengthy posts and use the Help Desk instead where you can easily attach files?
 
Hi:
I will not post so much extra stuff to this forum.

Here is the first part of the the FlexiTimer2.cpp file:

#include "FlexiTimer2.h"

unsigned long FlexiTimer2::time_units;
void (*FlexiTimer2::func)();
volatile unsigned long FlexiTimer2::count;
volatile char FlexiTimer2::eek:verflowing;
volatile unsigned int FlexiTimer2::tcnt2;
#if defined(__arm__) && defined(TEENSYDUINO)

static IntervalTimer itimer;
#endif

As you can see this file has been fixed to recognize the teensy stuff.
Here is further down the file:

void FlexiTimer2::set(unsigned long units, double resolution, void (*f)()) {
float prescaler = 0.0;

if (units == 0)
time_units = 1;
else
time_units = units;

func = f;
..........
#elif defined(__arm__) && defined(TEENSYDUINO)
// TODO: should this emulate the limitations and numerical
// range bugs from the versions above?
tcnt2 = resolution * 1000000.0;
return;
#else
#error Unsupported CPU type
#endif

This is were the error is coming from, but if this
#elif defined(__arm__) && defined(TEENSYDUINO)
statement was satisfied then it would not give the error.
Are you perhaps looking at and older version of FlexiTimer2.cpp?
This is from Arduino 1.06 and Teensy 1.20.

Thanks,
Freddie
 
Here is my version of the header file:

#ifndef FlexiTimer2_h
#define FlexiTimer2_h

#ifdef __AVR__
#include <avr/interrupt.h>
#elif defined(__arm__) && defined(TEENSYDUINO)
#include <Arduino.h>
#else
#error FlexiTimer2 library only works on AVR architecture
#endif

As you can see the newer version in Arduino 1.06 has the patched header file just like the .cpp file.

Thanks,
Freddie
 
Well, it seems the Teensyduino package doesn't include this version.

Search for another FlexiTimer2.h on your HDD.
 
No, the TeensyDuino package is not where it lives. Its in the libraries for Arduino located at:
/Application/Arduino/Contents/Resources/Java/libraries

This is the only FlexiTimer2.h that Xcode sees. Look above at post number 84, it clearly states:

/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2/FlexiTimer2.h:9:2: #error FlexiTimer2 library only works on AVR architecture

/Applications/Arduino.app/Contents/Resources/Java/libraries/FlexiTimer2/FlexiTimer2.cpp:155:2: #error Unsupported CPU type

Thanks,
Freddie
 
Please open a Terminal window and launch

Code:
sudo find / -name FlexiTimer2.*

to make sure you have only one instance of the library.

Also, please check whether the standard Teensyduino IDE succeeds.

Thank you.
 
Hi again:
I searched the HD and found a few old versions of this library laying around, which I deleted.
I did a Clean, and then Build and still came up with the same error.
I also ran a standard Blink sketch in the Arduino IDE for the Teensy and it build just fine with no errors.

I also did a Project search with Xcode and found 59 different files in the Arduino libraries that all use the same construct "#elif defined(__arm__) && defined(TEENSYDUINO)".
Some use (TEENSYDUINO) and others use (CORE_TEENSY). Some have (CORE_TEENSY) first and (__arm__) last.
But they all use this same method to differentiate between using the AVR stuff or the Teensy Stuff.

How can I help to track down this problem?
Should I ask the same questions on the PRJC forums?

Thanks,
Freddie
 
Please open a ticket at the Help Desk so I can send you a new release that works, ready for you to test.

In a nutshell: Teensyduino 1.20 uses arm-none-eabi-gcc 4.7.2 when prior releases used 4.7.1.
 
FlexiTimer2 is one of many libraries I ported to Teensy3 several months ago. The one with "#error FlexiTimer2 library only works on AVR architecture" is the old version.

CORE_TEENSY is defined in core_id.h. It's the oldest symbol used to detect if compiling for Teensy vs Arduino or something else.

__arm__ is defined automatically by the compiler when compiling code for any ARM processor. Likewise, __AVR__ is automatically defined by the compiler. You won't find these defined in any headers, because they come from the compiler itself, depending on which architecture it's targeting.

Many of the older library ports check for CORE_TEENSY and __arm__ to detect if they're compiling for Teensy 3.x.

More recently, the TEENSYDUINO symbol was added. It's defined on the compiler command line, as -DTEENSYDUINO=120. Even though it more or less duplicates the function of CORE_TEENSY, this newer symbol was added for 2 reasons. #1: it provides a way to check which version of Teensyduino is being used, which is helpful if you want to compile differently or print a warning for older versions, and #2: it's always defined, even when compiling files that don't include the normal header files.

Most Arduino libraries include Arduino.h, but some take a very minimalistic approach without including the normal headers, which define CORE_TEENSY. The need to port such libraries, without disturbing the original author's header includes, was a huge reason for adding the TEENSYDUINO symbol, even though CORE_TEENSY already existed. Since then, most new porting has tended to use __arm__ and TEENSYDUINO, even when __arm__ and CORE_TEENSY would also work.

I know this probably doesn't help with these specific embedded Xcode issues, or figuring out where the outdated library is installed, but hopefully it'll at least help clear up some of the confusion around these different processor symbols?
 
Paul:
I do not have an outdated library anywhere on this computer.
The reason that I am getting these errors is because the "#elif defined(__arm__) && defined(TEENSYDUINO)" statement is always coming up false therefore the file spits out that error.
The files I am using specifically state that they have been patched in 2014 for Teensy 3.1:

/*
FlexiTimer2.h - Using timer2 with a configurable resolution
Wim Leers <work@wimleers.com>

Based on MsTimer2
Javier Valencia <javiervalencia80@gmail.com>

History:
6/Jun/2014 - Added Teensy 3.0 & 3.1 support
16/Dec/2011 - Added Teensy/Teensy++ support (bperrybap)
note: teensy uses timer4 instead of timer2
25/April/10 - Based on MsTimer2 V0.5 (from 29/May/09)

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
*/
The problem is clearly located somewhere in embeddedXcode, because Rei has found the problem and fixed it.
I assume that there will be a new version soon.

Thanks,
Freddie
 
Paul,

Thank you for the technical details that confirm what I've identified.

The trick was CORE_TEENSY.

Also, Teensyduino 1.20 uses arm-none-eabi-gcc 4.7.2 that fixes an issue with arm-none-eabi-ar.
 
Please find a new release of embedXcode.

  • embedXcode • Nov 06, 2014 release 230 • Many new boards
  • embedXcode+ • Nov 06, 2014 release 231 • Many new boards
Release 2.3 of embedXcode+ supports Teensyduino 1.20.

Download
 
Just went through the install and setup tutorial and was trying the default blink sketch that is made with the template:
Command /Applications/Xcode.app/Contents/Developer/usr/bin/make failed with exit code 2
 
I did read the user manual section on troubleshooting and there were no related entries.

The code is literally what happened when I opened the template for a teensy, first I got the error:
/Users/AxiomCrux/GitHub/TeensyXcodeTest2/TeensyXcodeTest2/Makefiles/Step2.mk:1262: *** missing `endif'. Stop.
so I added endif to the line with the error, then when I try compiling again I get the error:
make: *** No rule to make target `message_all', needed by `all'. Stop.
Command /Applications/Xcode.app/Contents/Developer/usr/bin/make failed with exit code 2


Mac OS X release — OS X 10.10.1
Mac model and year — MacBook Pro 17 inch mid-2011
IDE version — Arduino 1.0.6 / teensy 1.20
embedXcode edition — embedXcode free demo
embedXcode release — whatever one is the newest as of today
board and release — Teensy 3.1
 
Status
Not open for further replies.
Back
Top