https://docs.espressif.com/projects/esp ... structures
Also esp_now_send return value only indicates that the packet was internally queued successfully. You need to use the send callback to determine the outcome of sending it.
Search found 573 matches
- Mon Mar 04, 2024 5:03 pm
- Forum: General Discussion
- Topic: [SOLVED] ESPNOW Packets Send Only AFTER De-Initilasation of Wireless Protocols
- Replies: 2
- Views: 577
- Tue Feb 13, 2024 3:50 am
- Forum: ESP-IDF
- Topic: freertos task does not cleanup c++ class objects on vTaskDelete
- Replies: 3
- Views: 686
Re: freertos task does not cleanup c++ class objects on vTaskDelete
vTaskDelete doesn't return so obj never goes out of scope so obj's destructor never runs. This is expected. C++ has no way of "knowing" what vTaskDelete(NULL) does, it can't be cleaning up anything upon arbitrary function calls that it expects to return from. A separate function or your commented br...
- Mon Feb 05, 2024 4:36 am
- Forum: ESP-IDF
- Topic: ESP32-S2: need to adjust Brown Out Level at runtime
- Replies: 15
- Views: 3625
Re: ESP32-S2: need to adjust Brown Out Level at runtime
However, if I programmatically set the brown-out detector threshold to 3.19v right before shutting off the boost converter (remember, the ultracap is 3.0v max), the ESP32-S2 is guaranteed to be held in brown-out reset until VDD reaches 3.30v. What is guaranteeing this? I would expect an immediate b...
- Tue Jan 30, 2024 1:50 am
- Forum: Showcase
- Topic: ESP32 USB DFU Bootloader
- Replies: 2
- Views: 2908
ESP32 USB DFU Bootloader
https://github.com/boarchuz/bo_dfu Bitbanged USB Low Speed and DFU for the ESP32 2nd-stage bootloader. It works surprisingly well, give it a try! It's surreal plugging my ESP32 into my phone and updating it in a web browser (when WebUSB decides to work, at least). Some ideas: enable OTA updates with...
- Mon Jan 29, 2024 5:17 am
- Forum: ESP-IDF
- Topic: undefined reference when linking .obj files in Visual Studio Code and ESP32 IDE
- Replies: 2
- Views: 552
- Wed Jan 24, 2024 10:15 pm
- Forum: General Discussion
- Topic: Padding Bytes between Instructions in Disassembly
- Replies: 2
- Views: 775
Re: Padding Bytes between Instructions in Disassembly
Looks like this: https://sourceware.org/binutils/docs/as ... nment.html
"As an optimization to improve performance, the assembler attempts to align branch targets so they do not cross instruction fetch boundaries."
"As an optimization to improve performance, the assembler attempts to align branch targets so they do not cross instruction fetch boundaries."
- Mon Jan 22, 2024 12:09 pm
- Forum: ESP-IDF
- Topic: Support for multiple coredumps?
- Replies: 2
- Views: 702
Re: Support for multiple coredumps?
Will overwrite. Only one is supported.
- Mon Jan 22, 2024 12:07 pm
- Forum: General Discussion
- Topic: ESP32: Partition Table Update through OTA
- Replies: 13
- Views: 31752
Re: ESP32: Partition Table Update through OTA
You risk bricking the device if the erase+write is interrupted for any reason, so imo it's worth avoiding this where possible. Unless these changes need to be backwards compatible, there's no need to literally alter the partition table. You can specify the partition in your esp_vfs_littlefs_conf_t, ...
- Mon Jan 22, 2024 11:54 am
- Forum: General Discussion
- Topic: Can I use "Boot" button as a GPIO push button after program is loaded onto flash in ESP32?
- Replies: 5
- Views: 19726
Re: Can I use "Boot" button as a GPIO push button after program is loaded onto flash in ESP32?
There's nothing special about GPIO0 in this respect, so I would expect some bouncing from the tactile switch. There may be a capacitor which will filter out a bit of noise, but it may also cause boot issues so most designs exclude it. Even if this particular switch is very well-behaved you shouldn't...
- Fri Jan 19, 2024 12:25 pm
- Forum: ESP-IDF
- Topic: Esp32S3 : Is it possible to activate an output of the chip before app_main() is executed ?
- Replies: 7
- Views: 1356
Re: Esp32S3 : Is it possible to activate an output of the chip before app_main() is executed ?
The NVS component would be quite heavy for this imo, not to mention the significant effort of porting it to the bootloader. I would assign a single-sector (0x1000 bytes) partition for this purpose, and use basic flash operations to read and alter the setting: to get the current setting, read and cou...