PlatformIO Community

Where are esp_adc/adc_continuous.h and .c files?

ESP-IDF is supposed to have this file esp-idf/adc_continuous.c at master · espressif/esp-idf · GitHub since version 5.0, however I can’t find it on my system (searched recursively at ~/.platformio/*).

Any idea how to access it? Do I need to use menuconfig to bring it in?

My platformio.ini is

platform = espressif32
board = esp32dev
framework = espidf
monitor_speed = 115200

And this is my build log below.

Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)
------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: Espressif 32 (5.1.1) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
 - framework-espidf @ 3.40401.0 (4.4.1)
 - tool-cmake @ 3.16.4
 - tool-esptoolpy @ 1.30300.0 (3.3.0)
 - tool-idf @ 1.0.1
 - tool-mconf @ 1.4060000.20190628 (406.0.0)
 - tool-ninja @ 1.9.0
 - toolchain-esp32ulp @ 1.22851.191205 (2.28.51)
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
Reading CMake configuration...
LDF: Library Dependency Finder ->
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Running menuconfig...
[0/1] cmd.exe /C "cd /D C:\projects\esp32\repo\platformio\.pi... config C:/projects/esp32/repo/platformio/sdkconfig.esp32dev" 
C:/Users/user/.platformio/packages/framework-espidf/Kconfig:14: warning: IDF_ENV_FPGA has 'option env="IDF_ENV_FPGA"', but the environment variable IDF_ENV_FPGA is not set
Loaded configuration 'C:/projects/esp32/repo/platformio/sdkconfig.esp32dev'
No changes to save (for 'C:/projects/esp32/repo/platformio/sdkconfig.esp32dev')


So no wonder it’s not there – they would need to add support for that in GitHub - platformio/platform-espressif32: Espressif 32: development platform for PlatformIO

Thanks @maxgerhardt , I was looking at the 5.1.1 version in the log :wink:

I filed an issue request. Is it at the right place?

1 Like