Arduino Cloud Agent for Ubuntu Aarch 64

HI !
I just got an Arduino Nano, but impossible to use because my computer is running Ubuntu under AARCH64. Ye, kinda sad. So i checked and theres no officials clients for this architecture, but i discovered : Arduino Cloud (: . Only problem (ye ik theres much problems), it asks me to download the Cloud Agent HTML file, and place it in the application folder, but i really dont know if this even exists. If you can help me, tysm (:

  • Bapt-tech

What do you think is missing?

If you want the IDE, here are your choices


it's on this page. If you are trying to install the Arduino Cloud Agent so you can use the Arduino IoT cloud, then it is at here

Hi !
As i said, my computer uses the Aarch64 architecture, not the x86 one, and i wanna use the cloud editor to code my arduino

Ad i also said, i really dont know (and i think theres not) a app folder, so i wanna get some indications for where shuold i place the cloud agent in my PC

Hi @Bapt-tech.

It is not an HTML file. It is a .tar.gz file, which contains a .run file. Maybe you didn't click the "DOWNLOAD" button on the Arduino Cloud Agent installation page?

But unfortunately I don't think this will be of any use to you even if you did manage to download the file. The reason is that Arduino only distributes x86 builds of Cloud Agent.

The most simple way to get started using Arduino on your AArch64 machine is to use Arduino IDE 1.8.19. Arduino distributes AArch64 builds of that version of Arduino IDE. You can download Arduino IDE 1.8.19 from the "Linux ARM 64 bits" link at this section of the "Software" page:

https://www.arduino.cc/en/software#legacy-ide-18x

After downloading the file, follow the instructions here to install it:

https://docs.arduino.cc/software/ide-v1/tutorials/Linux/#extract-the-package


If you are set on using Arduino Cloud on an AArch64 machine, you would need to build the Cloud Agent application from source. This is a somewhat advanced endeavor. I'll provide an overview:

  1. Click the following link to open the page of the latest release in Cloud Agent's GitHub repository:
    https://github.com/arduino/arduino-create-agent/releases/latest
  2. Click the "Source code (zip)" link you will see under the "Assets" section of that page.
    A download of the ZIP file of the library will start.
  3. Wait for the download to finish.
  4. Extract the downloaded file.
  5. Open a command line terminal in the extracted folder.
  6. Follow the instructions here to install the build dependencies and perform the build:
    https://github.com/arduino/arduino-create-agent/wiki/Development
  7. Type the following command:
    ./arduino-cloud-agent
    
  8. Press the Enter key.

Arduino Cloud Agent should now start running. Note that this application simply runs in the background and serves as a "bridge" between the Arduino Cloud website and the serial port of the Arduino board connected to your computer. So you won't see a GUI open when running Cloud Agent, but Arduino Cloud should recognize that it is running and be able to interact with the board connected to your computer.

That is a bug in the website. The download page is showing you instructions for the macOS version of Cloud Agent. Those instructions are not relevant to Linux users.

You can put it anywhere you like.

Hi
I was thinking that the only issue for me was to use the cloud editor.. But the AARCH64 version seems to works nicely. About the Cloud agent, it redirects me to this page : https://cloud.arduino.cc/download-agent. When i click on the Download button, it downloads me a HTML file. I dont know why lol
Ty (:
-Bapt-tech

You are welcome. I'm glad Arduino IDE 1.8.19 is working for you.

Regards, Per

Im sorry to disturb you again, but when i want to upload a script on my Arduino, the console sends me this : Arduino : 1.8.19 (Linux), Carte : "Arduino Nano 33 BLE"

fork/exec /home/bapt-tech/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory
Erreur de compilation pour la carte Arduino Nano 33 BLE
Same when i try to upload an empty code.
Ty

So howcome on my Silicon Mac M3 I get

No worries. We're always happy to help.

This error can be caused by something going wrong when you installed the Arduino boards platform that adds support to Arduino IDE for the Nano 33 BLE board. That type of problem can often be fixed by removing and then re-installing the broken boards platform via Boards Manager.

Please try this:

  1. Select Tools > Board > Boards Manager... from the Arduino IDE menus.
    The "Boards Manager" dialog will open.
  2. Wait for the updates to finish, as shown by the messages printed at the bottom of the "Boards Manager" dialog.
  3. Scroll down through the list of boards platforms until you find the "Arduino Mbed OS Nano Boards" entry. Click on it.
    Some buttons will appear on the entry.
  4. Click the "Remove" button on the "Arduino Mbed OS Nano Boards" entry.
  5. Wait for the removal to finish.
  6. Click the "Install" button on the "Arduino Mbed OS Nano Boards" entry.
  7. Wait for the installation to finish.
  8. Click the "Close" button on the "Boards Manager" dialog.
    The "Boards Manager" dialog will close.

Now try compiling or uploading to your board again. Hopefully the error will no longer occur.

The topic is about Linux, so my statement was referring to the Linux builds of Cloud Editor.

Oops, tunnel vision.

As is common for Mac software, which has a history of changing architectures, the Cloud Agent is a Universal binary

$ file /Applications/ArduinoCloudAgent.app/Contents/MacOS/Arduino_Cloud_Agent 
/Applications/ArduinoCloudAgent.app/Contents/MacOS/Arduino_Cloud_Agent: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
/Applications/ArduinoCloudAgent.app/Contents/MacOS/Arduino_Cloud_Agent (for architecture x86_64):	Mach-O 64-bit executable x86_64
/Applications/ArduinoCloudAgent.app/Contents/MacOS/Arduino_Cloud_Agent (for architecture arm64):	Mach-O 64-bit executable arm64

for both Intel and Apple Silicon. Another option is to use Rosetta on the AS Mac to run Intel software. The downloaded disk image name is named ArduinoCloudAgent-1.6.1-osx-amd64-installer.dmg, which hints at the latter, but that is not necessary.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.