Search found 2067 matches

by ESP_igrr
Tue Nov 20, 2018 1:23 am
Forum: ESP-IDF
Topic: define variable preprocessor (CPPFLAGS) in make comand line
Replies: 5
Views: 6174

Re: define variable preprocessor (CPPFLAGS) in make comand line

CPPFLAGS are preprocessor flags, then apply both to C and C++. CFLAGS apply to C. CXXFLAGS apply to C++. Same with EXTRA_...
by ESP_igrr
Tue Nov 20, 2018 1:21 am
Forum: General Discussion
Topic: Lowest power consumption while maintaining an association
Replies: 6
Views: 10761

Re: Lowest power consumption while maintaining an association

I have seen the issue on GitHub, but someone else is going to look into WiFi disconnections are reply to that issue.
I can say that this might be dependent on Wi-Fi AP, because the same example works in my local testing for hours with only a few disconnects followed by successful reconnect.
by ESP_igrr
Tue Nov 20, 2018 12:10 am
Forum: ESP-IDF
Topic: Problem: Setting up JTAG debugger for ESP32
Replies: 14
Views: 14703

Re: Problem: Setting up JTAG debugger for ESP32

xtensa-esp32-elf-gdb build/scan.elf -x .gdbinit
by ESP_igrr
Tue Nov 20, 2018 12:08 am
Forum: ESP-IDF
Topic: FATFS upgrade via OTA
Replies: 9
Views: 9684

Re: FATFS upgrade via OTA

One nice property of updating the entire partition is atomicity. That is, either the update takes place, and everything is updated, or the update doesn't take place. If the entire partition is updated, then you can't find yourself in a situation of half-finished update due to e.g. power turned off i...
by ESP_igrr
Mon Nov 19, 2018 11:58 pm
Forum: ESP-IDF
Topic: define variable preprocessor (CPPFLAGS) in make comand line
Replies: 5
Views: 6174

Re: define variable preprocessor (CPPFLAGS) in make comand line

On Make command line, or in the project makefile, you can use EXTRA_CPPFLAGS — these will be appended to CPPFLAGS without replacing anything.
by ESP_igrr
Mon Nov 19, 2018 3:59 am
Forum: General Discussion
Topic: Lowest power consumption while maintaining an association
Replies: 6
Views: 10761

Re: Lowest power consumption while maintaining an association

To back up the numbers I gave in the previous post, I ran a test using wifi/power_save example of ESP-IDF v3.1.1, and got the below graph. This was captured using TCP0030A current probe on 5A range.

tek00001.png
tek00001.png (16.33 KiB) Viewed 10695 times
by ESP_igrr
Sun Nov 18, 2018 4:14 am
Forum: Hardware
Topic: RMT Interrupt Delayed when WiFi STA Connect Failing
Replies: 2
Views: 4199

Re: RMT Interrupt Delayed when WiFi STA Connect Failing

Wi-Fi driver might be saving some state data into flash (NVS). When flash operation is in progress, interrupts with handlers on in IRAM are temporarily disabled. A quick way to check if that is the case would be to either disable saving of wifi state into NVS (can be done in menuconfig under compone...
by ESP_igrr
Sun Nov 18, 2018 3:59 am
Forum: General Discussion
Topic: Lowest power consumption while maintaining an association
Replies: 6
Views: 10761

Re: Lowest power consumption while maintaining an association

I don't see anything obviously wrong with your test procedure, however we are getting slightly different peak values — 180mA during TX (which may be because of different data rate, antenna, etc, not sure) and 37mA for the periodic 100ms wakeup. We measure these values using a current probe and an os...