Troubleshooting¶
Error during build: platform not installed¶
Error during build: platform not installed
Fix
arduino-cli core install esp8266:esp8266
The internal LED is dim and the console is blank when connected to a computer via USB¶
Fix: The Feather needs to be reset. Press the physical RESET
button.
Count not open port [Errno 16] Device or resource busy¶
serial.serialutil.SerialException: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
Error during Upload: Failed uploading: uploading error: exit status 1
Fix: The serial port is open and reading the output of the Feather. Close the connection
Trouble installing Timezone_Generic library¶
Manually install by changing config of enable_unsafe_install
to true
Download the latest release zip file.
arduino-cli lib install --zip-path v1.9.1.zip
Error during build: Missing FQBN (Fully Qualified Board Name)¶
Error during build: Missing FQBN (Fully Qualified Board Name)
Fix: Add the board (-b
) parameter to compile or upload or add a sketch.json
.
fatal error: secrets.h: No such file or directory¶
solar-battery-charger/solar-battery-charger.ino:20:10: fatal error: secrets.h: No such file or directory
20 | #include "secrets.h"
| ^~~~~~~~~~~
compilation terminated.
Error during build: exit status 1
Fix: The secrets.h
file needs to be generated. See secrets to how to generate it.
Won't connect to Wi-Fi¶
There currently is not a timeout for the wifi connection and so the Feather will continue to try to connect in and endless loop.
Internal LED continues to blink in intervals.
Connecting to SSID: MySSID
..............................
Fix: Ensure that the wifi credentials are correct. See secrets.
ModuleNoteFoundError: No module named 'serial'¶
Traceback (most recent call last):
File "~/.arduino15/packages/esp32/tools/esptool_py/3.1.0/esptool.py", line 38, in <module>
import serial
ModuleNotFoundError: No module named 'serial'
sudo apt install python3-serial