You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile the esp32_ble_ota_compact example, but I get an error due to a missing definition of TAG, and indeed there is nothing like this in the ble_ota_dfu.cpp nor ble_ota_dfu.hpp file.
Hello,
I'm trying to compile the esp32_ble_ota_compact example, but I get an error due to a missing definition of TAG, and indeed there is nothing like this in the ble_ota_dfu.cpp nor ble_ota_dfu.hpp file.
How is it possible to define it?
Regards,
ABC
Processing
esp32doit-devkit-v1 (platform: espressif32; board: esp32doit-devkit-v1; framework: arduino)---------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose
optionCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 (5.2.0) > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) 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:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 34 compatible libraries
Scanning dependencies...
Dependency Graph
|-- NimBLE-Arduino @ 1.4.1+sha.e46123a
|-- ble_ota_dfuU @ 1.0.0
Building in release mode
Compiling .pio\build\esp32doit-devkit-v1\src\main.cpp.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\esp_port\esp-hci\src\esp_nimble_hci.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\esp_port\port\src\esp_nimble_mem.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\aes_decrypt.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\aes_encrypt.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\cbc_mode.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\ccm_mode.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\cmac_mode.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\ctr_mode.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\ctr_prng.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\ecc.c.o
In file included from C:/Users/ABC/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:76,
from C:/Users/ABC/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36,
from src/main.hpp:9,
from src/main.cpp:2:
lib/ble_ota_dfu/src/./freertos_utils.hpp: In function 'void _initialize_queue(QueueDefinition**, const char*, size_t, T*)':
lib/ble_ota_dfu/src/./freertos_utils.hpp:22:14: error: 'TAG' was not declared in this scope
ESP_LOGE(TAG, "Error creating the queue "%s"", queue_name);
^~~
C:/Users/ABC/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-log.h:159:72: note: in definition of macro 'log_e'
#define log_e(format, ...) log_printf(ARDUHAL_LOG_FORMAT(E, format), ##VA_ARGS)
^~~~~~~~~~~
lib/ble_ota_dfu/src/./freertos_utils.hpp:22:5: note: in expansion of macro 'ESP_LOGE'
ESP_LOGE(TAG, "Error creating the queue "%s"", queue_name);
^~~~~~~~
lib/ble_ota_dfu/src/./freertos_utils.hpp:30:14: error: 'TAG' was not declared in this scope
ESP_LOGE(TAG, "Error initializing the queue "%s"", queue_name);
^~~
C:/Users/ABC/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-log.h:159:72: note: in definition of macro 'log_e'
#define log_e(format, ...) log_printf(ARDUHAL_LOG_FORMAT(E, format), ##VA_ARGS)
^~~~~~~~~~~
lib/ble_ota_dfu/src/./freertos_utils.hpp:30:5: note: in expansion of macro 'ESP_LOGE'
ESP_LOGE(TAG, "Error initializing the queue "%s"", queue_name);
^~~~~~~~
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\ecc_dh.c.o
Compiling .pio\build\esp32doit-devkit-v1\lib066\NimBLE-Arduino\nimble\ext\tinycrypt\src\ecc_dsa.c.o
*** [.pio\build\esp32doit-devkit-v1\src\main.cpp.o] Error 1'
The text was updated successfully, but these errors were encountered: