Search found 8 matches

by geedotk
Thu Sep 14, 2023 10:48 pm
Forum: ESP-IDF
Topic: Read TSF from an ISR in a SoftAP?
Replies: 0
Views: 2958

Read TSF from an ISR in a SoftAP?

Is there any safe way to read the SoftAP TSF value from within an ISR? If I'm running STA code, I have been able to call esp_mesh_get_tsf_time from within an ISR and I haven't seen any problems. However, if I'm running SoftAP code, I can't call esp_wifi_get_tsf_time(WIFI_IF_AP) from within an ISR or...
by geedotk
Thu Jun 08, 2023 10:53 pm
Forum: ESP-IDF
Topic: Macro to detect ESP32-xx architecture
Replies: 1
Views: 1579

Macro to detect ESP32-xx architecture

Is there any defined macro that I can use to detect the ESP32-xx architecture at build time? I've got some code that I would like to be able to compile for different architectures like ARM or x86. For example, I can check for the existence of the "__ARM_ARCH" macro to see if it is being built for AR...
by geedotk
Tue May 09, 2023 7:07 pm
Forum: IDEs for ESP-IDF
Topic: terminal terminates and idf_monitor runs wrong baud rate
Replies: 4
Views: 4379

Re: terminal terminates and idf_monitor runs wrong baud rate

Ok. Adding "idf.monitorBaudRate": "115200" to .vscode/settings.json fixed the problem! I can now do a Build, Flash, and Monitor and see the output correctly at 115200. I wonder why I now have to do this since I didn't have to do this before. It seems to be ignoring the CONFIG_ESP_CONSOLE_UART_BAUDRA...
by geedotk
Tue May 09, 2023 12:51 am
Forum: IDEs for ESP-IDF
Topic: terminal terminates and idf_monitor runs wrong baud rate
Replies: 4
Views: 4379

terminal terminates and idf_monitor runs wrong baud rate

I have VSCode with esp-idf extension v1.6.2 and recently have a problem when if I try to do a Build, Flash, and Monitor on the Blink example, it builds and flashes without any issues. The problem is when it tries to monitor, I usually (but not always) get a popup window that says "The terminal proce...
by geedotk
Mon Mar 13, 2023 7:40 pm
Forum: ESP-ADF
Topic: multi-room example fails with "memory exhausted" on ESP32-S3-Korvo-2 V3.0
Replies: 1
Views: 2687

multi-room example fails with "memory exhausted" on ESP32-S3-Korvo-2 V3.0

I built the "multi-room" example using ESP-ADF release/v2.4 and ESP-IDF release/v4.4 and configured it for the ESP32-S3 on the ESP32-S3-Korvo-2 v3 board. I programmed it into the Korvo and the terminal showed "Slave start searching". However, when I press the PLAY or the REC button, I get error mess...
by geedotk
Fri Feb 17, 2023 7:19 pm
Forum: IDEs for ESP-IDF
Topic: build.ninja error from VSCode but works OK from terminal
Replies: 2
Views: 9530

Re: build.ninja error from VSCode but works OK from terminal

I believe I figured out a solution; VSCode didn't seem to like the location of my PowerShell installation at "C:\Program Files\PowerShell\7\pwsh.exe". It probably had to do with the space in the path. I reinstalled it at "C:\PowerShell" and now it builds ok. I still don't understand why it would bui...
by geedotk
Wed Feb 15, 2023 1:41 am
Forum: Hardware
Topic: What TDM audio CODEC can I use?
Replies: 1
Views: 2394

What TDM audio CODEC can I use?

I see in the documenation ( https://docs.espressif.com/projects/esp-idf/en/v5.0/esp32s3/api-reference/peripherals/i2s.html ) that the ESP32-S3 has TDM audio support. However, it says, "due to the hardware limitation, only up to 4 slots are supported while the slot is set to 32 bit-width, and 8 slots...
by geedotk
Tue Feb 14, 2023 12:25 am
Forum: IDEs for ESP-IDF
Topic: build.ninja error from VSCode but works OK from terminal
Replies: 2
Views: 9530

build.ninja error from VSCode but works OK from terminal

I have VS Code v1.75 and I've installed the Espressif IDF exension v1.5.1 on a Windows 11 machine After configuring the ESP-IDF extension, I tried to build the hello world example. I get this Ninja error Executing task: ninja ninja: error: loading 'build.ninja': The system cannot find the file speci...