Search found 291 matches

by jcsbanks
Fri Jul 19, 2019 8:55 pm
Forum: ESP32 IDF
Topic: Esp32 windows toolchain is 5x slow compared to Linux
Replies: 6
Views: 818

Re: Esp32 windows toolchain is 5x slow compared to Linux

Disable Windows defender scanning of the project folder.
by jcsbanks
Fri Jul 19, 2019 8:43 am
Forum: General Discussion
Topic: ESP32: Partition Table Update through OTA
Replies: 8
Views: 2146

Re: ESP32: Partition Table Update through OTA

My changes were for updating factory and choosing which app to boot. I worked through the errors/barriers one at a time making changes and adding other features. For your changes I would think you need a running app from which you can reprogram the partition table and bootloader, making sure you hav...
by jcsbanks
Thu Jul 18, 2019 8:10 am
Forum: General Discussion
Topic: ESP32: Partition Table Update through OTA
Replies: 8
Views: 2146

Re: ESP32: Partition Table Update through OTA

esp_https_ota and bootloader are the components I copied from esp-idf to my project's components directory. Then started editing.
by jcsbanks
Wed Jul 17, 2019 11:54 am
Forum: General Discussion
Topic: ESP32: Partition Table Update through OTA
Replies: 8
Views: 2146

Re: ESP32: Partition Table Update through OTA

There has been discussion on how to flash the factory app from OTA app. Maybe you could do similar to flash the partition partition. Might need to look at CONFIG_SPI_WRITING_DANGEROUS_REGIONS_* in sdkconfig too.
by jcsbanks
Mon Jul 15, 2019 10:36 am
Forum: Hardware
Topic: Does the ESP32-EVB have some LEDs that I can control ?
Replies: 5
Views: 898

Re: Does the ESP32-EVB have some LEDs that I can control ?

I switched one on which also operated the relay to show when my software was running normally. The visual and audible confirmation was useful, but I chose not to send high frequency LED flashes on this pin on this board, but I was only using ESP32-EVB for initial testing.
by jcsbanks
Mon Jul 15, 2019 7:36 am
Forum: General Discussion
Topic: Verify WLAN Password in SoftAP mode?
Replies: 2
Views: 492

Re: Verify WLAN Password in SoftAP mode?

Use APSTA. When the ESP32 channel hops to connect as STA, connection to AP may be interrupted briefly. Same with scanning, so I display "Wait 5s" in the button the user clicked and then reload the page for both operations as found it a smoother user experience.
by jcsbanks
Sat Jul 13, 2019 7:20 am
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 1189

Re: Any examples on working with memory executables?

Yeah I could not get D/IRAM to work either, I tried, but ended up copying the buffer for D to I.

Could the elf loader author offer his work to you under a different license or are parts it uses also under GPL?
by jcsbanks
Fri Jul 12, 2019 8:47 pm
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 1189

Re: Any examples on working with memory executables?

My only use of this was for standalone routines that needed no linking. That kept it very simple and fast. The elf loader looks really good though for more complex needs don't you think?
by jcsbanks
Fri Jul 12, 2019 8:45 pm
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 1189

Re: Any examples on working with memory executables?

I was worried that after you realloc using data that free(data) is then a double free, or if the new pointer is to the same address you have also just freed the buffer you have just realloc. The second will not happen here because the malloc is a different type of memory. One of us is mistaken I thi...
by jcsbanks
Fri Jul 12, 2019 9:45 am
Forum: ESP32 IDF
Topic: Storing aws certs to spiffs
Replies: 4
Views: 673

Re: Storing aws certs to spiffs

Not done with spiffs, but have with nvs. Using a blob instead of a string avoids a length limit you might hit with some certificates and keys.

However you obtain them, you can pass a pointer to their location the same, unless there is some shortcut using spiffs.

Go to advanced search