Search found 4 matches

by aremmell
Thu Dec 14, 2023 12:07 am
Forum: ESP32 Arduino
Topic: PlatformIO/Arduino/ESP-IDF: 'Serial' was not declared in this scope
Replies: 4
Views: 64108

Re: PlatformIO/Arduino/ESP-IDF: 'Serial' was not declared in this scope

So, I got past the undefined symbol by adding this to platformio.ini for this board: build_flags = -DCORE_DEBUG_LEVEL=3 -DARDUINO_USB_MODE -DARDUINO_USB_CDC_ON_BOOT=1 It builds, but Serial.println does not result in any text coming back over the connection (yes, I did Serial.begin() ). Strangely (or...
by aremmell
Wed Dec 13, 2023 4:04 am
Forum: ESP32 Arduino
Topic: PlatformIO/Arduino/ESP-IDF: 'Serial' was not declared in this scope
Replies: 4
Views: 64108

Re: PlatformIO/Arduino/ESP-IDF: 'Serial' was not declared in this scope

Thanks for the reply. I copied the sdkconfig from core into my project, but I'm still getting no Serial symbol defined, even though this time, HardwareSerial.h has an extern HardwareSerial Serial; in it. Serial is even undefined in the core itself: /Users/ryan/.platformio/packages/framework-arduinoe...
by aremmell
Tue Dec 12, 2023 11:13 pm
Forum: ESP32 Arduino
Topic: ESP32 - Guru Meditation Error: Core 1 panic'ed (LoadProhibited)
Replies: 12
Views: 151365

Re: ESP32 - Guru Meditation Error: Core 1 panic'ed (LoadProhibited)

Have you examined esp_now_init()? Maybe the USB connection isn't a red herring and it's actually the issue itself. Perhaps there's something relevant in that function that could offer a clue as to where to look next...
by aremmell
Tue Dec 12, 2023 11:06 pm
Forum: ESP32 Arduino
Topic: PlatformIO/Arduino/ESP-IDF: 'Serial' was not declared in this scope
Replies: 4
Views: 64108

PlatformIO/Arduino/ESP-IDF: 'Serial' was not declared in this scope

I am writing a library that I'd like to be as portable as possible, and my development boards are all ESP32-based (the board I'm using currently is the Unexpected Maker Feather S3). I had been primarily using PlatformIO, with platform = espressif32 and framework = arduino until yesterday, when I rea...