Xinyuan-LilyGO / LilyGo-T-SIM7080G

42 stars 22 forks source link

[RESOLVED] / TIPP: Make Serial.println() work with ESP32S3 and IDF projects do this #63

Closed Peer77 closed 2 months ago

Peer77 commented 2 months ago

Hi,

just to report back, tried quite a lot to make Serial.println() working (no output to console was seen) on the ESP32S3 in IDF projects and what resolved the issue is the following:

Channel for console output (USB Serial/JTAG Controller) -> set to USB Serial / JTAG Controller

and add to the CMakeLists.txt in project's root

add_definitions( -DARDUINO_USB_MODE -DARDUINO_USB_CDC_ON_BOOT )

rgds,

Peer77 commented 2 months ago

resolved