Hello everyone!
I've been using these VBscripts for years, and thought it was time to share them, as I've seen many people ask how this can be done easily.
For details, please see: https://github.com/HankLloydRight/FlashESP32 (This is my 2nd public repository.)
I created a couple of VBScripts to ...
Search found 7 matches
- Sat Dec 23, 2023 3:16 pm
- Forum: General Discussion
- Topic: VBScript to flash ESP32 over USB in the field when OTA isn't available
- Replies: 0
- Views: 3861
- Thu Oct 27, 2022 4:53 pm
- Forum: General Discussion
- Topic: how to configure PlatformIO ESP32 project for CoreDump
- Replies: 6
- Views: 8499
Re: how to configure PlatformIO ESP32 project for CoreDump
It's both. Arduino has fixed values which is in and of itself a messed up idea. I am not sure why PlatformIO does not allow it because I use VisualStudio Code, and have hotkeys to get to it.
I'm using VSC with PIO and Arduino platform -- what hot keys get you to menuconfig?
I'm also trying to ...
- Thu May 12, 2022 10:53 am
- Forum: ESP32 Arduino
- Topic: Difference between ESP.getFreeHeap() and xPortGetFreeHeapSize() ?
- Replies: 2
- Views: 7230
Re: Difference between ESP.getFreeHeap() and xPortGetFreeHeapSize() ?
xPortGetFreeHeapSize() is a synonym for esp_get_free_heap_size():
https://github.com/espressif/esp-idf/blob/master/components/esp_system/esp_system.c#L113-L116
The ESP call is asking for a slightly different set of memory:
https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/Esp.cpp ...
- Thu May 12, 2022 10:45 am
- Forum: ESP32 Arduino
- Topic: Are any registers available for faster user variables?
- Replies: 4
- Views: 2847
Re: Are any registers available for faster user variables?
Great, thank you!No, this is pretty much optimal. This way, the data is stored in internal memory which runs at the CPU clock.
- Wed May 11, 2022 7:42 pm
- Forum: ESP32 Arduino
- Topic: Difference between ESP.getFreeHeap() and xPortGetFreeHeapSize() ?
- Replies: 2
- Views: 7230
Difference between ESP.getFreeHeap() and xPortGetFreeHeapSize() ?
Hello,
I've been using xPortGetFreeHeapSize() in my project with a LOLIN32 V1.0.0 dev board and it's been working fine.
I tried upgrading my project to a LOLIN D32 PRO dev board with the exact same code (using Arduino framework on PIO), and now xPortGetFreeHeapSize() returns values around ~4 ...
I've been using xPortGetFreeHeapSize() in my project with a LOLIN32 V1.0.0 dev board and it's been working fine.
I tried upgrading my project to a LOLIN D32 PRO dev board with the exact same code (using Arduino framework on PIO), and now xPortGetFreeHeapSize() returns values around ~4 ...
- Wed May 11, 2022 11:57 am
- Forum: ESP32 Arduino
- Topic: Are any registers available for faster user variables?
- Replies: 4
- Views: 2847
Re: Are any registers available for faster user variables?
If anything, it saves you a function call if you cache those variables locally.
Thanks. Perhaps some code examples below will help explain (I should have included this first).
I'm creating a struct in memory and then calling GetPrefs() to populate that struct from NVRAM. I call this function ...
- Tue May 10, 2022 3:32 pm
- Forum: ESP32 Arduino
- Topic: Are any registers available for faster user variables?
- Replies: 4
- Views: 2847
Are any registers available for faster user variables?
Hello,
I'm developing an ESP32 based DAC/driver for laser projectors. I'm getting pretty good performance in the main loop that runs via an interrupt (up to 70kHz). I'm also using direct register writes (instead of digitalWrite) to send data to the DACs.
But there are several user-settable ...
I'm developing an ESP32 based DAC/driver for laser projectors. I'm getting pretty good performance in the main loop that runs via an interrupt (up to 70kHz). I'm also using direct register writes (instead of digitalWrite) to send data to the DACs.
But there are several user-settable ...