Search found 260 matches

by urbanze
Fri Jan 31, 2020 11:42 pm
Forum: General Discussion
Topic: eFuse factory already wrote
Replies: 2
Views: 324

Re: eFuse factory already wrote

Obviously, that shouldn't happen. Is this consistent across readouts? This only happens with one module/chip, right? What is the MAC number? Yes, all eFuse read are the same value. Yes, I noticed this behaviour only one time in my life with esp32. Summary above has MAC (MAC Factory MAC Address = 3c...
by urbanze
Thu Jan 30, 2020 3:49 pm
Forum: General Discussion
Topic: eFuse factory already wrote
Replies: 2
Views: 324

eFuse factory already wrote

Hello! I want to know about de chances of eFuses become burned from de factory :lol: In this week, I'm uploading all boards from my job and in process to burn flash key, tool tell's about already value in keys. See, Flash key and Block 3 has 0xFF bytes wrote, and I never get, in my hands, this esp32...
by urbanze
Thu Nov 21, 2019 7:44 pm
Forum: General Discussion
Topic: C library linkage fail in C++
Replies: 7
Views: 981

Re: C library linkage fail in C++

It looks like maybe your main component.mk doesn't add the "tinyexpr" subdirectory to COMPONENT_SRCDIRS? This means the tinyexpr.c file is never compiled as part of the build. The hack where you #include "tinyexpr/tinyexpr.c" main.c works, because now the files are compiled as part of main.c. Check...
by urbanze
Thu Nov 21, 2019 1:42 pm
Forum: General Discussion
Topic: Approximate reasonably CPU load per core?
Replies: 6
Views: 715

Re: Approximate reasonably CPU load per core?

Folks, Is there an "official" way to read the approximate CPU load e.g. how much time is spent in IDLE vs other tasks? I'd ideally need this per core, tips on how to achieve that would be appreciated. Thanks With RTOS stats, you can see task usage of all tasks of both cpus (including IDLEs) https:/...
by urbanze
Wed Nov 20, 2019 11:33 pm
Forum: General Discussion
Topic: C library linkage fail in C++
Replies: 7
Views: 981

Re: C library linkage fail in C++

You cannot remove: extern "C" void app_main() The ESP32 wants to call you and so your app_main() must be declared as "C" call style. You can still stuff your app_main() full of vectors, maps etc but you must do as above (don't use { with app_main()). Well, I drag the exact same code, no work (same ...
by urbanze
Wed Nov 20, 2019 11:27 am
Forum: General Discussion
Topic: C library linkage fail in C++
Replies: 7
Views: 981

Re: C library linkage fail in C++

While I did not flash a device to do a test run (I am sure it will work fine); This works perfectly fine for me (both as C and as C++). #include <stdio.h> #include <tinyexpr.h> #ifdef __cplusplus extern "C" #endif void app_main() { printf("%f\n", te_interp("5*5", 0)); /* Prints 25. */ } I suspect w...
by urbanze
Mon Nov 18, 2019 4:52 pm
Forum: General Discussion
Topic: C library linkage fail in C++
Replies: 7
Views: 981

C library linkage fail in C++

I trying to use "tinyexpr" library (C) in my main.cpp file but even with 'extern "C" {}', link can't completed. However, when I change my file to main.c, link can be completed. https://github.com/codeplea/tinyexpr 1. Here, is my real ambient (main.cpp file), trying to include tinyexpr C library. Yes...
by urbanze
Tue Nov 12, 2019 6:09 pm
Forum: General Discussion
Topic: Build ULP from scratch to Raspberry 4
Replies: 2
Views: 392

Re: Build ULP from scratch to Raspberry 4

https://sourceware.org/bugzilla/show_bug.cgi?id=22823 Hi Wi5! I already "fix" this problem, in release tab (binutils github) have "armel" version and worked, but I would like to decrease some versions to remove ULP warnings about ULP ASM. I couldn't understand what was done to fix the problem, he i...
by urbanze
Sun Nov 10, 2019 4:20 am
Forum: General Discussion
Topic: Build ULP from scratch to Raspberry 4
Replies: 2
Views: 392

Build ULP from scratch to Raspberry 4

Hi guys! iam trying to use one project with ULP, compilling over raspberry pi 4, but I cant build ULP bin utils from scratch. Just following instructions in readme of: https://github.com/espressif/binutils-esp32ulp 0. git clone https://github.com/espressif/binutils-esp32ulp.git --recursive 1. ./conf...
by urbanze
Thu Aug 22, 2019 11:33 am
Forum: ESP32 IDF
Topic: Enabling Flash Encryption after Secure Boot
Replies: 4
Views: 438

Re: Enabling Flash Encryption after Secure Boot

Hi Vincent, the issue is that I flashed the bootloader already in 'One-Time Flash' mode and would need to re-flash the bootloader with Flash Encryption enabled in order for this to work? Unfortunately that's correct. Flash encryption is enabled by the bootloader during first boot, so you need to co...

Go to advanced search