Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Blink example not building

  1. #1

    Blink example not building

    So I just got a Teensy and I'm trying to build the Blink example from within Arduino/Teensyduino on OSX. Alas:

    Code:
    Arduino: 1.6.8 (Mac OS X), TD: 1.28, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz optimized (overclock), German"
    
    /var/folders/cj/dy_z61t16nqflt34x6db6zhc0000gn/T/build3457bedf0a221102e9b90e3f5656a9ef.tmp/core/core.a(yield.cpp.o): In function `yield':
    /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/yield.cpp:46: undefined reference to `serialEvent3()'
    /var/folders/cj/dy_z61t16nqflt34x6db6zhc0000gn/T/build3457bedf0a221102e9b90e3f5656a9ef.tmp/core/core.a(usb_desc.c.o): In function `usb_init_serialnumber':
    /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/usb_desc.c:863: undefined reference to `ultoa'
    collect2: error: ld returned 1 exit status
    /var/folders/cj/dy_z61t16nqflt34x6db6zhc0000gn/T/build3457bedf0a221102e9b90e3f5656a9ef.tmp/core/core.a(yield.cpp.o): In function `yield':
    /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/yield.cpp:46: undefined reference to `serialEvent3()'
    /var/folders/cj/dy_z61t16nqflt34x6db6zhc0000gn/T/build3457bedf0a221102e9b90e3f5656a9ef.tmp/core/core.a(usb_desc.c.o): In function `usb_init_serialnumber':
    /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/usb_desc.c:863: undefined reference to `ultoa'
    collect2: error: ld returned 1 exit status
    Error compiling for board Teensy 3.2 / 3.1.
    Error compiling for board Teensy 3.2 / 3.1.
    Any ideas?

  2. #2
    Well, okay, I just compiled the Bare Minimum example successfully and now the Blink example works too. For whatever reason. But I'm good now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •