Search found 26 matches

by vinodstanur
Tue Mar 31, 2020 6:26 pm
Forum: ESP32 IDF
Topic: can we use 4.0 stable idf with old makefile style ?
Replies: 1
Views: 502

can we use 4.0 stable idf with old makefile style ?

Are we forced to use the cmake and idf.py based build for compiling applications using stable 4.0 ?

I am more used to the old makefile style and want to migrate the code to 4.0.
Is it possible to use the makefile based build on 4.0 ?
by vinodstanur
Tue Mar 31, 2020 4:23 pm
Forum: ESP32 IDF
Topic: sleep mode current high (3mA) after enabling and disabling BLE, if not < 1 mA
Replies: 0
Views: 908

sleep mode current high (3mA) after enabling and disabling BLE, if not < 1 mA

Hello, I am able to achieve sleep mode current < 1 mA if my BLE is not enabled for first time. esp_sleep_enable_gpio_wakeup(); esp_light_sleep_start(); Now with gpio if I enable BLE and then disable it by below commands and then if I do above sleep commands, it is going to sleep but taking around 3+...
by vinodstanur
Wed Mar 25, 2020 9:20 pm
Forum: ESP32 IDF
Topic: i2c failing most of the time when light sleep is enabled and min freq 10MHz
Replies: 0
Views: 296

i2c failing most of the time when light sleep is enabled and min freq 10MHz

My i2c is failing when I am enabling light sleep. Is this normal ? I am trying to achieve low power consumption in a mode but need to maintain the complete ram and task states. So I believe the light sleep is the only option for me. (correct me if I am wrong). In light sleep I am able to achieve aro...
by vinodstanur
Tue Mar 17, 2020 10:18 am
Forum: ESP32 IDF
Topic: can an esp-idf build app can run in any app partitions? (factory / ota)
Replies: 1
Views: 792

can an esp-idf build app can run in any app partitions? (factory / ota)

Hi, I have a small question, does esp-idf build application have any thing to do with where it is going to be dumped inside the external flash ? Assume I have one factory and one ota partition which is of same size. Now, technically any same application code should be able to run from both of the pa...
by vinodstanur
Tue Mar 17, 2020 10:14 am
Forum: ESP32 IDF
Topic: recursively adding all source files in components directory using cmake setup ( esp-idf stable 4.0 )
Replies: 2
Views: 1626

recursively adding all source files in components directory using cmake setup ( esp-idf stable 4.0 )

Hello, I am having too many recursive folders in my project and all are in components directory. In new stable 4.0 I am trying to make the CMakeLists.txt is too confusing and I am not used to cmake based build. Could someone create an example for a CMakeLists.txt for recursive folder? Say I have com...
by vinodstanur
Thu Mar 12, 2020 3:24 pm
Forum: ESP32 IDF
Topic: esp32 resetting when running code updated via ota but direct make flash running fine
Replies: 0
Views: 1571

esp32 resetting when running code updated via ota but direct make flash running fine

Hi, I have some doubts regarding the esp32 ota. I customized the OTA for my requirement and I am using factory and ota_0 where factory is having my bluetooth bootloader. As of now all is fine but now I am finding my new firmware build is resetting if I do it via ota. Even I tried to load the app via...
by vinodstanur
Sun Dec 08, 2019 7:03 am
Forum: ESP32 IDF
Topic: malloc memory crashing for spi but global/static working fine
Replies: 1
Views: 408

malloc memory crashing for spi but global/static working fine

Hi, I am using esp-idf 3.3. If I use malloc to allocate a 3KB buffer, then the system is crashing. I already have around 60KB heap. I am using this buffer for LCD via spi. SPI is pushing it via DMA. If I use static/global 3KB instead, it works fine. ILI9341 initialization. Guru Meditation Error: Cor...
by vinodstanur
Tue Nov 12, 2019 6:23 am
Forum: ESP32 IDF
Topic: Preventing further writes to the fuse bits
Replies: 1
Views: 343

Preventing further writes to the fuse bits

Hi, I want to prevent further writes to fuse bits to prevent any future accidental writes. For example, I am using flash encryption but not secure boot. So in future if my program can write to the fuse bits by mistake, I don't to take a chance. So is there any way to freeze the current fuse bits to ...
by vinodstanur
Mon Nov 04, 2019 9:52 am
Forum: ESP32 IDF
Topic: Flashing plain text firmware after encryption while development
Replies: 6
Views: 985

Re: Flashing plain text firmware after encryption while development

Between IDF v3.3 and v4.x we changed the flash encryption process to support "development mode" and encrypt-while-flashing. This is why not everything described in the "latest" docs works on v3.3. The v3.3 docs are here: https://docs.espressif.com/projects/esp-idf/en/v3.3/security/flash-encryption....

Go to advanced search