Search found 81 matches

by gtjoseph
Tue Aug 23, 2022 12:41 pm
Forum: IDEs for ESP-IDF
Topic: Tips for getting the Eclipse Code Analyzer to not complain
Replies: 4
Views: 4558

Re: Tips for getting the Eclipse Code Analyzer to not complain

Nice guide, I was deffinitelly doing a full indexer rebuild when something was wrong, good catch. Thanks! Out of curiosity, could you explain the step 9. - why copy with rsync? Is it different from, lets say, F5 in Midnight commander or standard copy with other file explorer? Or is the main point o...
by gtjoseph
Tue Aug 23, 2022 12:31 pm
Forum: ESP-IDF
Topic: Is there a way to have ESP32 send its logs to a web server?
Replies: 6
Views: 25983

Re: Is there a way to have ESP32 send its logs to a web server?

esp_log_set_vprintf() allows you to provide an alternate backend for the log subsystem. You could create a new backend that uses the http client to send the messages anywhere you want. https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/system/log.html#_CPPv419esp_log_set_vprin...
by gtjoseph
Fri Aug 19, 2022 10:14 am
Forum: IDEs for ESP-IDF
Topic: And yet again - "Unresolved inclusions" in Eclipse
Replies: 5
Views: 4450

Re: And yet again - "Unresolved inclusions" in Eclipse

If things go wrong again, try the tips I outlined here...
https://esp32.com/viewtopic.php?f=40&t= ... 230d6bae74
by gtjoseph
Thu Aug 18, 2022 10:21 am
Forum: ESP-IDF
Topic: Eclipse Unresolved Inclusion Error
Replies: 2
Views: 2143

Re: Eclipse Unresolved Inclusion Error

See if the tips I posted here work:
https://esp32.com/viewtopic.php?f=40&t=29344
by gtjoseph
Thu Aug 18, 2022 12:28 am
Forum: IDEs for ESP-IDF
Topic: Tips for getting the Eclipse Code Analyzer to not complain
Replies: 4
Views: 4558

Tips for getting the Eclipse Code Analyzer to not complain

I've been using Eclipse since its early days for all my Java, Javascript, C/C++ and Python projects and, like many of you, have been frustrated by Eclipse's inconsistent and sometimes nonsensical Code Analyzer results for files and projects that compile and run just fine. Lately I've been getting fl...
by gtjoseph
Wed Aug 17, 2022 3:09 pm
Forum: ESP-IDF
Topic: Eclipse Unresolved Inclusion Error
Replies: 2
Views: 2143

Re: Eclipse Unresolved Inclusion Error

Stay tuned! I think I may have found the secret recipe for resolving the code analyzer issues. If it really works, I'll post it in the IDEs for ESP-IDF forum later today (UTC-6).
by gtjoseph
Wed Jul 27, 2022 11:27 am
Forum: IDEs for ESP-IDF
Topic: Is there an idf-eclipse-plugin branch that supports esp-idf 5.0 yet?
Replies: 2
Views: 1961

Re: Is there an idf-eclipse-plugin branch that supports esp-idf 5.0 yet?

Nope, not working. Anytime I touch a "trigger" file (sdkconfig, any CMakeLists.txt, etc) I have to run idf.py reconfigure from the command line or I get that error. If you think it should work, I'll try and track it down. Since I've been trying different iIEP and esp-idf branches my environment migh...
by gtjoseph
Wed Jul 20, 2022 1:47 pm
Forum: IDEs for ESP-IDF
Topic: Is there an idf-eclipse-plugin branch that supports esp-idf 5.0 yet?
Replies: 2
Views: 1961

Is there an idf-eclipse-plugin branch that supports esp-idf 5.0 yet?

I've been testing esp-idf 5.0 and adapting code to it but it looks like there's one small issue with the eclipse plugin. When building from eclipse just after running an idf.py menuconfig, I get... CMake Error at /usr/src/mcu/esp32/esp-idf/tools/cmake/build.cmake:525 (message): usage: __main__.py [-...
by gtjoseph
Fri Jul 15, 2022 3:25 pm
Forum: ESP-IDF
Topic: while setting up ESP-IDF in Ubuntu export.sh gives error
Replies: 2
Views: 2151

Re: while setting up ESP-IDF in Ubuntu export.sh gives error

The install scripts are trying to run 'pip' not 'pip3'.
Try running ' /home/abdul/.espressif/python_env/idf5.0_py3.8_env/bin/python -m pip --version' and see what you get.
by gtjoseph
Sun Jul 10, 2022 5:03 pm
Forum: ESP-IDF
Topic: System time corrupted across reboots
Replies: 11
Views: 6633

Re: System time corrupted across reboots

I think it depends on what kind of reset is performed and whether the clocks were stopped. For instance, if you toggle the EN/CHIP_PU line, that's a power cycle of the chip.

I think the only real way to recover the time locally would be to include an I2C RTC with a battery backup.