Problem with 1.6.4/1.23

GPSFan

New member
Hi Paul,

I've been using a Teensy 3.1 and audio board in an SDR application. Today I updated to 1.6.4/1.23 from 1.6.3/1.22, and my sketch would not compile. indeed the compiler hung with little or no output.

Attached is zip of the sketch and it's include files.
What follows is included in the .ino file of the attachment with what details I have.

++++++++++++++++++++++++

* This sketch is a distilation of a problem I just encountered after updating to Arduino 1.6.4 and Teensyduino 1.23
* This compiled fine under 1.6.3/1.22 and compiles fine for any of the Arduino platforms other than Teensy3.x/LC.
* If you comment out one of the groups below, say A, then it will compile for Teensy3.x/LC. If you replace one of the F.h includes
* with I.h, it will compile for Teensy3.x/LC.
* Otherwise, the compiler hangs with this being the only output (verbose messages are turned on):

/media/kenm/usr4/SDR/arduino-1.6.4/hardware/tools/arm/bin/arm-none-eabi-g++ -c -O -g -Wall -ffunction-sections -fdata-sections -MMD -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -D__MK20DX256__ -DTEENSYDUINO=123 -DARDUINO=10604 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_FRENCH_BELGIAN -I/media/kenm/usr4/SDR/arduino-1.6.4/hardware/teensy/avr/cores/teensy3 /tmp/build4679498584717670771.tmp/sketch_jun01a.cpp -o /tmp/build4679498584717670771.tmp/sketch_jun01a.cpp.o

* When the sketch compiles for Teensy3.x/LC (either in 1.6.3 or with the I.h or one Group commented out), I get lots of the following warnings (differing in the actual value):

sketch_jun01a.ino:25:1: warning: narrowing conversion of '-3.4484387887779022e-1' from 'double' to 'short int' inside { } [-Wnarrowing]

+++++++++++++++++++++


Any insight on the problem would be appreciated.

...ken...
 

Attachments

  • Sketch.zip
    2.2 KB · Views: 96
Back
Top