I have a MKS GEN L v1.0 3dprinter board that works fine uploading using the IDE. But I need to install to it using the arduino-cli.
For some reason, the command arduino-cli board list
says that the board has an unknown FQBN. Which is fine, I guess. I guess I don't know how to compile & upload without the FQBN.
The options I need selected (which work in the IDE) are:
- Board: Arduino/Genuino Mega or Mega 2560
- Processor: ATmega2560
- Programmer: AVRISP mkII
I don't understand why these options aren't clearly available in the arduino-cli.
I ran these commands: arduino-cli core install arduino:avr and arduino-cli core install arduino:megaavr
I ran arduino-cli board list
. It says /dev/ttyUSB0, serial, Serial Port (USB), "Unknown" for FQBN....
I run arduino-cli compile Marlin
. It says "unknown FQBN".
So how do I install using the same parameters in the IDE?
arduino-cli core install arduino:avr
andarduino-cli core install arduino:megaavr
... Is there something else I should do?