Search found 16 matches

by eagi223
Thu May 02, 2019 5:14 pm
Forum: ESP-IDF
Topic: Including files in one custom component from another
Replies: 5
Views: 8330

Re: Including files in one custom component from another

I was more looking for how to link components (compilation-wise via their component.mk files) so that one component can include a library from another component, but I figured it out as shown above. It was just a path typo in my component.mk file.
by eagi223
Thu May 02, 2019 5:11 pm
Forum: ESP-IDF
Topic: How to know amount of Binary image size that is running?
Replies: 6
Views: 9878

Re: How to know amount of Binary image size that is running?

Ah, so you want to figure out the size of you firmware at runtime? It may be possible, but I'm not sure what the use case of that would be since you know it at compile time... You can read out the contents of a partition (though the factory partition may be protected in some way so you can't corrupt...
by eagi223
Thu May 02, 2019 4:20 pm
Forum: ESP-IDF
Topic: Including C++ Precompiled Library in ESP-IDF C Project
Replies: 2
Views: 4464

Re: Including C++ Precompiled Library in ESP-IDF C Project

Yeah, that was dumb of me, sorry about that. I was following the Protobuffer C++ documentation thinking it would be more or less the same since I'm so used to using C for embedded firmware, but I guess their docs are geared towards using the library for x86/64. I'll try compiling the Protobuffer C++...
by eagi223
Tue Apr 30, 2019 8:44 pm
Forum: ESP-IDF
Topic: Including C++ Precompiled Library in ESP-IDF C Project
Replies: 2
Views: 4464

Including C++ Precompiled Library in ESP-IDF C Project

I've recently tried to incorporate some C++ precompiled libraries into my IDF project, but haven't been able to get them working correctly. I've scoured this forum and StackOverflow, and seen this question asked before, but never really answered well. My specific case is that I would like to use the...
by eagi223
Tue Apr 30, 2019 7:52 pm
Forum: ESP-IDF
Topic: How to know amount of Binary image size that is running?
Replies: 6
Views: 9878

Re: How to know amount of Binary image size that is running?

Running the command make size will give you the entire size of your application and the output will look like: Total sizes: DRAM .data size: 14892 bytes DRAM .bss size: 42664 bytes Used static DRAM: 57556 bytes ( 67024 available, 46.2% used) Used static IRAM: 100377 bytes ( 30695 available, 76.6% us...
by eagi223
Tue Apr 30, 2019 7:46 pm
Forum: ESP-IDF
Topic: Using Protobuffers (C++) with ESP-IDF
Replies: 2
Views: 5277

Re: Using Protobuffers (C++) with ESP-IDF

Actually, it is NOT working. My fix worked for the issues I was having compiling the headers for Protobuffers, but now I'm getting linking errors with the precompiled library.
by eagi223
Fri Apr 19, 2019 11:15 pm
Forum: ESP-IDF
Topic: Using Protobuffers (C++) with ESP-IDF
Replies: 2
Views: 5277

Re: Using Protobuffers (C++) with ESP-IDF

I ended up figuring it out. I posted my solution here: https://stackoverflow.com/questions/556 ... 5#55768815
by eagi223
Fri Apr 19, 2019 7:05 pm
Forum: ESP-IDF
Topic: Dialogflow gRPC Support
Replies: 12
Views: 16845

Re: Dialogflow gRPC Support

I would also really like a GRPC example if possible!
by eagi223
Mon Apr 15, 2019 4:09 pm
Forum: ESP-IDF
Topic: Using Protobuffers (C++) with ESP-IDF
Replies: 2
Views: 5277

Using Protobuffers (C++) with ESP-IDF

Hi! I'm trying to use some C++ protobuffer files with my IDF project, but I'm having some issues getting it working. I've generated my test.pb.cc and test.pb.h files using protoc on my test.proto file. When I try to run "make" it fails when compiling test.pb.cc with the following error message: In f...
by eagi223
Tue Feb 19, 2019 8:07 pm
Forum: ESP-IDF
Topic: strange behavior with use of cpu=0 for application Tasks
Replies: 4
Views: 6017

Re: strange behavior with use of cpu=0 for application Tasks

I've seen similar behavior on a device I'm developing on a custom board that has a piezo for beeps and an RGB led. When wifi is connecting for, the piezo/led will stutter, even though they are being driven by FreeRTOS timer callbacks. I believe this may be caused by wifi blocking both cpu 0 and cpu...