Hi Forum
Im new to ESP32 programming
I have compiled and downloaded a few projects successfully using vscode and platformio
my platformio.ini includes:
platform = espressif32
board = az-delivery-devkit-v4
framework = espidf
i have added #include "esp_log.h" to a working project currently measuring temperature and humidity
ihave created a tag
static char tag[] = "test_ST7920";
i have called
ESP_LOGD(tag, "All done!\n");
in app_main
the project uploads and runs succesfully on my dev kit
I start a second terminal and paste
idf.py flash monitor
i get an error message
Please use idf.py only in an ESP-IDF shell environment.
any help would be great
ESP_LOG
-
- Posts: 1708
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP_LOG
Did you run the export.sh script in your terminal? (https://docs.espressif.com/projects/esp ... set-up-env) (or export.bat in Windows (https://docs.espressif.com/projects/esp ... and-prompt))
Re: ESP_LOG
Thank you very much that has got me further down the road. It pays to read carefully I thought this had only to be done only once.
Much appreciated.
Much appreciated.
Who is online
Users browsing this forum: FX2032 and 111 guests