Any step-by-step instructions for setting up the teensy 4.1 on Arduino IDE board manager (on RPI5 IDE version 1.8.19)?

Buzzman

Member
I'm trying to set up the Arduino IDE to program a Teensy 4.1 on a Raspberry Pi 5, I have the older IDE (the newest that runs on ARM) but when I go to set up the board manager, I find the version is too old for "https://www.pjrc.com/teensy/package_teensy_index.json". It appears there is some workaround, but it assumes that I have much more knowledge than have. Does anyone know of a step-by-step set of instructions? Thanks
 
Yep. that only works for 1.8.19 for arduino IDE 2.3.x you need to add this to the boards list:
To install Teensy on Arduino IDE 2.x, click File > Preferences (on MacOS, click Arduino IDE > Settings). On Windows 11 laptops a with small touchscreen display, you may need to scroll down to even if no scrollbar appears. In "Additional boards manager URLs", copy this link:


for more detailed instructions check this page out:
 
Do you have Arduino 1.8.19 installed?
It has been a while since I have done this with linux like this.
But I think after you download the Teensyduino, you need to mark that file as executable.
maybe something like: chmod +x TeensyduinoInstall.linuxarm
Then hopefully you can then run from command prompt or from directory window...

EDIT: Don't know if you are running a 32 bit or 64 version of Linux on it. I believe the main OS for the new RPI5 is 64 bit.
So not sure if you need to use the one you downloaded or:

 
Do you have Arduino 1.8.19 installed?
It has been a while since I have done this with linux like this.
But I think after you download the Teensyduino, you need to mark that file as executable.
maybe something like: chmod +x TeensyduinoInstall.linuxarm
Then hopefully you can then run from command prompt or from directory window...

EDIT: Don't know if you are running a 32 bit or 64 version of Linux on it. I believe the main OS for the new RPI5 is 64 bit.
So not sure if you need to use the one you downloaded or:

I do have 1.8.19 installed, 64-bit version, and "A port of Debian Bookworm with the Raspberry Pi Desktop" 64bit version, I have downloaded both 32 and 64 versions of the teensyduinoInstall, I just don't know enough about Linux to do the chmod and install it.
 
I do have 1.8.19 installed, 64-bit version, and "A port of Debian Bookworm with the Raspberry Pi Desktop" 64bit version, I have downloaded both 32 and 64 versions of the teensyduinoInstall, I just don't know enough about Linux to do the chmod and install it.
FYI - I just ordered an RPI5 from Amazon which should arrive in the next few days.
1728502753061.png

So will be trying it out soon... Maybe at some point will add SSD to it, will for now boot off of SD and use secondary SSD...

It has been awhile since I did some RPI stuff, could pull out a 4, but not sure if I have any of them set up to be bootable.

But with most of these linux based boards, if for example you downloaded it using their we browser, you can can ask for it to open the file browser window, if so, you can usually do something like then right click on the file and choose properties, And usually somewhere in the properties, will
be something like a checkbox to say make it executable. But again it has been a while since I booted one up.
 
I have downloaded both 32 and 64 versions of the teensyduinoInstall, I just don't know enough about Linux to do the chmod and install it.

As with any 2 program running on any operating system, your ability to save a file in the first program and successfully use it from another depends on observing where the first program saved the file and being able to instruct the second program to read from that location.

Often browsers default to saving files in a "Downloads" folder. This may or may not be the case with your setup. If you're unsure, and you don't know enough to tell, please understand we can only really help if you share a screenshot so we can see the same pixels your eyes saw. if you don't yet know enough about Linux to make a screenshot and post it here on this forum, perhaps you could resort to using your cell phone or camera to take a photo of the screen, and then share that image using tools you know how to use.

Once you know where the downloaded file was saved, then in Terminal you would type a "cd" command to change to that directory. It might be as simple as "cd Downloads". Again, if you need specific help, remember we can't see your screen unless you show us a picture.

In terminal, you can type "ls" or "ls -l" to see a list of the files in the current directory. If you typed the "cd" command correctly, you should see the TeensyduinoInstall.linuxarm and TeensyduinoInstall.linuxaarch64 files.

Then you would type the chmod 755 command, and then the command to run the file. They're shown on the download page. Just be sure to change the "linux64" part to either "linuxarm" or "linuxaarch64".

1728504907544.png


Since you downloaded both, simply try both of them. One will give you some sort of error about unknown format or file not found. The other should open the Teensyduino installer window.

One important point you should understand is the words "Note: Arduino from Linux distro packages is not supported". The installer only works on copied of Arduino IDE downloaded directly from Arduino's website. If you installed Arduino IDE using packages provided by Raspbian or Debian, it will not work. You will reach a point where the "Next" button will not enable. The installer checks if a valid-looking copy of Arduino IDE is selected. This too requires the skill of downloading a file in one program, then being able to open in with 2 others. First you will need to extract the archive, and then you'll need to select that location from the installer. Again, if you can't do this, remember we can only really guide your hands if you show us screenshots. If we can't see your screen, can't see what you actually tried and what actually happened, helping effectively is very difficult.
 
As with any 2 program running on any operating system, your ability to save a file in the first program and successfully use it from another depends on observing where the first program saved the file and being able to instruct the second program to read from that location.

Often browsers default to saving files in a "Downloads" folder. This may or may not be the case with your setup. If you're unsure, and you don't know enough to tell, please understand we can only really help if you share a screenshot so we can see the same pixels your eyes saw. if you don't yet know enough about Linux to make a screenshot and post it here on this forum, perhaps you could resort to using your cell phone or camera to take a photo of the screen, and then share that image using tools you know how to use.

Once you know where the downloaded file was saved, then in Terminal you would type a "cd" command to change to that directory. It might be as simple as "cd Downloads". Again, if you need specific help, remember we can't see your screen unless you show us a picture.

In terminal, you can type "ls" or "ls -l" to see a list of the files in the current directory. If you typed the "cd" command correctly, you should see the TeensyduinoInstall.linuxarm and TeensyduinoInstall.linuxaarch64 files.

Then you would type the chmod 755 command, and then the command to run the file. They're shown on the download page. Just be sure to change the "linux64" part to either "linuxarm" or "linuxaarch64".

View attachment 36053

Since you downloaded both, simply try both of them. One will give you some sort of error about unknown format or file not found. The other should open the Teensyduino installer window.

One important point you should understand is the words "Note: Arduino from Linux distro packages is not supported". The installer only works on copied of Arduino IDE downloaded directly from Arduino's website. If you installed Arduino IDE using packages provided by Raspbian or Debian, it will not work. You will reach a point where the "Next" button will not enable. The installer checks if a valid-looking copy of Arduino IDE is selected. This too requires the skill of downloading a file in one program, then being able to open in with 2 others. First you will need to extract the archive, and then you'll need to select that location from the installer. Again, if you can't do this, remember we can only really guide your hands if you show us screenshots. If we can't see your screen, can't see what you actually tried and what actually happened, helping effectively is very difficult.
I installed the Arduino IDE directly from arduino.cc, the install was straightforward and does run. The second screenshot is where I'm stuck. I'm not sure if I need to unzip or or what. Thanks.
 

Attachments

  • ARDUINO.jpg
    ARDUINO.jpg
    154.4 KB · Views: 28
  • TEENSY.jpg
    TEENSY.jpg
    169.7 KB · Views: 31
FYI - I just ordered an RPI5 from Amazon which should arrive in the next few days.
View attachment 36052
So will be trying it out soon... Maybe at some point will add SSD to it, will for now boot off of SD and use secondary SSD...

It has been awhile since I did some RPI stuff, could pull out a 4, but not sure if I have any of them set up to be bootable.

But with most of these linux based boards, if for example you downloaded it using their we browser, you can can ask for it to open the file browser window, if so, you can usually do something like then right click on the file and choose properties, And usually somewhere in the properties, will
be something like a checkbox to say make it executable. But again it has been a while since I booted one up.
I appreciate any help, you are really going above and beyond!
 
I appreciate any help, you are really going above and beyond!
It was just the excuse to move to the newer one...

In your second photo, have you tried clicking the Properties menu item.
If so, click on the 2nd tab, with name like permissions.
There is a field Execute: <Nobody> ... Choose something other than Nobody
Exit out of the dialog.

Then double click on it and I dialog will come up with options <Execute> <Execute in Terminal> <cancel>
choose one of them (Except cancel) and hopefully the Teensy install comes up.

Note I downloaded the 64 bit version which ran. It will go through options, like, where is your Arduino installed. Mine was
at the root of my user: /home/kurte/arduino-1...

😉 For me sure is a lot easier under windows :LOL: If I need to enter some command lines at some directory, I simply navigate to that
directory in the Explorer, right click in the background and use the "Open in Terminal" command to open up a CLI...
 
Good, you got Terminal running.

In Terminal, type these commands:

Code:
cd Downloads
ls -l
chmod 755 TeensyduinoInstall.linuxaarch64
./TeensyduinoInstall.linuxaarch64

If the last command gives an error about wrong file type or file not found, then try the other one:

Code:
cd Downloads
ls -l
chmod TeensyduinoInstall.linuxarm
./TeensyduinoInstall.linuxarm

If things go badly... screenshot so we can see what happened.
 
Good, you got Terminal running.

In Terminal, type these commands:

Code:
cd Downloads
ls -l
chmod 755 TeensyduinoInstall.linuxaarch64
./TeensyduinoInstall.linuxaarch64

If the last command gives an error about wrong file type or file not found, then try the other one:

Code:
cd Downloads
ls -l
chmod TeensyduinoInstall.linuxarm
./TeensyduinoInstall.linuxarm

If things go badly... screenshot so we can see what ha
It was just the excuse to move to the newer one...

In your second photo, have you tried clicking the Properties menu item.
If so, click on the 2nd tab, with name like permissions.
There is a field Execute: <Nobody> ... Choose something other than Nobody
Exit out of the dialog.

Then double click on it and I dialog will come up with options <Execute> <Execute in Terminal> <cancel>
choose one of them (Except cancel) and hopefully the Teensy install comes up.

Note I downloaded the 64 bit version which ran. It will go through options, like, where is your Arduino installed. Mine was
at the root of my user: /home/kurte/arduino-1...

😉 For me sure is a lot easier under windows :LOL: If I need to enter some command lines at some directory, I simply navigate to that
directory in the Explorer, right click in the background and use the "Open in Terminal" command to open up a CLI...

I got it installed! Thanks guys!!!!!!!!!!
 
Last edited by a moderator:
You are welcome!

Quick update: Yesterday I received by RPI5 (Canakit 128gb SD) and it works nicely. Will update soon to NVME SSD.

Note: I am typing this message on it, and I editing files on it using SublimeText4

IDE 1.8.18 installed with Teensy support - using current released, did not check to see if beta arm64 version...

This morning I installed arduino-cli on it, and it took a bit of digging, but figured out how to install the teensy board, which I have now
done.

I have a new thread up on Arduino forum:

Asking about installing IDE2, which points to my older thread, where at one point had that working, but...

Since then, I have downloaded a couple of libraries and tried a build and upload to a Teensy Micromod with
my picture viewer example in the ili9341_t3n library
Code:
kurte@raspberrypi:~/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view $ arduino-cli compile --fqbn teensy:avr:teensyMM ./tft_picture_view.ino
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:43:
/home/kurte/Arduino/libraries/PNGdec/src/PNGdec.h:208: warning: "INTELSHORT" redefined
  208 | #define INTELSHORT(p) ((*p) + (*(p+1)<<8))
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:40:
/home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.h:301: note: this is the location of the previous definition
  301 | #define INTELSHORT(p) (*(uint16_t *)p)
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:43:
/home/kurte/Arduino/libraries/PNGdec/src/PNGdec.h:209: warning: "INTELLONG" redefined
  209 | #define INTELLONG(p) ((*p) + (*(p+1)<<8) + (*(p+2)<<16) + (*(p+3)<<24))
      |
In file inclhttps://www.pjrc.com/teensy/package_teensy_index.json
uded from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:40:
/home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.h:302: note: this is the location of the previous definition
  302 | #define INTELLONG(p) (*(uint32_t *)p)
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:43:
/home/kurte/Arduino/libraries/PNGdec/src/PNGdec.h:210: warning: "MOTOSHORT" redefined
  210 | #define MOTOSHORT(p) (((*(p))<<8) + (*(p+1)))
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:40:
/home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.h:303: note: this is the location of the previous definition
  303 | #define MOTOSHORT(p) __builtin_bswap16(*(uint16_t *)p)
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:43:
/home/kurte/Arduino/libraries/PNGdec/src/PNGdec.h:211: warning: "MOTOLONG" redefined
  211 | #define MOTOLONG(p) (((*p)<<24) + ((*(p+1))<<16) + ((*(p+2))<<8) + (*(p+3)))
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:40:
/home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.h:307: note: this is the location of the previous definition
  307 | #define MOTOLONG(p) __builtin_bswap32(*(uint32_t *)p)
      |
In file included from /home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.cpp:36:
/home/kurte/Arduino/libraries/JPEGDEC/src/jpeg.inl: In function 'int JPEGMakeHuffTables(JPEGIMAGE*, int)':
/home/kurte/Arduino/libraries/JPEGDEC/src/jpeg.inl:1175:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1175 |             if (iTable * HUFF11SIZE >= sizeof(pJPEG->usHuffAC) / 2)
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kurte/Arduino/libraries/JPEGDEC/src/jpeg.inl: In function 'void JPEGIDCT(JPEGIMAGE*, int, int)':
/home/kurte/Arduino/libraries/JPEGDEC/src/jpeg.inl:2263:19: warning: unused variable 'ucColMask' [-Wunused-variable]
 2263 |     unsigned char ucColMask;
      |                   ^~~~~~~~~
In file included from /home/kurte/Arduino/libraries/PNGdec/src/PNGdec.cpp:29:
/home/kurte/Arduino/libraries/PNGdec/src/png.inl: In member function 'void PNG::getLineAsRGB565(PNGDRAW*, uint16_t*, int, uint32_t)':
/home/kurte/Arduino/libraries/PNGdec/src/png.inl:411:27: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  411 |                         c <<= 1;
      |                         ~~^~~~~
/home/kurte/Arduino/libraries/PNGdec/src/png.inl:231:13: note: 'c' was declared here
  231 |     uint8_t c, a, *pPal, *s = pDraw->pPixels;
      |             ^
Memory Usage on Teensy MicroMod:
  FLASH: code:153284, data:34276, headers:9044   free for files:16318468
   RAM1: variables:103616, code:147608, padding:16232   free for local variables:256832
   RAM2: variables:12416  free for malloc/new:511872

Used library        Version Path
SPI                 1.0     /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/SPI
SD                  2.0.0   /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/SD
SdFat               2.1.2   /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/SdFat
JPEGDEC             1.6.1   /home/kurte/Arduino/libraries/JPEGDEC
PNGdec              1.0.2   /home/kurte/Arduino/libraries/PNGdec
ILI9341_t3n         1.1.1   /home/kurte/Arduino/libraries/ILI9341_t3n
XPT2046_Touchscreen 1.4     /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/XPT2046_Touchscreen

Used platform Version Path
teensy:avr    1.59.0  /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0
kurte@raspberrypi:~/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view $ arduino-cli upload --port usb1/1-1  --fqbn teensy:avr:teensyMM ./tft_picture_view.ino Opening Teensy Loader...
New upload port: usb1/1-1 (teensy)
kurte@raspberrypi:~/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view $

I need to go through the warnings at some point...
But it works as it is showing images on my 3.2" display on the board
 
You are welcome!

Quick update: Yesterday I received by RPI5 (Canakit 128gb SD) and it works nicely. Will update soon to NVME SSD.

Note: I am typing this message on it, and I editing files on it using SublimeText4

IDE 1.8.18 installed with Teensy support - using current released, did not check to see if beta arm64 version...

This morning I installed arduino-cli on it, and it took a bit of digging, but figured out how to install the teensy board, which I have now
done.

I have a new thread up on Arduino forum:

Asking about installing IDE2, which points to my older thread, where at one point had that working, but...

Since then, I have downloaded a couple of libraries and tried a build and upload to a Teensy Micromod with
my picture viewer example in the ili9341_t3n library
Code:
kurte@raspberrypi:~/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view $ arduino-cli compile --fqbn teensy:avr:teensyMM ./tft_picture_view.ino
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:43:
/home/kurte/Arduino/libraries/PNGdec/src/PNGdec.h:208: warning: "INTELSHORT" redefined
  208 | #define INTELSHORT(p) ((*p) + (*(p+1)<<8))
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:40:
/home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.h:301: note: this is the location of the previous definition
  301 | #define INTELSHORT(p) (*(uint16_t *)p)
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:43:
/home/kurte/Arduino/libraries/PNGdec/src/PNGdec.h:209: warning: "INTELLONG" redefined
  209 | #define INTELLONG(p) ((*p) + (*(p+1)<<8) + (*(p+2)<<16) + (*(p+3)<<24))
      |
In file inclhttps://www.pjrc.com/teensy/package_teensy_index.json
uded from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:40:
/home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.h:302: note: this is the location of the previous definition
  302 | #define INTELLONG(p) (*(uint32_t *)p)
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:43:
/home/kurte/Arduino/libraries/PNGdec/src/PNGdec.h:210: warning: "MOTOSHORT" redefined
  210 | #define MOTOSHORT(p) (((*(p))<<8) + (*(p+1)))
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:40:
/home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.h:303: note: this is the location of the previous definition
  303 | #define MOTOSHORT(p) __builtin_bswap16(*(uint16_t *)p)
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:43:
/home/kurte/Arduino/libraries/PNGdec/src/PNGdec.h:211: warning: "MOTOLONG" redefined
  211 | #define MOTOLONG(p) (((*p)<<24) + ((*(p+1))<<16) + ((*(p+2))<<8) + (*(p+3)))
      |
In file included from /home/kurte/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view/tft_picture_view.ino:40:
/home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.h:307: note: this is the location of the previous definition
  307 | #define MOTOLONG(p) __builtin_bswap32(*(uint32_t *)p)
      |
In file included from /home/kurte/Arduino/libraries/JPEGDEC/src/JPEGDEC.cpp:36:
/home/kurte/Arduino/libraries/JPEGDEC/src/jpeg.inl: In function 'int JPEGMakeHuffTables(JPEGIMAGE*, int)':
/home/kurte/Arduino/libraries/JPEGDEC/src/jpeg.inl:1175:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1175 |             if (iTable * HUFF11SIZE >= sizeof(pJPEG->usHuffAC) / 2)
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/kurte/Arduino/libraries/JPEGDEC/src/jpeg.inl: In function 'void JPEGIDCT(JPEGIMAGE*, int, int)':
/home/kurte/Arduino/libraries/JPEGDEC/src/jpeg.inl:2263:19: warning: unused variable 'ucColMask' [-Wunused-variable]
 2263 |     unsigned char ucColMask;
      |                   ^~~~~~~~~
In file included from /home/kurte/Arduino/libraries/PNGdec/src/PNGdec.cpp:29:
/home/kurte/Arduino/libraries/PNGdec/src/png.inl: In member function 'void PNG::getLineAsRGB565(PNGDRAW*, uint16_t*, int, uint32_t)':
/home/kurte/Arduino/libraries/PNGdec/src/png.inl:411:27: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  411 |                         c <<= 1;
      |                         ~~^~~~~
/home/kurte/Arduino/libraries/PNGdec/src/png.inl:231:13: note: 'c' was declared here
  231 |     uint8_t c, a, *pPal, *s = pDraw->pPixels;
      |             ^
Memory Usage on Teensy MicroMod:
  FLASH: code:153284, data:34276, headers:9044   free for files:16318468
   RAM1: variables:103616, code:147608, padding:16232   free for local variables:256832
   RAM2: variables:12416  free for malloc/new:511872

Used library        Version Path
SPI                 1.0     /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/SPI
SD                  2.0.0   /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/SD
SdFat               2.1.2   /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/SdFat
JPEGDEC             1.6.1   /home/kurte/Arduino/libraries/JPEGDEC
PNGdec              1.0.2   /home/kurte/Arduino/libraries/PNGdec
ILI9341_t3n         1.1.1   /home/kurte/Arduino/libraries/ILI9341_t3n
XPT2046_Touchscreen 1.4     /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0/libraries/XPT2046_Touchscreen

Used platform Version Path
teensy:avr    1.59.0  /home/kurte/.arduino15/packages/teensy/hardware/avr/1.59.0
kurte@raspberrypi:~/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view $ arduino-cli upload --port usb1/1-1  --fqbn teensy:avr:teensyMM ./tft_picture_view.ino Opening Teensy Loader...
New upload port: usb1/1-1 (teensy)
kurte@raspberrypi:~/Arduino/libraries/ILI9341_t3n/examples/tft_picture_view $

I need to go through the warnings at some point...
But it works as it is showing images on my 3.2" display on the board
That is great, let me know how the NVME SSD goes, I think I will want to do that as well.
 
@KurtE - Got my CanaKit yesterday. I'm setting it up now with Ubuntu 24.04. Tried Ubuntu Mate but that did not work. It seems that you can make it work but you need to have a RPI4 to install it on then move it over to the RPI5 somehow. Lots to learn :)
 
@KurtE - Got my CanaKit yesterday. I'm setting it up now with Ubuntu 24.04. Tried Ubuntu Mate but that did not work. It seems that you can make it work but you need to have a RPI4 to install it on then move it over to the RPI5 somehow. Lots to learn :)
Another glutton for punishment 😉

Just picked up my mail and now have the Raspberry Pi M.2+hat and a 512gb NVMe drive. (And a usb device I can plug into PC to write to it...)

Just programmed it with RasperryPi OS 64 bits again. Later today will try to connect it all up and see how well it works
 
I need to go through the warnings at some point...

Or Larry Bank should. The vast majority of compiler warnings my verify all libraries script finds are from his excellent performing but warning filled libraries. Those warnings in msg #15 all look like Larry's doing...
 
Last edited:
Another glutton for punishment 😉

FWIW, I recently replaced the Pi 4 and Jetson TX2 which had been my build machines for the 32 and 64 bit ARM Linux software with a pair of Raspberry Pi 5s with this NVME SSD board and Samsung 990 Pro SSDs and this 2.5gb ethernet adapter rather than using the Pi 5 built in ethernet.

Found lots of info online about special steps to get NVME to boot, but it seems Raspberry Pi updated the firmware in recent times. Nothing special was needed. I just used the Raspberry Pi Imager on a Windows laptop and the SSD on a USB adapter to put Raspbian onto the SSDs. Then both Pi5s booted right up. They also automatically recognized and used those 2.5gb USB Ethernet adapters.

I didn't bother to reconfigure the NVME to PCI v3.

I've been pretty critical of Raspberry Pi over the years. But Pi 5 with 8GB RAM and NVME SSD is the first version that isn't really painful to actually use.
 
Or Larry Bank should. The vast majority of compiler warnings my verify all libraries script finds are from his excellent performing but warning filled libraries. Those warnings in msg #15 all look like Larry's doing...
Yep - earlier I created at least one issue with him on the warnings. He closed it out, saying does it work...

In once sketch I was able to reduce the number of warnings when I include both JPEG and PNG... by undefining some of the #defines that each one creates. I think it knocked it down to two warnings.

I've been pretty critical of Raspberry Pi over the years. But Pi 5 with 8GB RAM and NVME SSD is the first version that isn't really painful to actually use.
Yep I am finding it to be a nice little setup.
Note: Without their instructions, I believe it will first
try to boot off of SD and then off of NVME... So booted off the SD and then did the step they mentioned to then boot first off of NVME

The only issue I now have is with the fan and the canakit setup. ... Not their fault. I ordered the canakit through amazon. I then decided to try an NVME setup. So ordered the RPI shield plus a 512gb NVME drive (Sabrent). ( https://www.amazon.com/dp/B0BQG6FM45?th=1 )Which is working. But the case is not working with their top mount fan and their passive cooler... There version with NVME uses the RPI active cooler instead. So trying to decide what I want to do.... Simply prop it open or with case spaced open, or order active cooler and see how hard it is to remove their passive coolers mounted with double face tape, or order a different case, or... Punt and not worry about it. But went ahead and ordered an active coolor... just in case.

But so far nice little setup.
 
Quick-ish updates:

The updated RPI active cooler arrived, which I installed, it fits under the M.2 hat, but height is stiff enough that the canakit top does not fit...
Not too much of a problem.

Having some problems with the reinstall of getting the Arduino-cli builds using Visual code. Not sure if the plug-in needs some configurations to
change to build using the CLI from specific location. Will play some more.

For the fun of it, I built and uploaded the ILI9341_t3n example sketch: tft picture viewer with MTP support. using the command:
Code:
arduino-cli compile --fqbn teensy:avr:teensyMM:usb=serialmtp -v -u -p /dev/ttyACM0 tft_picture_view.ino

Which works from a terminal window.
Note: as I sort of expected it fails from a putty (or kitty) window on my Windows 11 machine connected over ssh. As the upload still tries
to use the teensy app, which requires the gui.

So far it looks like MTP works on the RPI5.
20241016_06h25m56s_grim.png

Note it took me awhile to figure out how to get screenshots to work at all, let alone with partial region of the screen:
Doing searching around and this worked:
Code:
slurp |  grim -g -
There were also instructions on how to bind this to a key, up at:

I followed the steps up at:
to add the shift+sysrg as the partial print screen and it worked:
20241016_06h50m42s_grim.png


Back to playing
 
Last edited:
@KurtE - I love that picture:love: I received my 500g ssd and USB adapter yesterday. My M.2 hat should be here today. I installed Raspian on the ssd and plugged it in to one off the USB ports on the RPI5 to test with until the M.2 hat shows up. I previously installed Ubuntu 24.04 on a 120g ssd I have laying around. But I prefer the Raspian OS over Ubuntu as it is more like the old style Gnome desktop and the Ubuntu Mate desktop I normally use. Have to say that the RPI5 is a spunky little board. I was able to get Arduino IDE 2.2.1 and Arduino 1.8.19 working with 0.59 and TD 1.59 respectively.

Does anybody know if the latest Raspian supports virtual screens with a pager?
 
I was able to get Arduino IDE 2.2.1 and Arduino 1.8.19 working
I thought about installing that version as well, wish Arduino would release a more recent version.

But do have Visual studio code running with the CLI. Although it appears to work best with it's built-in older version of the CLI,
More on that in the thread: https://forum.arduino.cc/t/anyone-setup-build-within-sublimetext4/1310549/6?u=kurte

Picture :D - I don't remember who sent this to us years ago for Halloween. I do miss my Collies. But don't tell Annie (our Ausi)

Sorry I have not yet tried out some out things like VNC yet, I have it turned on, but have not tried anything yet.
 
Another quick update: I have been able to build the RPI64 bit version of the IDE on my RPI5. So far I have only build the
debug version running currently under the debugger of VSCode.

The real pain was getting all of the needed dependencies on the RPI5\
Started from the page:
But you follow the links of where they say some other parts need things as well.
like a version of yarn: https://classic.yarnpkg.com/en/docs/install#debian-stable
nodejs
...

20241018_09h50m37s_grim.png
 
Back
Top