Replies: 1 comment
-
FWIW plerup/espsoftwareserial#219 (comment) suggests the appropriate CONFIG_IDF_TARGET_<..> defines are supposed to be set automatically via the sdkconfig.h. Indeed in my project |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Awesome library @earlephilhower, can't believe how useful and comprehensive it is!
So I spent longer than I would like to admit trying to get the newest version 1.9.7 to compile. I had no issues with 1.9.3. When my upgrade failed, I traced it back to the following line in AudioOutputULP.cpp:
#ifdef ESP32
that was replaced with this (among other places):
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
I didn't have to do anything special (besides define the board) to get
ESP32
defined. My question is, is there a better way to defineCONFIG_IDF_TARGET_ESP32
in Platform IO than in the platformio.ini itself? Is it possible to define this with an esp32 board as well?This works fine, just wondering if that is the preferred way. Thanks for any thoughts,
-Mike
Beta Was this translation helpful? Give feedback.
All reactions