Closed don41382 closed 4 years ago
This probably comes from a mismatch of the sdkconfig.h
with the latest ESP-IDF requierments since the project was created using ana older esp-idf version. Removing sdkconfig.h
should also recreate it according to the newest options. Can you confirm whether this fixes the issue too?
I deleted sdkconfig.h
and got generated on compile time.
Still the same error.
~/.platformio/packages/framework-espidf/components/esp32/spiram_psram.c: In function 'psram_enable':
~/.platformio/packages/framework-espidf/components/esp32/spiram_psram.c:119:36: error: 'CONFIG_D2WD_PSRAM_CLK_IO' undeclared (first use in this function)```
You're right, that's because those build flags are put into via the platformio.ini
when SPI RAM needs to be enabled. But these flags are missing that requiered flag due to targeting an older version.
I will add your defined pins in there as a fix.
thanks for fixing!
I am pretty new to esp-idf / esp-adf development. I always walked in the safe Arduino waters, now it's time to move on ;-)
I tried to compile your project, but it's missing definition
CONFIG_D2WD_PSRAM_CLK_IO
.I had to add the following definition to the
sdkconfig.h
Do you know why they are needed?