TerryFrench
Member
I just received the Teensy 3.1 (so far I love that stuff compared to the Uno I used before)
Win 8.1 x64
Arduino IDE: 1.6.0
latest Beta package for teensyduino (installed yesterday) likely 1.21-beta-6
no specific anti-virus package besides the standard stuff coming from Windows. (windows defender).
Building blink for instance works without problems. Same for the RTC samples.
But the PWMServo samples, knob and sweep fail to compile.
They get stuck in "comp[iling sketch". with the progress bar about 1/3 in. Verbose output below.
I can see the following happening:
arm-none-eabi-g++.exe is still running and so is cc1plus.exe
So compilation is "in progress" (and not making progress).
I'll attach the content of the temp folder created by the build process View attachment build4817677075450476343.tmp.zip. (knob was the sketch I tried, no modifications.) as a zip file. It shows the output file (knob.cpp.o) and the .d file (symbols) created (at least partially).
The buildprefs.txt file in the temp folder is
I tried the pwmservo library from the prjc.com site directly, without any difference.
I tried running the arduino IDE as an administrator (no difference).
I (of course) killed the compiler(s) processes, deleted the temp folders, restarted an arduino IDE... These sketches still fail, while other sketches have no problems compiling. So I'm out of ideas here and I would appreciate any help.
My project is mostly an animatronic project: make a plastic 'realistic' owl move (2 servos) somewhat randomely, make some owl noise (audio DAC library + a small amp circuit I'll build) particularly around sunset for an hour or two (so using the RTC library). A woodpecker scaring device basically (eventually with a small solar panel, charging circuit, temperature control for the batteries...)
Win 8.1 x64
Arduino IDE: 1.6.0
latest Beta package for teensyduino (installed yesterday) likely 1.21-beta-6
no specific anti-virus package besides the standard stuff coming from Windows. (windows defender).
Building blink for instance works without problems. Same for the RTC samples.
But the PWMServo samples, knob and sweep fail to compile.
They get stuck in "comp[iling sketch". with the progress bar about 1/3 in. Verbose output below.
Code:
Build options changed, rebuilding all
Using library PWMServo in folder: E:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\PWMServo (legacy)
E:\Program Files (x86)\Arduino/hardware/tools/arm/bin/arm-none-eabi-g++ -c -g -Os -Wall -ffunction-sections -fdata-sections -MMD -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -D__MK20DX256__ -DTEENSYDUINO=121 -DARDUINO=10600 -DF_CPU=24000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IE:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3 -IE:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\PWMServo C:\Users\Thierry\AppData\Local\Temp\build4817677075450476343.tmp\Knob.cpp -o C:\Users\Thierry\AppData\Local\Temp\build4817677075450476343.tmp\Knob.cpp.o
E:\Program Files (x86)\Arduino/hardware/tools/arm/bin/arm-none-eabi-g++ -c -g -Os -Wall -ffunction-sections -fdata-sections -MMD -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -D__MK20DX256__ -DTEENSYDUINO=121 -DARDUINO=10600 -DF_CPU=24000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IE:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3 -IE:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\PWMServo -IE:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\PWMServo\utility E:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\PWMServo\PWMServo.cpp -o C:\Users\Thierry\AppData\Local\Temp\build4817677075450476343.tmp\PWMServo\PWMServo.cpp.o
E:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\PWMServo\PWMServo.cpp: In static member function 'static void PWMServo::seizeTimer1()':
arm-none-eabi-g++.exe is still running and so is cc1plus.exe
So compilation is "in progress" (and not making progress).
I'll attach the content of the temp folder created by the build process View attachment build4817677075450476343.tmp.zip. (knob was the sketch I tried, no modifications.) as a zip file. It shows the output file (knob.cpp.o) and the .d file (symbols) created (at least partially).
The buildprefs.txt file in the temp folder is
Code:
build.arch = AVR
build.board = TEENSY31
build.command.ar = arm-none-eabi-ar
build.command.g++ = arm-none-eabi-g++
build.command.gcc = arm-none-eabi-gcc
build.command.objcopy = arm-none-eabi-objcopy
build.command.objdump = arm-none-eabi-objdump
build.command.size = arm-none-eabi-size
build.core = teensy3
build.core.path = E:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3
build.fcpu = 24000000
build.flags.S = -x assembler-with-cpp
build.flags.c =
build.flags.common = -g -Os -Wall -ffunction-sections -fdata-sections -MMD -nostdlib
build.flags.cpp = -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti
build.flags.cpu = -mthumb -mcpu=cortex-m4
build.flags.defs = -D__MK20DX256__ -DTEENSYDUINO=121
build.flags.ld = -Os -Wl,--gc-sections,--relax,--defsym=__rtc_localtime={extra.time.local} --specs=nano.specs "-T{build.core.path}/mk20dx256.ld"
build.flags.libs = -larm_cortexM4l_math -lm
build.keylayout = US_ENGLISH
build.mcu = mk20dx256
build.path = C:\Users\Thierry\AppData\Local\Temp\build4817677075450476343.tmp
build.project_name = Knob.cpp
build.system.path = E:\Program Files (x86)\Arduino\hardware\teensy\avr\system
build.toolchain = hardware/tools/arm/bin/
build.usbtype = USB_SERIAL
build.variant.path =
build.verbose = true
build.warn_data_percentage = 75
compiler.elf2hex.flags = -O ihex -R .eeprom
compiler.objcopy.eep.flags = -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0
compiler.path = {runtime.ide.path}/
I tried the pwmservo library from the prjc.com site directly, without any difference.
I tried running the arduino IDE as an administrator (no difference).
I (of course) killed the compiler(s) processes, deleted the temp folders, restarted an arduino IDE... These sketches still fail, while other sketches have no problems compiling. So I'm out of ideas here and I would appreciate any help.
My project is mostly an animatronic project: make a plastic 'realistic' owl move (2 servos) somewhat randomely, make some owl noise (audio DAC library + a small amp circuit I'll build) particularly around sunset for an hour or two (so using the RTC library). A woodpecker scaring device basically (eventually with a small solar panel, charging circuit, temperature control for the batteries...)