Search found 1656 matches

by ESP_igrr
Thu Apr 16, 2020 3:58 pm
Forum: ESP32 IDF
Topic: How to trigger GPIO with traceTASK_SWITCHED_IN()
Replies: 2
Views: 736

Re: How to trigger GPIO with traceTASK_SWITCHED_IN()

Error: unknown opcode or format name 'typedef' This happens because FreeRTOSConfig.h is also included from assembly sources (.S). You can add #ifndef __ASSEMBLER__ // #endif around your extra include header. A more lightweight alternative is to add a forward declaration of the function you require ...
by ESP_igrr
Wed Apr 15, 2020 10:41 pm
Forum: ESP32 IDF
Topic: Questions about ESP32-S2
Replies: 5
Views: 1759

Re: Questions about ESP32-S2

Hi Renato, ESP32-S2 chip will be supported in release v4.2. In release v4.1, only the ESP32-S2-beta chip (the engineering samples, not the final production chip) is supported. Hardware HMAC support has been added in commit https://github.com/espressif/esp-idf/commit/ea47bbb11835382627ed48db0a86bc4e0...
by ESP_igrr
Wed Apr 15, 2020 10:37 pm
Forum: Hardware
Topic: ESP32-CAM: what is the maximum capacity of the microSD card ?
Replies: 3
Views: 3104

Re: ESP32-CAM: what is the maximum capacity of the microSD card ?

Above 32GB, the card has to be formatted using exFAT filesystem.
exFAT is supported in IDF through FatFS library, but the support is disabled by default. You can try changing #define FF_FS_EXFAT 0 in ffconf.h from 0 to 1, and then rebuild the application.
by ESP_igrr
Wed Apr 15, 2020 10:35 pm
Forum: ESP32 IDF
Topic: Issues: latest toolchain install on Windows
Replies: 11
Views: 3961

Re: Issues: latest toolchain install on Windows

c:/users/mkm/.espressif/tools/xtensa-esp32-elf/esp-2020r1-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:/users/mkm/.espressif/tools/xtensa-esp32-elf/esp-2020r1-8.2.0/xtensa-esp32-elf/bin/../libexec/gcc/xtensa-esp32-elf/8.2.0/liblto_plugin-0....
by ESP_igrr
Wed Apr 15, 2020 10:17 pm
Forum: ESP32 IDF
Topic: Documentation discrepancy RTC fast clock
Replies: 5
Views: 1001

Re: Documentation discrepancy RTC fast clock

XTAL/4 is indeed the default RTC fast clock after reset (so is the default from hardware perspective), as indicated in register header files: /* RTC_CNTL_FAST_CLK_RTC_SEL : R/W ;bitpos:[29] ;default: 1'b0 ; */ /*description: fast_clk_rtc sel. 0: XTAL div 4 1: CK8M*/ #define RTC_CNTL_FAST_CLK_RTC_SEL...
by ESP_igrr
Tue Apr 14, 2020 3:44 pm
Forum: General Discussion
Topic: ESP32 CPU load % display without special configuration.
Replies: 8
Views: 3426

Re: ESP32 CPU load % display without special configuration.

Yes, you could return false from the idle hook to get it called repeatedly. This will probably have a small effect on current consumption. It would also not allow the automatic light sleep and dynamic frequency scaling to work correctly, if you plan to use these features.
by ESP_igrr
Tue Apr 14, 2020 1:44 pm
Forum: General Discussion
Topic: ESP32 CPU load % display without special configuration.
Replies: 8
Views: 3426

Re: ESP32 CPU load % display without special configuration.

The number of times the idle hook runs is not directly proportional to the time spent in idle state. After invoking the idle hooks, the idle task puts the CPU into "wait for interrupt state" ("waiti", similar to "wfi" in ARM CPUs). The CPU stays in "waiti" state until an interrupt happens. When the ...
by ESP_igrr
Tue Apr 14, 2020 1:40 pm
Forum: ESP32 IDF
Topic: NVS allocation for namespace sometimes doesn't allocate appropriately [IDFGH-3067]
Replies: 2
Views: 587

Re: NVS allocation for namespace sometimes doesn't allocate appropriately [IDFGH-3067]

Hi elad30300,
can you explain a bit more, how the application writes to NVS and how it reads back the items? Is there some code snippet you can share that reproduces the issue?
by ESP_igrr
Tue Apr 14, 2020 6:31 am
Forum: General Discussion
Topic: ESP32 CPU load % display without special configuration.
Replies: 8
Views: 3426

Re: ESP32 CPU load % display without special configuration.

There is (https://docs.espressif.com/projects/esp ... html#hooks), but keep in mind that vTaskDelay and other blocking functions are not allowed in the Idle task.
by ESP_igrr
Mon Apr 13, 2020 8:38 am
Forum: ESP32 IDF
Topic: Use of IRAM_ATTR and library functions
Replies: 2
Views: 709

Re: Use of IRAM_ATTR and library functions

You can use linker fragment files to place certain library functions into IRAM. See for example https://github.com/espressif/esp-idf/blob/2e14149bff63fe211d6d30ff0cd84c90b5fface9/examples/peripherals/spi_master/hd_eeprom/components/eeprom/linker.lf#L14 and docs https://docs.espressif.com/projects/es...

Go to advanced search