Open ivan-chronos opened 4 years ago
try 'adc1_get_raw'
On Tue, 19 May 2020 at 05:59, ivan-chronos notifications@github.com wrote:
Hi,
I run in esp-idf, when I build the firmware, occur this error:
./main/dht_idf_main.c: In function 'adc1_task': ../main/dht_idf_main.c:62:16: error: implicit declaration of function 'adc1_get_voltage'; did you mean 'adc1_get_raw'? [-Werror=implicit-function-declaration] int value = adc1_get_voltage(channel); ^
~~~adc1_get_raw— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tkharshithprasad/Get-Readings-form-DHT11-sensor-and-LDR-sensor-using-ESP32/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKVGDVHDEPJRXUVFIW2F32LRSHHHXANCNFSM4NERCXNQ .
-- Student Information Science and Engineering, Alva's Institution of Engineering and Technology. Contact me: +91 9742890380
Hi,
Now there´re new errors...
FAILED: dht_idf.elf
cmd.exe /C "cd . && C:\Users\ivanc.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -nostdlib @CMakeFiles\dht_idf.elf.rsp -o dht_idf.elf && cd ."
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x10): undefined reference to setDHTgpio' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x14): undefined reference to
readDHT'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x18): undefined reference to errorHandler' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x1c): undefined reference to
getHumidity'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x20): undefined reference to getTemperature' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj): in function
DHT_task':
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:22: undefined reference to setDHTgpio' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:27: undefined reference to
readDHT'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:27: undefined reference to errorHandler' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:28: undefined reference to
getHumidity'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:30: undefined reference to `getTemperature'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Are you trying this in vs code?
On Tue, 19 May, 2020, 8:02 am ivan-chronos, notifications@github.com wrote:
Hi,
Now there´re new errors...
FAILED: dht_idf.elf cmd.exe /C "cd . && C:\Users\ivanc.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -nostdlib @CMakeFiles\dht_idf.elf.rsp -o dht_idf.elf && cd ." c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x10): undefined reference to setDHTgpio' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x14): undefined reference to readDHT' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x18): undefined reference to errorHandler' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x1c): undefined reference to getHumidity' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x20): undefined reference to getTemperature' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj): in function DHT_task': c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:22: undefined reference to setDHTgpio' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:27: undefined reference to readDHT' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:27: undefined reference to errorHandler' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:28: undefined reference to getHumidity' c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:30: undefined reference to `getTemperature' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ninja failed with exit code 1
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tkharshithprasad/Get-Readings-form-DHT11-sensor-and-LDR-sensor-using-ESP32/issues/1#issuecomment-630541199, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKVGDVA666FUY36YIJ2N24LRSHVTDANCNFSM4NERCXNQ .
No...in prompt ...command line
Em seg, 18 de mai de 2020 23:40, T K Harshith Prasad < notifications@github.com> escreveu:
Are you trying this in vs code?
On Tue, 19 May, 2020, 8:02 am ivan-chronos, notifications@github.com wrote:
Hi,
Now there´re new errors...
FAILED: dht_idf.elf cmd.exe /C "cd . &&
C:\Users\ivanc.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -nostdlib @CMakeFiles\dht_idf.elf.rsp -o dht_idf.elf && cd ."
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x10): undefined reference to setDHTgpio'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x14): undefined reference to readDHT'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x18): undefined reference to errorHandler'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x1c): undefined reference to getHumidity'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x20): undefined reference to getTemperature'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(dht_idf_main.c.obj): in function DHT_task':
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:22: undefined reference to setDHTgpio'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:27: undefined reference to readDHT'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:27: undefined reference to errorHandler'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:28: undefined reference to getHumidity'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:30: undefined reference to `getTemperature' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ninja failed with exit code 1
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/tkharshithprasad/Get-Readings-form-DHT11-sensor-and-LDR-sensor-using-ESP32/issues/1#issuecomment-630541199 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AKVGDVA666FUY36YIJ2N24LRSHVTDANCNFSM4NERCXNQ
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tkharshithprasad/Get-Readings-form-DHT11-sensor-and-LDR-sensor-using-ESP32/issues/1#issuecomment-630543820, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOADYGR5BJGHAQWAZYNWJD3RSHWRRANCNFSM4NERCXNQ .
Setup Esp-idf and FreeRTOS in vs code. Then run it.
Student Information Science and Engineering, Alva's Institute of Engineering and Technology.
On Tue, 19 May, 2020, 8:13 am ivan-chronos, notifications@github.com wrote:
No...in prompt ...command line
Em seg, 18 de mai de 2020 23:40, T K Harshith Prasad < notifications@github.com> escreveu:
Are you trying this in vs code?
On Tue, 19 May, 2020, 8:02 am ivan-chronos, notifications@github.com wrote:
Hi,
Now there´re new errors...
FAILED: dht_idf.elf cmd.exe /C "cd . &&
C:\Users\ivanc.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe
-mlongcalls -Wno-frame-address -nostdlib @CMakeFiles\dht_idf.elf.rsp -o dht_idf.elf && cd ."
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x10): undefined reference to setDHTgpio'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x14): undefined reference to readDHT'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x18): undefined reference to errorHandler'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x1c): undefined reference to getHumidity'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
esp-idf/main/libmain.a(dht_idf_main.c.obj):(.literal.DHT_task+0x20): undefined reference to getTemperature'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
esp-idf/main/libmain.a(dht_idf_main.c.obj): in function DHT_task':
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:22:
undefined reference to setDHTgpio'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:27:
undefined reference to readDHT'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:27:
undefined reference to errorHandler'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:28:
undefined reference to getHumidity'
c:/users/ivanc/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe:
c:\users\ivanc\onedrive\documents\esp32\dht_idf\build/../main/dht_idf_main.c:30:
undefined reference to `getTemperature' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ninja failed with exit code 1
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <
, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AKVGDVA666FUY36YIJ2N24LRSHVTDANCNFSM4NERCXNQ
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/tkharshithprasad/Get-Readings-form-DHT11-sensor-and-LDR-sensor-using-ESP32/issues/1#issuecomment-630543820 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOADYGR5BJGHAQWAZYNWJD3RSHWRRANCNFSM4NERCXNQ
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tkharshithprasad/Get-Readings-form-DHT11-sensor-and-LDR-sensor-using-ESP32/issues/1#issuecomment-630544689, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKVGDVCJAVJ3GRC27E4TIY3RSHW3PANCNFSM4NERCXNQ .
Now I think that configuration in my VSCode:
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.12.1 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (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:
-- Configuring incomplete, errors occurred! See also "C:/Users/ivanc/OneDrive/Documents/ESP32/dht_git/.pio/build/esp32dev/CMakeFiles/CMakeOutput.log".
fatal: not a git repository (or any of the parent directories): .git CMake Error at C:/Users/ivanc/.platformio/packages/framework-espidf/tools/cmake/build.cmake:270 (message): Some Python dependencies must be installed. Check above message for details. Call Stack (most recent call first): C:/Users/ivanc/.platformio/packages/framework-espidf/tools/cmake/build.cmake:396 (__build_check_python) C:/Users/ivanc/.platformio/packages/framework-espidf/tools/cmake/project.cmake:337 (idf_build_process) CMakeLists.txt:3 (project)
This configuration might work
Student Information Science and Engineering, Alva's Institute of Engineering and Technology.
On Tue, 19 May, 2020, 8:47 am ivan-chronos, notifications@github.com wrote:
Now I think that configuration in my VSCode: Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)
Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html PLATFORM: Espressif 32 1.12.1 > Espressif ESP32 Dev Module HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (esp-prog) External (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.40000.200303 (4.0.0)
- tool-cmake 3.16.4
- tool-esptoolpy 1.20600.0 (2.6.0)
- tool-idf 1.0.1
- tool-mconf 1.4060000.20190628 (406.0.0)
- tool-ninja 1.9.0
- toolchain-esp32ulp 1.22851.190618 (2.28.51)
- toolchain-xtensa32 2.80200.200226 (8.2.0) Reading CMake configuration... -- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32 -- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER. -- Project version: 1 -- Building ESP-IDF components for target esp32 -- Checking Python dependencies... pkg_resources cannot be imported probably because the pip package is not installed and/or using a legacy Python interpreter. Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages.
-- Configuring incomplete, errors occurred! See also "C:/Users/ivanc/OneDrive/Documents/ESP32/dht_git/.pio/build/esp32dev/CMakeFiles/CMakeOutput.log".
fatal: not a git repository (or any of the parent directories): .git CMake Error at C:/Users/ivanc/.platformio/packages/framework-espidf/tools/cmake/build.cmake:270 (message): Some Python dependencies must be installed. Check above message for details. Call Stack (most recent call first): C:/Users/ivanc/.platformio/packages/framework-espidf/tools/cmake/build.cmake:396 (__build_check_python) C:/Users/ivanc/.platformio/packages/framework-espidf/tools/cmake/project.cmake:337 (idf_build_process) CMakeLists.txt:3 (project)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tkharshithprasad/Get-Readings-form-DHT11-sensor-and-LDR-sensor-using-ESP32/issues/1#issuecomment-630554179, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKVGDVH6FL34QC4562QSUSDRSH26FANCNFSM4NERCXNQ .
Hi,
I run in esp-idf, when I build the firmware, occur this error:
./main/dht_idf_main.c: In function 'adc1_task': ../main/dht_idf_main.c:62:16: error: implicit declaration of function 'adc1_get_voltage'; did you mean 'adc1_get_raw'? [-Werror=implicit-function-declaration] int value = adc1_get_voltage(channel); ^
~~~adc1_get_raw