The first problem that I ran into was that the Guide for the ESP32-S2-TFT Feather said to go into "preferences" and add an URL to the list. When you bring up the "Preferences" screen, you can NOT get down far enough to see the field to enter additional URLs. Examining this screen on another machine, with a larger screen, I found that it mumbled something about where to find the file to edit. The file is named preferences.txt -- armed with this, I was able to track it down (thanks to having used *nix since the late 1970s). To find it, bring up a terminal window on your Pi. If you're "reusing" one, then issue the command cd with no arguments, which will send you to your "home" directory (or folder, if you like that name better). Then issue the ccommand
Code: Select all
find . -name preferences.txt -print
Code: Select all
.arduino15
Code: Select all
head -10 preferences.txt
Code: Select all
cp -p preferences.txt preferences.txt.orig
Code: Select all
boardsmanager.additional.url=
We could save the file at this point, but there's another place where you can't scroll down far enough to see things -- the "port" selection under the "tools" menu also has this problem.
At this point, you'll need another terminal window. Again, you'll want to be in your home directory. Issue the command
Code: Select all
ls /dev > temp1.txt
Code: Select all
ls /dev > temp2.txt
Code: Select all
diff temp1.txt temp2.txt
You'll need to add 3 more lines at the proper place to maintain the alphabetical order. I'm using ttyACM0 as an example -- you will need to change it if your board shows up as something different.
Code: Select all
serial.port=/dev/ttyACM0
serial.port.file=ttyACM0
serial.port.iserial=
You'll still need to use the Arduino IDE's "boards manager" to download the appropriate support stuff for your board, but at least now the IDE will know where to find it and where to find your board when you're ready to click on the "Upload" button, as well as where to look for the serial monitor.
By the way, you can now issue the command
Code: Select all
rm temp1.txt temp2.txt
As a footnote, I was amused a couple of days ago to note that the quotation that Adafruit.com offered me was "Any path that narrows future possibilities may become a lethal trap” -- The Spacing Guild Handbook. I'll let the reader draw their own conclusion...