arduino / arduino-cli

Arduino command line tool
https://arduino.github.io/arduino-cli/latest/
GNU General Public License v3.0
4.24k stars 371 forks source link

error compile #2524

Closed LEKPHET-KUNSUE closed 5 months ago

LEKPHET-KUNSUE commented 5 months ago

Describe the problem

error when I use this command

arduino-cli compile src/Blink.ino --fqbn "esp32:esp32:esp32doit-devkit-v1"

error:

import serial

module not found

To reproduce

I try to compile but cannot

Expected behavior

new file firmware.bin

Arduino CLI version

3.016

Operating system

Linux

Operating system version

22.00

Additional context

No response

Issue checklist

per1234 commented 5 months ago

Hi @LEKPHET-KUNSUE. Thanks for your interest in this open source project. This issue tracker is only to be used to report bugs or feature requests specific to the project. The error you got is simply a result of you not having correctly configured your computer to compile sketches for ESP32 boards. We do not provide assistance here on GitHub so this issue is off topic.

If you would like assistance, feel free to post over on Arduino Forum. I'm sure we will be able to help you out over there:

https://forum.arduino.cc/