Package Details: teensyduino 1.56-1

Git Clone URL: https://aur.archlinux.org/teensyduino.git (read-only, click to copy)
Package Base: teensyduino
Description: Arduino SDK with Teensyduino
Upstream URL: http://www.pjrc.com/teensy/teensyduino.html
Keywords: arduino pjrc teensy
Licenses: GPL, custom, LGPL
Conflicts: arduino, teensy-loader, teensy-loader-cli, teensy-loader-cli-git
Provides: arduino, teensy-loader, teensy-loader-cli
Submitter: Koromix
Maintainer: fabian-ang
Last Packager: fabian-ang
Votes: 23
Popularity: 0.045589
First Submitted: 2013-12-17 03:33 (UTC)
Last Updated: 2021-12-23 12:28 (UTC)

Dependencies (9)

Required by (10)

Sources (7)

Latest Comments

Aschenbecher commented on 2021-09-12 00:22 (UTC)

Someone can do an upgrade?

nayrangnu commented on 2021-06-09 21:38 (UTC)

http://www.pjrc.com/teensy/49-teensy.rules needs to be updated to http://www.pjrc.com/teensy/00-teensy.rules, and the SHA256Sum updated for it.

Also, a note should be displayed that if the menu entries do not appear, you can remove the java directory in the Arduino final install location to force it to use the system Java environment (as noted by dss)

3X0karibu commented on 2021-06-06 13:13 (UTC)

package wont build, 49-teensy.rules fails to vaidate

dss commented on 2021-03-11 20:48 (UTC)

In order to have visible menu entries, I had to remove the java directory from the archive, to make it use the system java environment.

amfern commented on 2021-03-07 10:22 (UTC)

One or more files did not pass the validity check! seems like 49-teensy.rules moved to 00-teensy.rules

Synthead commented on 2021-02-16 00:45 (UTC)

/usr/share/arduino/hardware/tools/teensy_ports seems to hang indefinitely. This is called when Arduino is uploading or verifying code.

I noticed that there is quite a bunch of customization in the PKGBUILD, like linking system serial libs. Perhaps this could have something to do with it?

Synthead commented on 2020-12-03 22:27 (UTC)

Getting this error:

error: failed to commit transaction (conflicting files)
teensyduino: /usr/share/arduino/hardware/platform.keys.rewrite.txt exists in filesystem (owned by arduino-builder)
Errors occurred, no packages were upgraded.

Maybe arduino-builder should be in $conflicts? And possibly in $provides?

djpohly commented on 2020-11-22 17:48 (UTC)

Could you add teensy-loader-cli to provides?

flops commented on 2020-05-16 17:28 (UTC) (edited on 2020-05-20 14:56 (UTC) by flops)

@Pandor thanks, removed as dependency.

Pandor commented on 2020-05-11 12:21 (UTC) (edited on 2020-05-11 12:38 (UTC) by Pandor)

Any reason why you insist on using vanilla avrdude? it has been giving me problems lately.

The vanilla avrdude doesn't play nicely anymore with the arduino supplied avrdude.conf in /usr/share/arduino/hardware/tools/avr/etc/ which it defaults to.

avrdude -C/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf avrdude: error at /usr/share/arduino/hardware/tools/avr/etc/avrdude.conf:1133: programmer type jtagice3_updi not found avrdude: error reading system wide configuration file "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf"

Since the arduino supplied (and modified?) avrdude is symlinked to vanilla avrdude, I am no longer able to upload sketches.

I've disabled the removal of the supplied avrdude in the PKGBUILD, and all is working again. there is no real reason why a systemwide vanilla avrdude, and the arduino supplied avrdude can't coexist.

birdsnotberries commented on 2019-11-20 21:08 (UTC)

None of the spaces/numbers in the interface seem to be rendering - anyone else getting this? Is there a font I'm missing or something? https://i.imgur.com/Ig97S1m.png

traffic-light commented on 2019-11-05 21:39 (UTC) (edited on 2019-11-05 22:23 (UTC) by traffic-light)

@Pandor Yes that's easier but... when arduino IDE updates to a new version and teensy isn't updated for it you have a problem...

Pandor commented on 2019-11-02 11:07 (UTC) (edited on 2019-11-02 11:08 (UTC) by Pandor)

I agree with amael. maintaining this pkg would be simplified by just relying on a >= arduino-ver. the teensyduino installer just needs arduino installed, there really is no need to overcomplicate this PKGBUILD by including arduino itself, since it is already maintained in the community repo.

traffic-light commented on 2019-10-17 22:06 (UTC) (edited on 2019-10-24 21:11 (UTC) by traffic-light)

There is a update for teensy and arduino IDE

I did it manualy. Change the Teensy version to 1.48

Change the Arduino IDE version to 1.8.10

I only generated the checksum for 64 bits.

This are the checksums:

Change the first checksum to this:

3ca4c2d9e05730ce6be141abef56c9debce6cc63696230dffbd08708b27d69c2

Change the second checksum to this:

c5721a669c586491aa3adc0463d61270d5eccda0f4bf82d0275bb144ab3c67fb

(line 38 - 40) The final checksum lines will look like this:

sha256sums_x86_64=('3ca4c2d9e05730ce6be141abef56c9debce6cc63696230dffbd08708b27d69c2'
'c5721a669c586491aa3adc0463d61270d5eccda0f4bf82d0275bb144ab3c67fb')

crest commented on 2019-06-26 13:49 (UTC) (edited on 2019-06-26 13:51 (UTC) by crest)

Checksums are incorrect in the current Version:

==> Making package: teensyduino 1.46-2 (Wed Jun 26 15:48:40 2019)

==> Validating source files with sha256sums... arduino.xml ... Passed teensy-loader.desktop ... Passed teensy_loader_cli ... Skipped 49-teensy.rules ... FAILED LICENSE ... Passed ==> ERROR: One or more files did not pass the validity check!

janwil commented on 2019-05-24 08:04 (UTC)

==> Validating source_x86_64 files with sha256sums... arduino-1.8.9-linux64.tar.xz ... Passed TeensyduinoInstall.linux64 ... FAILED ==> ERROR: One or more files did not pass the validity check!

amael commented on 2019-05-09 22:31 (UTC)

Why are you including the original arduino compiler in your package and not requiring it as a dependency ?

Doing so would free you from updating when Arduino updates, keeping only the teensyduino updates here.

kingcody commented on 2018-12-11 07:46 (UTC)

The easier solution is to simply store the PID of the background process and kill it directly.

Here is a patched version of teensyduino.sh https://gist.github.com/kingcody/2f5d71a79d34f8c2c9607c95fe956380

For anyone looking for a temporary workaround, it should be fairly easy to edit the PKGBUILD build function with a sed statement to update teensyduino.sh before executing it. Assuming you have sed installed, you could place this line in top of the build function:

sed -e 's/\$1 &/& TEENSYPID=$!/' -e 's/killall \$(basename \$1)/kill $TEENSYPID/' -i ./teensyduino.sh

Of course, as a more permanent solution, fixing this in the teensyduino.sh source is preferred.

n0tty commented on 2018-10-26 15:44 (UTC) (edited on 2018-10-26 15:47 (UTC) by n0tty)

Apparently, yes there is this issue. Starting build()... -> Running Teensyduino installer (takes around 50 seconds) TeensyduinoInstall.linux64: no process found X I/O error

However, on further investigating it, it seems to be the error in "teensyduino.sh" script. Specifically this part, killall $(basename $1) >/dev/null || exit 1 [ -d $2/hardware/teensy ] || exit 1

This bit of error (TeensyduinoInstall.linux64: no process found) comes here (killall $(basename $1) >/dev/null)

afaik this also needs some changes in xdotool function being utilized. Here was my quick fix on xdotool in teensyduino.sh, however, the build() still fails - https://gist.github.com/n0tty/5349fc0a974936ee3eb637db75c95e72 SHA256 checksum - c57dc1d48a21a0af59a7566cd48e97044cdf811c5a745a2954747606b1ba7aa6

Here is what I get,

-> Running Teensyduino installer (takes around 50 seconds)

/home/.../.cache/pacaur/teensyduino/PKGBUILD: line 49: 2473 Killed xvfb-run ./teensyduino.sh "./TeensyduinoInstall.linux${_bits}" "${srcdir}/arduino-${_arduino}"

==> ERROR: A failure occurred in build().

Aborting...

faultylee commented on 2018-10-17 08:15 (UTC)

Hi, is anyone else getting this error? ==> Starting build()... -> Running Teensyduino installer (takes around 50 seconds) TeensyduinoInstall.linux64: no process found X I/O error

Files are there, and when I run TeensyduinoInstall.linux64 by hand it works. I suspect it's failing at xvfb-run. Not sure why.

sogaiu commented on 2018-09-10 09:50 (UTC)

An updated PKGBUILD for version 1.43 can be found at: https://pastebin.com/4jstYtjH

ptb commented on 2018-05-03 20:53 (UTC)

A updated PKGBUILD for version 1.41 can be found at https://pastebin.com/QtSDUk6g

kingstondude commented on 2018-01-19 11:46 (UTC)

Can we please get the PKGBUILD updated with the new checksum for 49-teensy.rules..

Maybe instructions for how to install this broken package would be a second best option.

I'm not sure how to go about changing the PKGBUILD myself..

Franek commented on 2017-09-10 16:45 (UTC)

The source file 49-teensy.rules fails its checksum, it must have been changed upstream. Everything works fine after updating the checksum in the PKGBUILD. 031de0b26991b5a3b19c497d9c0a17f86c40c55d925b9d07d19ab89f2286469d

mh00h commented on 2017-01-14 20:30 (UTC)

When this package has been installed, I see the following stderr with each yaourt installation. error: file owned by 'arduino-builder' and 'teensyduino': 'usr/share/arduino/hardware/platform.keys.rewrite.txt' error: file owned by 'arduino-builder' and 'teensyduino': 'usr/share/arduino/hardware/platform.txt'

parkerlreed commented on 2016-12-15 23:04 (UTC) (edited on 2016-12-15 23:05 (UTC) by parkerlreed)

There has got to be a better way to automatically run the Teensyduino installer than sending it keystrokes... I'll dig into this and see if I come up with something.

mh00h commented on 2016-11-06 16:55 (UTC)

Looks like the md5 for 49-teensy.rules has changed, breaking the PKGBUILD.

lmat commented on 2016-10-17 22:53 (UTC)

hv15 Excellent work! I can't imagine what kind of research would have led to this correct correction! I have the same error. I made the change you suggested, and of course, you also have to modify PKGBUILD:35 from that long hash to SKIP (or, of course, you can create a new hash for it...).

hv15 commented on 2016-09-05 21:04 (UTC)

Hi, I was getting this error with version 1.29-1: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource id in failed request: 0x200006 Serial number of failed request: 208 Current serial number in output stream: 208 which was originating from teensyduino.sh - I fixed this by change 40000 to 1000 on line 23. HTH

Lindhe commented on 2016-08-29 17:04 (UTC)

I get "==> ERROR: One or more files did not pass the validity check!" when trying to install via pacaur. Is this your fault?

ptb commented on 2016-04-10 08:34 (UTC)

Hi, ==> ERROR: Cannot find the git package needed to handle git sources. could you please add git to makedepends. Thank you!

commented on 2016-03-30 20:48 (UTC)

Hi, Could you please update the GIT commit to reflect recent updates? A few bugs were fixed in the teensy_loader_cli repository. Thank you!

Koromix commented on 2015-03-25 10:23 (UTC)

Indeed, it should be fixed now. Thanks for the report.

ottopasuuna commented on 2015-03-25 04:24 (UTC)

I'm getting this when I upload to a board: /usr/share/arduino/hardware/tools/avr/bin/avrdude: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory This is fixed in the normal arduino package, but not this one.

jose1711 commented on 2015-03-16 08:33 (UTC)

with 1.21-3 segfault is gone, thank you

jose1711 commented on 2015-03-02 10:13 (UTC)

$ teensy-loader Segmentation fault (core dumped)

leosw commented on 2015-02-09 14:46 (UTC)

Hello world I tried to use Stino under Sublime Text with this package and no way to make it working. I have no examples, no way to change folders and no target board. If you know how to use it, you're welcomed :) Léo

Koromix commented on 2014-11-11 16:31 (UTC)

If the upgrade fails, just delete /usr/share/icons/hicolor/256x256/apps/arduino.png manually. It fails because new revisions of this package include this file whereas it was created after the installation in older revisions of the package, so pacman did not know about it. On the bright side, a "new" mimetype is added (text/x-arduino like in Ubuntu) for .ino and .pde files, and Arduino is associated to them. Thanks to el.Quero for the suggestion ;)

Koromix commented on 2014-10-08 07:40 (UTC)

In upgrading to Teensyduino 1.20 (coupled to Arduino 1.0.6) I restored the original compiler toolchains (both AVR and ARM). If you want to use Arch's toolchains, install teensyduino-native instead.