Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Teensyduino into Arduino binary run by Jenkins #4

Open
bxparks opened this issue Jun 27, 2018 · 3 comments
Open

add Teensyduino into Arduino binary run by Jenkins #4

bxparks opened this issue Jun 27, 2018 · 3 comments

Comments

@bxparks
Copy link
Owner

bxparks commented Jun 27, 2018

Jenkins owns its own copy of the Arduino IDE. I added ESP8266 and ESP32 to it, and documented the process. Do the same for Teensyduino.

@bxparks
Copy link
Owner Author

bxparks commented Jun 29, 2018

It looks like Teensyduino (1.42) is unable to run the --verify option (compile-only) in headless mode. For some reason, it wants to fire up the Teensy Loader, which wants to display a small window, but it can't in a headless environment.

$ DISPLAY='' auniter --boards teensy32 --verify AceButtonTest
======== Processing board=teensy32, port=
==== Processing AceButtonTest/AceButtonTest.ino
$ /home/brian/dev/arduino-1.8.5/arduino --verify  --board teensy:avr:teensy31:usb=serial,speed=96,opt=o2std,keys=en-us   AceButtonTest/AceButtonTest.ino
Picked up JAVA_TOOL_OPTIONS: 
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
Archiving built core (caching) in: /tmp/arduino_cache_843051/core/core_teensy_avr_teensy31_usb_serial,speed_96,opt_o2std,keys_en-us_040d764db35341206dc0c9268568ddbb.a
Opening Teensy Loader...
Unable find Teensy Loader.  (p)  Is the Teensy Loader application running?
quitexit status 1
FAILED verify: teensy:avr:teensy31:usb=serial,speed=96,opt=o2std,keys=en-us  AceButtonTest/AceButtonTest.ino
======== Summary
FAILED verify: teensy:avr:teensy31:usb=serial,speed=96,opt=o2std,keys=en-us  AceButtonTest/AceButtonTest.ino
FAILURES found

bxparks added a commit that referenced this issue Aug 16, 2018
@kbebs
Copy link

kbebs commented Aug 16, 2019

Try running it in a virtual frame buffer with xvfb-run. I've had luck running Teensy Loader headless with xvfb.

@bxparks
Copy link
Owner Author

bxparks commented Aug 19, 2019

I haven't used xvrb in years, but that's a great idea. I'll give it a shot, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants