@maxgerhardt, Thanks for the prompt reply!
Your suggestion surely helped in some way, the compile error changed (see below). Any other stuff that I should try an re-install?
Processing nodemcu-32s (platform: espressif32; board: nodemcu-32s; framework: espidf)
-------------------------------------------------------------------------------------------------------------------------------------------Tool Manager: Installing platformio/framework-espidf @ ~3.40402.0
Unpacking [####################################] 100%
Tool Manager: framework-espidf@3.40402.0 has been installed!
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/nodemcu-32s.html
PLATFORM: Espressif 32 (5.1.1+sha.ad4f417) > NodeMCU-32S
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (olimex-arm-usb-ocd-h) 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)
PACKAGES:
- framework-espidf @ 3.40402.0 (4.4.2)
- 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 -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Generating project linker script .pio\build\nodemcu-32s\sections.ld
Compiling .pio\build\nodemcu-32s\bootloader\hal\wdt_hal_iram.o
Compiling .pio\build\nodemcu-32s\bootloader\hal\mpu_hal.o
Compiling .pio\build\nodemcu-32s\bootloader\hal\cpu_hal.o
Compiling .pio\build\nodemcu-32s\bootloader\main\bootloader_start.o
Archiving .pio\build\nodemcu-32s\bootloader\esp-idf\hal\libhal.a
Compiling .pio\build\nodemcu-32s\bootloader\bootloader_support\src\bootloader_common.o
Compiling .pio\build\nodemcu-32s\bootloader\bootloader_support\src\bootloader_common_loader.o
Archiving .pio\build\nodemcu-32s\bootloader\esp-idf\main\libmain.a
Compiling .pio\build\nodemcu-32s\bootloader\bootloader_support\src\bootloader_clock_init.o
Compiling .pio\build\nodemcu-32s\bootloader\bootloader_support\src\bootloader_flash.o
Compiling .pio\build\nodemcu-32s\bootloader\bootloader_support\src\bootloader_mem.o
Compiling .pio\build\nodemcu-32s\bootloader\bootloader_support\src\bootloader_random.o
Compiling .pio\build\nodemcu-32s\bootloader\bootloader_support\src\bootloader_random_esp32.o
Compiling .pio\build\nodemcu-32s\bootloader\bootloader_support\src\bootloader_utility.o
C:\Users\Niels\.platformio\packages\toolchain-xtensa-esp32\bin\xtensa-esp32-elf-objdump: 'C:/Users/Niels/Documents/PlatformIO/Projects/ADC_NVS/.pio/build/nodemcu-32s/esp-idf/esp32/libesp32.a': No such file
Traceback (most recent call last):
Compiling .pio\build\nodemcu-32s\bootloader\bootloader_support\src\esp_image_format.o
File "C:\Users\Niels\.platformio\packages\framework-espidf\tools\ldgen\ldgen.py", line 178, in <module>
main()
File "C:\Users\Niels\.platformio\packages\framework-espidf\tools\ldgen\ldgen.py", line 134, in main
dump = StringIO(subprocess.check_output([objdump, '-h', library]).decode())
File "C:\Users\Niels\.platformio\python3\lib\subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Users\Niels\.platformio\python3\lib\subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\Niels\\.platformio\\packages\\toolchain-xtensa-esp32\\bin\\xtensa-esp32-elf-objdump',
'-h', 'C:/Users/Niels/Documents/PlatformIO/Projects/ADC_NVS/.pio/build/nodemcu-32s/esp-idf/esp32/libesp32.a']' returned non-zero exit status 1.
*** [.pio\build\nodemcu-32s\sections.ld] Error 1
====================================================== [FAILED] Took 300.53 seconds ======================================================
* The terminal process "C:\Users\Niels\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.