I want to use serial interface on the arduino cli environment.
So I installed the arduino cli on the lattepanda board.
But I don't know the --fqbn option to compile a source code.
On the lattepanda the board list is like the followings.
hslab@hslab:~/test/MyFirstSketch$ arduino-cli board list
Port Protocol Type Board Name FQBN Core
/dev/ttyACM0 serial Serial Port (USB) Unknown
/dev/ttyS4 serial Serial Port Unknown
And the core list is like the follwongs.
hslab@hslab:~/test/MyFirstSketch$ arduino-cli core list
ID Installed Latest Name
arduino:samd 1.8.13 1.8.13 Arduino SAMD Boards (32-bits ARM Cortex-M0+)
I to am confused by what you say .
Latte panda has the Arduino IDE already loaded ( upgradable )
I guess you can install cli from the windows part on the PC , whether it works here I’ve no idea - it does need other parts installing as per the Git.
The built in board is a Leonardo compatible and the serial port connects direct to the PC part to allow connection to the PC , uploading sketches or sending/ receiving data . Being a Leonardo the PC keeps moving the COM port number .
In you want to use another serial connection, you probably have to use software serial .
Not sure any of that helps but …
Why do you need to run the CLI version , I’ve just developed code on my PC and then copy to the panda to compile and upload with the IDE?