Search found 9 matches

by leofabri
Sat Mar 28, 2020 2:08 pm
Forum: ESP-IDF
Topic: Occasional "ninja: error: opening build log: Permission denied" when building project
Replies: 9
Views: 21923

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

gunar.kroeger wrote:
Fri Mar 27, 2020 11:41 am
I can confirm that posting to the forum solves the issue. hahahah
but I saw it happening a few times with 3 computers
Hahaha :lol:
by leofabri
Fri Mar 27, 2020 9:54 am
Forum: ESP-IDF
Topic: Occasional "ninja: error: opening build log: Permission denied" when building project
Replies: 9
Views: 21923

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

For some reason. This has never happened again since this post :?:
by leofabri
Fri Mar 27, 2020 9:53 am
Forum: ESP-IDF
Topic: Map and global variable erased on constructor creation
Replies: 0
Views: 2001

Map and global variable erased on constructor creation

I'm working on a project that wasn't initially developed by me. I'm trying to make it work with esp-idf v4 (instead of v3.0). Every time the constructor of AppCommandApp() is initialized, the entire content of the global MyCommandApp seems to be getting erased and the map of commands is incomplete. ...
by leofabri
Tue Mar 03, 2020 2:16 pm
Forum: ESP-IDF
Topic: I need some help with advanced/custom error handling on ESP-IDF v4
Replies: 2
Views: 4069

Re: I need some help with advanced/custom error handling on ESP-IDF v4

Does app_boot.cpp have extern "C" { #include "freertos/xtensa_api.h" } ? Your project can include a local, customised version of the component that will take priority over the original. Hi, thank you for asking. Yes, I forgot to mention it, but the app_boot.cpp file does have that included. That's ...
by leofabri
Tue Mar 03, 2020 10:51 am
Forum: ESP-IDF
Topic: I need some help with advanced/custom error handling on ESP-IDF v4
Replies: 2
Views: 4069

I need some help with advanced/custom error handling on ESP-IDF v4

Hello everyone, I'm quite new to esp-idf and I'm building an app where I really need to intercept exceptions, disable faulty components and do some raw user/app-controlled tracing, but I'm afraid I need a custom error handler. I hate the idea of modifying the official esp-idf's components just to ad...
by leofabri
Fri Feb 21, 2020 10:02 am
Forum: ESP-IDF
Topic: Occasional "ninja: error: opening build log: Permission denied" when building project
Replies: 9
Views: 21923

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

Hi, this is my setup: OS: Windows 10 Pro Inisider Preview, Build 19569 xtensa-esp32-elf: esp-2019r2-8.2.0 esp32ulp-elf: 2.28.51.20170517 cmake: 3.13.4 openocd-esp32: v0.10.0-esp32-20190313 mconf: v4.6.0.0-idf-20190628 ninja: 1.9.0 idf-exe: 1.0.1 ccache: 3.7 python: py3.7 ESP-IDF: V4.0 When I try to ...
by leofabri
Fri Feb 21, 2020 6:51 am
Forum: ESP-IDF
Topic: ESP-IDF V4.0, "undefined reference to" when working with multiple src files inside main
Replies: 2
Views: 11488

Re: ESP-IDF V4.0, "undefined reference to" when working with multiple src files inside main

boarchuz wrote:
Thu Feb 20, 2020 7:38 pm
You need to manually list your source files for main component:

idf_component_register(SRCS "app_main.cpp" "app_config.cpp" "app_housekeeping.cpp" ... etc
Thank you so much. I feel like I should have noticed that by myself but I didn't :lol:
by leofabri
Thu Feb 20, 2020 1:45 pm
Forum: ESP-IDF
Topic: ESP-IDF V4.0, "undefined reference to" when working with multiple src files inside main
Replies: 2
Views: 11488

ESP-IDF V4.0, "undefined reference to" when working with multiple src files inside main

Hi, I'm facing a problem when I try to compile an existing project which I'm basically trying to readapt to work with the new version of ESP-IDF V4.0 (the previous one was V3.3). I noticed that the new development environment uses CMake in order to get the app running so, maybe my "inexperience" is ...
by leofabri
Wed Feb 19, 2020 3:57 pm
Forum: ESP-IDF
Topic: How to program my ESP32 using WSL2?
Replies: 2
Views: 4377

How to program my ESP32 using WSL2?

Hello everyone, I need some help figuring out how to program ESP devices using WSL2. I'm can compile the code on Ubuntu running on top of WSL2 but I'm still having difficulties flashing and monitoring the builds to my peripherals because as we all know, serial devices are not currently recognized. J...