Search found 46 matches

by StridingDragon
Thu Sep 02, 2021 5:21 pm
Forum: ESP-IDF
Topic: Does the ESP32 have SIMD-like instructions?
Replies: 12
Views: 10029

Does the ESP32 have SIMD-like instructions?

I've been looking through datasheets and instruction references for the Xtensa processor that is in the ESP32 but because of Xtensa's extensible nature, I can't seem to find reliable information, so here is my question… Does the ESP32-WROVER B have any SIMD-like instruction capabilities that allow y...
by StridingDragon
Wed Jul 28, 2021 7:04 pm
Forum: ESP-IDF
Topic: SPIFFS or LittleFS fail at open file
Replies: 1
Views: 2703

Re: SPIFFS or LittleFS fail at open file

Did you make sure to set the base path for LittleFS correctly when initializing it and calling esp_vfs_littlefs_register() to mount the partition? static esp_vfs_littlefs_conf_t conf = { .base_path = "/data", .partition_label = "data", .format_if_mount_failed = true, .dont_mount = false, }; After mo...
by StridingDragon
Wed Jul 28, 2021 1:24 am
Forum: ESP-IDF
Topic: ftruncate() in Esp-LittleFS
Replies: 0
Views: 1282

ftruncate() in Esp-LittleFS

I've been using LittleFS on the ESP32 for 2 years now and I'm really happy with it. Now, though, I tried to make an `ftruncate()` call to trim a file to size, only to find it's not implemented in the esp-littlefs virtual file system. LittleFS supports the function and the VFS even has a pointer memb...
by StridingDragon
Tue May 18, 2021 12:27 am
Forum: ESP-IDF
Topic: Embed binary file in a way that is not loaded into memory
Replies: 4
Views: 3626

Re: Embed binary file in a way that is not loaded into memory

Yes, I ran some tests the other day and noticed that, which was very good news. Thank you.
by StridingDragon
Sun May 16, 2021 1:37 am
Forum: ESP-IDF
Topic: Embed binary file in a way that is not loaded into memory
Replies: 4
Views: 3626

Re: Embed binary file in a way that is not loaded into memory

Thanks for the link. I saw that before but was not sure if all the code is actually loaded into memory or not.My assumption was that it is, but I'll have to look into it some more, I suppose.
by StridingDragon
Sat May 15, 2021 9:58 pm
Forum: ESP-IDF
Topic: Embed binary file in a way that is not loaded into memory
Replies: 4
Views: 3626

Embed binary file in a way that is not loaded into memory

I would like to embed certain system files in my `firmware.bin` file to make sure the firmware and the files are always in sync. However, I do not want these files to be a part of the program code itself, meaning, I do not want them to be loaded into RAM, using up valuable memory. Instead, I would l...
by StridingDragon
Tue Jan 12, 2021 11:39 pm
Forum: ESP-IDF
Topic: Print stack trace at runtime
Replies: 2
Views: 6316

Re: Print stack trace at runtime

Awesome, thank you so much!
by StridingDragon
Mon Jan 11, 2021 10:54 pm
Forum: ESP-IDF
Topic: Print stack trace at runtime
Replies: 2
Views: 6316

Print stack trace at runtime

Is it possible to print the stack trace at runtime, the way it is printed after a crash? For debugging purposes, I would like to know who called a certain function when a particular condition is encountered.

Thanks for any suggestions!
by StridingDragon
Wed Dec 02, 2020 7:30 pm
Forum: ESP-IDF
Topic: btController task a performance hog?
Replies: 0
Views: 1250

btController task a performance hog?

While looking through the FreeRTOS runtime stats, I noticed that on my device, the btController task looks like a real performance hog. The device is 70% idle and 20% are used up by my main task. Some minor tasks are each well under 1% accounting for no more than 3 % altogether. However, the btContr...
by StridingDragon
Thu Nov 05, 2020 5:59 pm
Forum: ESP-IDF
Topic: What is the BLE GATT length limit?
Replies: 2
Views: 2390

Re: What is the BLE GATT length limit?

Thank you so much!