-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Description
Board
ESP32-C3-MINI Custom board
Device Description
A ESP32-C3-MINI module with hand soldered wires and decoupling caps (see diagram below)
Hardware Configuration
Hand wired module with below schematic
Version
other
IDE Name
Platform.io
Operating System
Windows and Mac
Flash frequency
80,000,000
PSRAM enabled
no
Upload speed
115200
Description
Serial monitor is completely blank when uploading main.cpp when using Platform.io. The issue does not persist when using the Arduino IDE. The main.cpp runs fine after flashing, but I get no data on the serial monitor from platform.io
I believe it may have something to do with the "USB CDC" option. When I disable this in the Arduino IDE I get no serial output, when I enable it I get serial output. I've tried adding this to my platform.ini file but have not had any luck getting the serial monitor to work with PIO
Sketch
#include "Arduino.h"
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println("I'm alive");
delay(100);
}
ini
[env:arduino-esp32c3]
platform = https://github.com/Jason2866/platform-espressif32/releases/download/v2.0.3-rc1/platform-espressif32-2.0.3-rc1.zip
board = esp32-c3-devkitm-1
framework = arduino
monitor_speed = 115200
build_flags =
; enable USB serial
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D USBCON
Debug Message
All I see on the serial monitor:
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Miniterm on /dev/cu.usbmodem21401 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
Other Steps to Reproduce
I've tried both MacOS and Windows and haven't been able to solve this. Been plugging away at it for the last few days.
I've checked every thread I could find, but none have solved my issue. Thank you for your help
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.