Using esp-idf on esp32, trying to change src_dir from “src” to “main”, seems like src_dir is not being read and an hard coded “src” is read instead.
src_dir = main
platform = espressif32
framework = espidf
monitor_speed = 115200
board_upload.flash_size = 8MB
debug_tool = jlink
debug_speed = 1000
upload_protocol = jlink
board = esp32dev
Working on windows vscode I get the following message:
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Users\***\Documents\PlatformIO\Projects\softAP\src’:
File "C:\Users*.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 177:
As you can see it is searching in src instead of main. This is after renaming the src dir to main.
The project is the esp-idf softAP example.
I also attach my cmakelists files
The project cmakelists:
list(APPEND EXTRA_COMPONENT_DIRS etl)
The main cmakelists:
file(GLOB SOURCES main.c .//.c .//.cpp)
file(GLOB APP_INCLUDE_DIRS “.” ./*/include)
REQUIRES nvs_flash esp_adc_cal)
Please advice! thank you