After turning on Linux on the Chromebook, you can access the Linux environment via the terminal app.
Please follow the following steps to install the Arduino IDE:
Check the type of your OS version
Download package
Open the website (www.arduino.cc/en/software) and download the corresponding type of Legacy Arduino IDE:
Installation
After downloading complete, set the folder Downloads in the file browser to share with Linux, as mentioned above. Use the following commands to install the Arduino IDE, e.g.,arduino-1.8.19-linux64.tar.xz is the downloading file.
Set up the Arduino IDE development environment for the mainboard
You can open the Arduino IDE as follows:
After using the USB data cable to connect the BiBoard and Chromebook, you will see a prompt: Please click Connect to Linux.
and check in the Settings interface, and it should be enabled as follows:
Use the following commands to install the library pyserial for uploading the sketch for BiBoard
After downloading the project file OpenCatEsp32-main.zip from GitHub: https://github.com/PetoiCamp/OpenCatEsp32, use the following commands to unzip it to the Downloads folder.
cd /mnt/chromeos/MyFiles/Downloads/
sudo apt-get install xz-utils
sudo tar -C /opt -xf arduino-1.8.19-linux64.tar.xz
cd /opt
ls
cd arduino-1.8.19/
ls
sudo ./install.sh
sudo apt install python3 pip
python3 -V
pip -V
cd /usr/lib/python3.11/
sudo rm EXTERNALLY-MANAGED
sudo pip3 install pyserial
pip list
cd /mnt/chromeos/MyFiles/Downloads/
sudo apt-get install unzip
unzip OpenCatEsp32-main.zip