Search found 1552 matches

by ESP_igrr
Wed Jan 29, 2020 7:06 am
Forum: ESP32 IDF
Topic: -mmac16 compiler option not working in g++
Replies: 1
Views: 93

Re: -mmac16 compiler option not working in g++

Hi StridingDragon, is it possible you have been reading the outdated GCC help? There was such an option at the times of GCC version 3, but it was removed around GCC 4 timeframe. 5.2: https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gcc/Xtensa-Options.html 3.2: https://gcc.gnu.org/onlinedocs/gcc-3.2.3/gcc/Xt...
by ESP_igrr
Sat Jan 25, 2020 8:39 am
Forum: ESP32 IDF
Topic: Possible to pipe apptrace logs to GDB?
Replies: 1
Views: 107

Re: Possible to pipe apptrace logs to GDB?

Hi p-rimes, have you considered semihosting output as stdout? It should be able to reach OpenOCD console which gets mirrored in GDB. Edit: my bad, it does get shown on OpenOCD console but not in GDB. We are refactoring semihosting support for Xtensa now to use the common (ARM) semihosting implementa...
by ESP_igrr
Mon Jan 20, 2020 8:17 pm
Forum: ESP32 IDF
Topic: Time drift on reboot
Replies: 1
Views: 90

Re: Time drift on reboot

Hi Bob, Unless you sync the time from NTP, waking up periodically and setting the RTC time should not make any difference: the total drift will be the same, on average, as if the device would sleep for a long time. You may try changing the RTC clock to "8M/256", this is an option in menuconfig under...
by ESP_igrr
Mon Jan 20, 2020 8:12 pm
Forum: General Discussion
Topic: ulp code as an esp-idf project component not compiling
Replies: 4
Views: 537

Re: ulp code as an esp-idf project component not compiling

Comparing your file to https://github.com/espressif/esp-idf/bl ... mponent.mk, it seems that lines 28-30 are not present in the template. Can you please try removing these?
by ESP_igrr
Mon Jan 20, 2020 5:38 pm
Forum: ESP32 IDF
Topic: FastLed
Replies: 2
Views: 116

Re: FastLed

Hi Steve, the file you mention is part of esp32-arduino package. It is not included in ESP-IDF. You can try using Arduino as ESP-IDF component: https://github.com/espressif/arduino-es ... mponent.md
by ESP_igrr
Fri Jan 17, 2020 3:12 pm
Forum: General Discussion
Topic: esp-idf, mutex and semaphore
Replies: 1
Views: 322

Re: esp-idf, mutex and semaphore

In FreeRTOS the main difference between the two is priority inheritance for mutexes. Also it is not allowed to release a mutex from the task other than the one where it was acquired.

https://www.freertos.org/Real-time-embe ... texes.html
by ESP_igrr
Fri Jan 17, 2020 1:41 am
Forum: ESP32 IDF
Topic: Impact of concurrency constraints in SPI Flash interface
Replies: 5
Views: 400

Re: Impact of concurrency constraints in SPI Flash interface

Are you working with Arduino IDE or ESP-IDF? If you are working with the latter, it is possible to place specific object files into IRAM using a linker fragment file. For Arduino, maybe a way to work around the issue is to modify the linker script to place every object file named *-iram.o into IRAM....
by ESP_igrr
Thu Jan 16, 2020 1:22 am
Forum: ESP32 IDF
Topic: SD/MMC interface card capacity limits
Replies: 1
Views: 141

Re: SD/MMC interface card capacity limits

Typically for SDHC cards the size is limited by the filesystem, not the hardware. Cards larger than 32GB are typically sold formatted as exFat file system. FATFS library does support exFat, but this is not enabled by default. Also keep in mind that there are parents covering exFat which are still va...
by ESP_igrr
Thu Jan 16, 2020 1:10 am
Forum: ESP32 IDF
Topic: Xtensa TIE Extension
Replies: 2
Views: 144

Re: Xtensa TIE Extension

Hi StridingDragon, TIEs can be added to an Xtensa processor when the processor is designed. TIEs are implemented with fixed-purpose blocks in silicon. Once the hardware description of the processor is finalized and the chip is produced, it is no longer possible to change anything about the TIEs. To ...
by ESP_igrr
Tue Jan 14, 2020 2:21 am
Forum: ESP32 IDF
Topic: fast isr_handler during flash write or erase gives "Cache disabled but cached memory region accessed"
Replies: 5
Views: 265

Re: fast isr_handler during flash write or erase gives "Cache disabled but cached memory region accessed"

Hi bwendin, What arguments do you pass to mcpwm_isr_register? If you mark this interrupt as IRAM capable, you need to make sure that the interrupt handler and the functions called by it are placed into IRAM. You can do the latter either using IRAM_ATTR attribute or (preferably) a linker fragment file.

Go to advanced search