Search found 143 matches

by gunar.kroeger
Thu Apr 16, 2020 6:21 pm
Forum: General Discussion
Topic: Cmake is not looking for components in EXTRA_COMPONENT_DIRS
Replies: 6
Views: 3835

Re: Cmake is not looking for components in EXTRA_COMPONENT_DIRS

set(EXTRA_COMPONENT_DIRS "../common/some_shared_component") I tried it this way, but get the same error. How should one link to the some_shared_component from inside the project components that REQUIRE it? The way I thought it would work and that I think would be the most usefull is if: 1. look for...
by gunar.kroeger
Tue Apr 14, 2020 2:20 pm
Forum: General Discussion
Topic: ESP32 CPU load % display without special configuration.
Replies: 8
Views: 3071

Re: ESP32 CPU load % display without special configuration.

Even if I set the callback to return false? "Register a callback to the idle hook of the core that calls this function. The callback should return true if it should be called by the idle hook once per interrupt (or FreeRTOS tick), and return false if it should be called repeatedly as fast as possibl...
by gunar.kroeger
Tue Apr 14, 2020 1:06 pm
Forum: General Discussion
Topic: ESP32 CPU load % display without special configuration.
Replies: 8
Views: 3071

Re: ESP32 CPU load % display without special configuration.

So if I just keep incrementing a volatile variable on this hook for each core, It should increase at a rate proportional to how much the core is being idle? Is there a formula to how I can convert that to cpu load? Else, I would strip the code to run the least amount of code possible, and than the m...
by gunar.kroeger
Mon Apr 13, 2020 7:43 pm
Forum: General Discussion
Topic: ESP32 CPU load % display without special configuration.
Replies: 8
Views: 3071

Re: ESP32 CPU load % display without special configuration.

is there a way to modify the freertos idle task to do this?
can we use configUSE_IDLE_HOOK or does esp-idf make it so that we can't change it?
by gunar.kroeger
Thu Apr 09, 2020 6:19 pm
Forum: General Discussion
Topic: Cmake is not looking for components in EXTRA_COMPONENT_DIRS
Replies: 6
Views: 3835

Re: Cmake is not looking for components in EXTRA_COMPONENT_DIRS

Can someone help with this issue? I imagine it should be an easy fix, but I can't find the solution. :?
by gunar.kroeger
Tue Mar 31, 2020 5:06 pm
Forum: General Discussion
Topic: Cmake is not looking for components in EXTRA_COMPONENT_DIRS
Replies: 6
Views: 3835

Cmake is not looking for components in EXTRA_COMPONENT_DIRS

This is our folder structure common minmea project_a components GPS_logger ... main project_b components GPS_visualizer ... I'm trying to make project_a and project_b search for the minmea component in "common" instead of having two copies to mantain. I tried modifying the projects CMakeLists.txt as...
by gunar.kroeger
Fri Mar 27, 2020 11:41 am
Forum: ESP32 IDF
Topic: Occasional "ninja: error: opening build log: Permission denied" when building project
Replies: 7
Views: 2187

Re: Occasional "ninja: error: opening build log: Permission denied" when building project

I can confirm that posting to the forum solves the issue. hahahah
but I saw it happening a few times with 3 computers
by gunar.kroeger
Wed Mar 25, 2020 2:01 pm
Forum: IDEs for ESP-IDF
Topic: No squiggly lines for build errors Vs Code
Replies: 4
Views: 3210

Re: No squiggly lines for build errors Vs Code

"For this configuration to work, you need to set you C/C++ Extension Intellisense engine to Tag Parser" But I don't know why.

how do you mean "Try removing the unix lines in your cpp_properties (the first line in each array)."?

thanks
by gunar.kroeger
Tue Mar 24, 2020 2:32 pm
Forum: IDEs for ESP-IDF
Topic: No squiggly lines for build errors Vs Code
Replies: 4
Views: 3210

No squiggly lines for build errors Vs Code

I configured VS Code (Windows) to use the first c_cpp_propreties.json of https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/C_CPP_CONFIGURATION.md and set the Intellisense Engine to Tag Parser I get squiggly lines for wrong includes, or wrong syntax, but I don't get them after a ...

Go to advanced search