PDA

View Full Version : Teensyduino 1.34 Beta #2



Paul
12-23-2016, 11:16 AM
Here is a second beta test for Teensyduino 1.34.


Old beta download links removed. Please use the latest version:
https://www.pjrc.com/teensy/td_download.html



Changes since Teensyduino 1.34-beta1 (https://forum.pjrc.com/threads/40860-Teensyduino-1-34-Beta-1-(ARM-Toolchain-Update)):


Support for Arduino 1.8.0
Revert ARM Toolchain back to gcc 4.8


Changes since Teensyduino 1.33:


Update ARM Toolchain to gcc 5.4 (was gcc 4.8)
Add Tools > Optimize menu
Fix driver install/update on Windows 7 & 8
Prevent "might not have installed correctly" message on Windows

KurtE
12-23-2016, 01:34 PM
Installed on 1.8.0 Windows 64 bit and so far they work. Still faults at shutdown... But only a minor nit

Also installed and programmed a T3.2 with blink on: MAC and Linux Arm (Odroid XU4)

PaulStoffregen
12-23-2016, 02:39 PM
I am able to reproduce the fault on Windows shutdown here too. Looks into it now...

KurtE
12-23-2016, 07:00 PM
I was wondering about some of the features of the 1.8.0 release, which the release notes state:

ARDUINO 1.8.0 - 2016.12.20

[ide]
* Linux: running in command line mode doesn't require an X11 display anymore
* "Save as" now clears the "modified" status
* builder: Paths with strange UTF8 chars are now correctly handled
* builder: .hpp and .hh file extensions are now considered valid sketch extension
* builder: core.a is not rebuild if not needed (improve build time in particular for big projects)
* Fixed swapped actions "Copy for Forum" and "Copy as HTML"
* Linux/osx: If an editor tab is a symbolic link it is no more replaced with a real file when saving (see #5478)
* Increased the upload timeout to 5 minutes (it was 2 min, but it may be not sufficient when uploading via UART a big sketch)

[core]
* Added Arduino.org boards
* Added Adafruit Circuit Playground board
* Added "-g" option to linker to keep debug information in the .elf file (see #5539)
* avrdude: Added fake configuration for EFUSE on atmega8 part. This solves a long standing issue with "Burn bootloader".
Thanks @rigelinorion, @awatterott


So I wondered about could I build a teensy program from the command line on Linux (actually ARM linux). So I tried running it from a Putty window on my main machine.
Found the syntax up at: https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc



odroid@odroid:~/Desktop/arduino-1.8.0$ ./arduino --upload --port /dev/ttyACM0 ./ ./examples/01.Basics/Blink/Blink.ino
Picked up JAVA_TOOL_OPTIONS:
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
Opening Teensy Loader...
Unable find Teensy Loader. (p) Is the Teensy Loader application running?
odroid@odroid:~/Desktop/arduino-1.8.0$ ./arduino --upload --port /dev/ttyACM0 ././examples/01.Basics/Blink/Blink.ino
Picked up JAVA_TOOL_OPTIONS:
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
Opening Teensy Loader...
Unable find Teensy Loader. (p) Is the Teensy Loader application running?
odroid@odroid:~/Desktop/arduino-1.8.0$

So it looks like the compile succeeds, but the Teensy loader fails... Wonder how hard that would be to change?

wb8nbs
12-24-2016, 12:45 AM
Thank You! I am finally able to load a sketch on the 3.6 I've had for months. My computer is a 32 bit athlon and up until arduino 1.8 would not compile anything, get the dreaded
SIGILL: illegal instruction
PC=0x8115829
which is fixed in 1.8 and now teensyduino works as well.

PaulStoffregen
12-24-2016, 09:57 AM
Has anyone noticed the Arduino 1.8.0 font issue on Windows?

Should I bring in this patch?

https://github.com/arduino/Arduino/pull/5756

https://cloud.githubusercontent.com/assets/2778501/21459246/c7e07b8e-c923-11e6-89c8-4add139dffdd.PNG
https://cloud.githubusercontent.com/assets/2778501/21459246/c7e07b8e-c923-11e6-89c8-4add139dffdd.PNG

KurtE
12-24-2016, 12:53 PM
Yes please

Edit: But wonder if this may imply that release 1.8.1 will be coming soon?

dimitre
12-24-2016, 03:09 PM
Thanks for the release. for some reason 1.8.0 and 1.34 beta2 are super fast to compile and upload to teensy

PaulStoffregen
12-24-2016, 05:49 PM
for some reason 1.8.0 and 1.34 beta2 are super fast to compile and upload to teensy

This is probably part of the reason.
https://github.com/arduino/arduino-builder/pull/194

Build core.a seems to be particularly slow on Windows.



But wonder if this may imply that release 1.8.1 will be coming soon?

Probably not. For some time they've been bumping the rev number right after each release, so the nightly builds and arduinobot builds don't have the same rev as the current release.

el_supremo
12-24-2016, 06:13 PM
Has anyone noticed the Arduino 1.8.0 font issue on Windows?
Yes. I didn't notice it while I was editing the code with the IDE but it is very noticeable in the serial monitor. The font looks thinner than it was before - I'm not sure whether it is a different font or somehow it is being drawn incorrectly (wrong strokewidth?). I can live with it but it would be nice to have it fixed once it is convenient for you to do so.

Pete

PaulStoffregen
12-24-2016, 06:19 PM
I'm rebuilding the IDE java code with the right right now. Hope to have a 1.34-beta3 installer later today...