Search found 107 matches

by william.ferguson.au
Tue Feb 05, 2019 11:17 pm
Forum: ESP-IDF
Topic: Eclipse generating 'Invalid Args' for ESP_LOG() macros
Replies: 5
Views: 7033

Re: Eclipse generating 'Invalid Args' for ESP_LOG() macros

Thank you !!! That worked.

It now let's me see the other warnings that Eclipse has brought up.
All of them because of duplicate includes from components/arduino-esp32/tools/sdk/include

What is the standard way of ensuring that components/arduino-esp32/tools/sdk/include isn't picked up?
by william.ferguson.au
Tue Feb 05, 2019 5:00 am
Forum: ESP-IDF
Topic: Eclipse generating 'Invalid Args' for ESP_LOG() macros
Replies: 5
Views: 7033

Re: Eclipse generating 'Invalid Args' for ESP_LOG() macros

Yes, it goes to esp-idf/components/log/include/esp_log.h Are that header file's recursive includes properly referenced? I think so. When I look at the includes they are not marked as being incorrect. esp_log.h is found twice in my include path. Once in esp-idf and once in arduino-esp32. Is that like...
by william.ferguson.au
Tue Feb 05, 2019 12:27 am
Forum: ESP-IDF
Topic: Eclipse generating 'Invalid Args' for ESP_LOG() macros
Replies: 5
Views: 7033

Eclipse generating 'Invalid Args' for ESP_LOG() macros

The code compiles OK, but the Eclipse edit window has every ESP_LOGI() statement underlined in red, saying that it has invalid arguments. Eg static const char* TAG = "wt_comms"; ESP_LOGI(TAG, "Reconnecting to WiFi"); https://drive.google.com/file/d/1COMfkxiOLZB6HMzYdG7YW71yj6c_jVAN/view?usp=sharing ...
by william.ferguson.au
Mon Jan 28, 2019 12:13 pm
Forum: General Discussion
Topic: How to do OTA from unknown local server
Replies: 5
Views: 7818

Re: How to do OTA from unknown local server

Thanks @fly135.

Providing OTA via HTTP seems like the sensible approach.

William
by william.ferguson.au
Fri Jan 25, 2019 12:06 am
Forum: General Discussion
Topic: How to do OTA from unknown local server
Replies: 5
Views: 7818

How to do OTA from unknown local server

My ESP32 devices will be deployed into environments without internet connection. They will connect to a local server from which they should retrieve any OTA. I can generate a self signed cert that ships with the local server and ship the public key with the ESP32 binary. But since I won't know the I...
by william.ferguson.au
Mon Jan 07, 2019 6:37 pm
Forum: ESP-IDF
Topic: How do you change COMPONENT_NAME
Replies: 0
Views: 2364

How do you change COMPONENT_NAME

I have source in a top level folder (called "src") that I have included by setting EXTRA_COMPONENT_DIRS := src in the Makefile It's there for legacy reasons. While it gets built, it gets built into build/src. Is there a way for me to change the COMPONENT_NAME for the src folder so that it gets built...
by william.ferguson.au
Wed Jan 02, 2019 9:05 am
Forum: ESP-IDF
Topic: Adding folder s to ESP-IDF template project
Replies: 8
Views: 16550

Re: Adding folder s to ESP-IDF template project

ESP_Angus, I think there is a lot of confusion being caused by the esp-idf-template and the examples all containing config for both Make and for CMake. For those of us coming from other languages and environments it is not obvious that they are separate and distinct types of config. It would be real...