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

Thread: Teensyduino 1.30 Beta #1 Available

  1. #1
    Administrator Paul's Avatar
    Join Date
    Oct 2012
    Posts
    294

    Teensyduino 1.30 Beta #1 Available

    Here is a first beta test for Teensyduino 1.30.


    Edit: old beta test linkes removed. Full non-beta release is here:
    http://www.pjrc.com/teensy/td_download.html



    Changes since Teensyduino 1.29:

    • Support for Arduino 1.6.10
    • Improve USB audio - optional Mac workaround
    • Libraries updated: Audio, OctoWS2811
    • Updates for K66 beta test

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    3,534
    I tried installing on Windows 10, onto Arduino 1.6.10 (installed zip file to c:\Arduino-1.6.10. This was after a fresh power up for the day and I have not run Arduino yet. The only things running Outlook, Firefox, Github for Windows, SublimeText.

    I did not run as Administrator. It properly allowed me to select the Arduino folder, the install started, so I went to looking through forums. Went back to the install app, to assume I would have click to finish... But instead had:

    Click image for larger version. 

Name:	TD1.30beta1-error.jpg 
Views:	196 
Size:	49.5 KB 
ID:	7756

    Cancelled out of TD, and tried to run as Administrator. Now it does not think my Arduino folder is a valid place to install...

    Will now kill that directory and install Arduino again. Luckily still have zip file.

    UPDATE: I installed frsh copy of 1.6.10 and ran Teensyduino again and it worked fine. I think there was something screwy with my Arduino 1.6.10. Maybe some of the playing around yesterday with it. So now up and running!

    Kurt
    Last edited by KurtE; 07-28-2016 at 12:56 PM.

  3. #3
    Junior Member
    Join Date
    Feb 2015
    Posts
    9
    Tried to Install on OSX 10.10.5.

    Using Arduino Verison 1.6.10.

    Teensyduino installed does not recognise the Arduino folder as a valid location for the Install.

    (My App in in the Applications Folder with the name Arduino 1.6.10)

    Any one else had the same issue?

  4. #4
    Junior Member
    Join Date
    Feb 2015
    Posts
    9
    Infact.... please disregard that previous post.

    I re-downloaded the Arduino File and it now installs fine.

  5. #5
    Senior Member
    Join Date
    Nov 2012
    Posts
    926
    Other than replace the boards.txt for k66, no problems so far - testing 16-channel vocoder with MIDI input.

    Pete

  6. #6
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,441
    I installed 1.30b1 over my 1.6.9 no problem, updated Boards.txt for K66 - and compiled a couple sketches and even uploaded one no problem.

    KurtE - that error was probably from an orphaned JAVA thread holding the JAR open.

  7. #7
    Senior Member Koromix's Avatar
    Join Date
    Dec 2013
    Location
    Lille, France
    Posts
    196
    I can't build Blink for my Teensy LC, with Teensyduino 1.30b1 + Arduino 1.6.10 on Linux:

    Code:
    /home/niels/bureau/arduino-1.6.10/arduino-builder -dump-prefs -logger=machine -hardware "/home/niels/bureau/arduino-1.6.10/hardware" -hardware "/home/niels/.arduino15/packages" -hardware "/home/niels/Arduino/hardware" -tools "/home/niels/bureau/arduino-1.6.10/tools-builder" -tools "/home/niels/bureau/arduino-1.6.10/hardware/tools/avr" -tools "/home/niels/.arduino15/packages" -built-in-libraries "/home/niels/bureau/arduino-1.6.10/libraries" -libraries "/home/niels/Arduino/libraries" -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,keys=en-us -ide-version=10610 -build-path "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp" -warnings=none -verbose "/home/niels/bureau/arduino-1.6.10/examples/01.Basics/Blink/Blink.ino"
    /home/niels/bureau/arduino-1.6.10/arduino-builder -compile -logger=machine -hardware "/home/niels/bureau/arduino-1.6.10/hardware" -hardware "/home/niels/.arduino15/packages" -hardware "/home/niels/Arduino/hardware" -tools "/home/niels/bureau/arduino-1.6.10/tools-builder" -tools "/home/niels/bureau/arduino-1.6.10/hardware/tools/avr" -tools "/home/niels/.arduino15/packages" -built-in-libraries "/home/niels/bureau/arduino-1.6.10/libraries" -libraries "/home/niels/Arduino/libraries" -fqbn=teensy:avr:teensyLC:usb=serial,speed=48,keys=en-us -ide-version=10610 -build-path "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp" -warnings=none -verbose "/home/niels/bureau/arduino-1.6.10/examples/01.Basics/Blink/Blink.ino"
    Using board 'teensyLC' from platform in folder: /home/niels/bureau/arduino-1.6.10/hardware/teensy/avr
    Using core 'teensy3' from platform in folder: /home/niels/bureau/arduino-1.6.10/hardware/teensy/avr
    Les options de compilation ont été modifiées, tout sera recompilé
    Detecting libraries used...
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/sketch/Blink.ino.cpp" -o "/dev/null"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/sketch/Blink.ino.cpp" -o "/dev/null"
    Generating function prototypes...
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w  -g -Wall -ffunction-sections -fdata-sections -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/sketch/Blink.ino.cpp" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/preproc/ctags_target_for_gcc_minus_e.cpp"
    "/home/niels/bureau/arduino-1.6.10/tools-builder/ctags/5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/preproc/ctags_target_for_gcc_minus_e.cpp"
    Compilation du croquis...
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/sketch/Blink.ino.cpp" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/sketch/Blink.ino.cpp.o"
    Compiling libraries...
    Compiling core...
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -x assembler-with-cpp -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/memcpy-armv7m.S" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/memcpy-armv7m.S.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -x assembler-with-cpp -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/memset.S" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/memset.S.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/analog.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/analog.c.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/eeprom.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/eeprom.c.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/keylayouts.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/keylayouts.c.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/math_helper.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/math_helper.c.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/mk20dx128.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/mk20dx128.c.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/nonstd.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/nonstd.c.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/pins_teensy.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/pins_teensy.c.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/ser_print.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/ser_print.c.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/serial1.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/serial1.c.o"
    "/home/niels/bureau/arduino-1.6.10/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -Os -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD  -mthumb -mcpu=cortex-m0plus -fsingle-precision-constant -D__MKL26Z64__ -DTEENSYDUINO=130 -DARDUINO=10610 -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-I/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3" "/home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/serial2.c" -o "/tmp/buildd0ce9be928bee4f7aedf84dfd39dc37b.tmp/core/serial2.c.o"
    /home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/serial2.c: In function 'serial2_end':
    /home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/serial2.c:187:10: error: 'rx_pin_num' undeclared (first use in this function)
      switch (rx_pin_num) {
              ^
    /home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/serial2.c:187:10: note: each undeclared identifier is reported only once for each function it appears in
    /home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/serial2.c:193:10: error: 'tx_pin_num' undeclared (first use in this function)
      switch (tx_pin_num & 127) {
              ^
    /home/niels/bureau/arduino-1.6.10/hardware/teensy/avr/cores/teensy3/serial2.c:196:12: error: 'CORE_PIN31_CONFIG' undeclared (first use in this function)
       case 31: CORE_PIN31_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1); break; // PTE0
    It works for the Teensy 3.1 though, and everything was fine with Arduino 1.6.9 + Teensyduino 1.29.

  8. #8
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    3,534
    Sorry I will take care of that one...

    Pull request in for Serial2... (Part of changes to change names 3.4/3.5 to 3.5/3.5)

    If you wish to fix now: go into Serial2.c and change the Serial2_end function
    To add #if plus #elif... #end code, to look like:
    Code:
    #if defined(KINETISK)
    	switch (rx_pin_num) {
    		case 9: CORE_PIN9_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1); break; // PTC3
    		#if !(defined(__MK64FX512__) || defined(__MK66FX1M0__))  // not on T3.5 or T3.6
    		case 26: CORE_PIN26_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1); break; // PTE1
    		#endif
    	}
    	switch (tx_pin_num & 127) {
    		case 10: CORE_PIN10_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1); break; // PTC4
    		#if !(defined(__MK64FX512__) || defined(__MK66FX1M0__))  // not on T3.5 or T3.6
    		case 31: CORE_PIN31_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1); break; // PTE0
    		#endif
    	}
    #elif defined(KINETISL)
    	CORE_PIN9_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1);  // PTC3
    	CORE_PIN10_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1); // PTC4
    #endif
    In particular there are no alternate pins for Teensy LC
    Last edited by KurtE; 07-28-2016 at 09:24 PM.

  9. #9
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,441
    @KurtE / Koromix / Paul- putting p#8 changes in 1.30b1__Serial2.c allows T_LC to compile!

    Also GOOD - I see FrankB's Talkie fix for K66__A21 is in 1.30b1 - I didn't look at the 1.29 final.

  10. #10
    The beta is working for me with a Teensy 3.2 board. Good job!

    I noticed the GCC toolchain is still based on 4.8.4 / 2014q4. Is there a reason the the newest release, 5.4.1 / 2016q2 is not being used?

    Thanks,

    -- Mike

  11. #11
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    17,624
    The main reason behind the older tool chain is "ain't broke, don't fix".

    Several conflicts exist with the newer versions, mainly with the updated newlib versions. We almost certainly will update later this year or in early 2017, but not until after the K66 product is released.

Posting Permissions

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