Search found 575 matches

by boarchuz
Wed Jan 30, 2019 3:54 am
Forum: ESP32 Arduino
Topic: Webserver running on Core0 issues
Replies: 16
Views: 23912

Re: Webserver running on Core0 issues

It's not really an issue, or anything particular to Core0*, it's a reasonable outcome within the constraints of running a single-threaded webserver on a tiny MCU with many concurrent requests. If you were to have a HTML page that redirects and then calls for loading external images, javascript, and ...
by boarchuz
Tue Jan 29, 2019 4:13 am
Forum: ESP32 Arduino
Topic: Webserver running on Core0 issues
Replies: 16
Views: 23912

Re: Webserver running on Core0 issues

Look up ESPAsyncWebServer
by boarchuz
Mon Jan 28, 2019 2:30 pm
Forum: ESP32 Arduino
Topic: Increase ULP program size
Replies: 10
Views: 15896

Re: Increase ULP program size

https://github.com/espressif/esp-idf/blob/master/components/ulp/ulp_macro.c Put a copy of that file in your project directory, rename "ulp_process_macros_and_load" in there to something like "unsafe_ulp_process_macros_and_load" and comment out line "return ESP_ERR_ULP_SIZE_TOO_BIG;", then #include "...
by boarchuz
Mon Jan 28, 2019 12:29 pm
Forum: ESP32 Arduino
Topic: Compressing Large HTML,CSS,JS files in ESP Progmem
Replies: 3
Views: 10564

Re: Compressing Large HTML,CSS,JS files in ESP Progmem

xgarbxgarb wrote:
Fri Jan 25, 2019 3:50 pm
I want to go the other way... I want to get the original HTML out of this file:

https://github.com/espressif/arduino-es ... ra_index.h
Run the sketch, connect to server, load page, save it.
by boarchuz
Mon Jan 28, 2019 8:53 am
Forum: ESP32 Arduino
Topic: Increase ULP program size
Replies: 10
Views: 15896

Re: Increase ULP program size

The more I fiddled with it, the more confused I became. I'll just dump a bunch of info and thoughts here in case it's useful for anyone who finds this thread or can point out where I'm going wrong... What I noticed was that the custom "CONFIG_ULP_COPROC_RESERVE_MEM" seemed to have no effect *within*...
by boarchuz
Thu Jan 24, 2019 7:18 pm
Forum: ESP32 Arduino
Topic: Increase ULP program size
Replies: 10
Views: 15896

Re: Increase ULP program size

I finally had a need to do this, and I think I found an issue. ulp_process_macros_and_load returns ESP_ERR_ULP_SIZE_TOO_BIG even if CONFIG_ULP_COPROC_RESERVE_MEM has been adequately increased. I suspect it's using the default value (512) for comparison, instead of using the current config. I tested ...
by boarchuz
Mon Jan 14, 2019 6:48 am
Forum: ESP32 Arduino
Topic: Tasks and LED Strips
Replies: 8
Views: 10709

Re: Tasks and LED Strips

Wouldn't it simply use this delay function?

Code: Select all

void delay(uint32_t ms)
{
    vTaskDelay(ms / portTICK_PERIOD_MS);
}
https://github.com/espressif/arduino-es ... isc.c#L121
by boarchuz
Wed Jan 09, 2019 4:17 pm
Forum: ESP32 Arduino
Topic: uSeconds?
Replies: 2
Views: 4555

Re: uSeconds?

You can see the micros() function here: https://github.com/espressif/arduino-esp32/blob/2fd39b1aff1c1f2be60bbd9b5fbd9c88638b0fcc/cores/esp32/esp32-hal-misc.c#L104 So you can use (unsigned long) (esp_timer_get_time() / 1000) if that is ESP32ish enough for you. But then, you may as well just use micro...
by boarchuz
Sat Dec 29, 2018 3:46 pm
Forum: ESP32 Arduino
Topic: Any update on WPA2 connection bug?
Replies: 0
Views: 2534

Any update on WPA2 connection bug?

Is there any timeline for a fix? Should we still be expecting a fix at all...? Considering how common WPA2 is and how many people opt for ESP32 for WiFi functionality, I would've thought this would be an issue of the highest priority. (For those unaware: ESP32+WPA2 connection to WiFi network takes a...