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

Thread: Updating the IDE and Teensy support

  1. #1
    Member
    Join Date
    Apr 2018
    Location
    Eastern Time, USA
    Posts
    83

    Updating the IDE and Teensy support

    Hi, I would like to start working with a new board, and so, it is finally time to update the development environment. But, so far I have not found instructions on how do that.

    Could someone please, post step-by-step instruction for updating the IDE and Teensy software support?

    Thank you

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    6,243
    Just install - exactly as you did the 1st time.
    first: arduino
    second: teensyduino 1.49

  3. #3
    Member
    Join Date
    Apr 2018
    Location
    Eastern Time, USA
    Posts
    83
    I neglected to mention, it's a Linux machine.

    That sounds like it will be installed alongside the earlier versions, is that correct? I supposed the desktop shortcuts will simply be overwrriten.

  4. #4
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    6,243
    Quote Originally Posted by DrM View Post
    I neglected to mention, it's a Linux machine.

    That sounds like it will be installed alongside the earlier versions, is that correct? I supposed the desktop shortcuts will simply be overwrriten.
    Oh, Linux. I don't know.

  5. #5
    Member
    Join Date
    Apr 2018
    Location
    Eastern Time, USA
    Posts
    83
    The answer is that you unzip the Arduino wherever you want it to reside, and the Teensyduino installer copies itself into that directory tree.

    There are some bugs, the ide opens and closes without error message. You can run it from a command line and see the errors.

    The problems seem to be cleared up by deleting two files in your home directory, rm -v ./.arduino/ and ./.teensy/


    Here are the specific install instructions:

    1. Download the Arduiino software from https://www.arduino.cc/en/Main/Software

    2. Download the Teensyduino, and the udev rules file, from https://www.pjrc.com/teensy/td_download.html

    3. Copy or move the rules file to /etc/udev/rules.d

    4. Run the script arduino-linux-setup.sh

    5. Run the script install.sh

    6. Run the script TeensyduinoInstall.linux64 (or linux32, depending on your computer)

    The Teensyarduino install will present a file secltion window. Navigate to, and select, the top level directory that you unzipped from the Arduino tar.xz file.

  6. #6
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,357
    Yup, that's right, but steps 4 & 5 are optional. You can just run the copy of Arduino from the folder where you extracted it, without the installation to the desktop system.

    Hopefully this all lines up well with the instructions on the download page?

    https://www.pjrc.com/teensy/td_download.html

  7. #7
    Member
    Join Date
    Apr 2018
    Location
    Eastern Time, USA
    Posts
    83
    Yes, I think so. My old installation ran the teensy loader from a separate directory. The current setup seems much better.

    I still have problems with the software complaining about running from the sketch folder, that's what gets cleared up by deleting the .arduino and .teensy files. But, the error seems to reappear.

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,357
    Quote Originally Posted by DrM View Post
    I still have problems with the software complaining about running from the sketch folder,
    Oh, that's bad. Very bad.

    Arduino puts stuff in 3 locations, software, preferences, and sketchbook. These 3 should *never* overlap. Things fail in very confusing ways if they do, which is why that warning message exists (I had a hand in getting it into the software, fwiw...)

    On Linux, prefs go into ~/.arduino15.

    Sketchbook defaults to {Documents}/Arduino, but you can edit it with File > Preferences. DO NOT set this anywhere that overlaps with the software, as that will cause you a lot of pain and suffering as you use the software and especially if you install more optional boards packages!

Posting Permissions

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