Search found 19 matches

by peterglen
Fri Aug 16, 2019 3:30 pm
Forum: ESP32 IDF
Topic: Https header missing (esp_https_server.h)
Replies: 3
Views: 287

Re: Https header missing (esp_https_server.h)

That was it. Settings may have not migrated from IDF3->IDF4 without loosing that flag.
Thank you.
by peterglen
Thu Aug 15, 2019 4:18 pm
Forum: ESP32 IDF
Topic: Https header missing (esp_https_server.h)
Replies: 3
Views: 287

Https header missing (esp_https_server.h)

Upon update to IDF 4.x the https subsystems do not compile, says 'missing esp_https_server.h'
on 3.x it compiled with no error. Any suggestions?

Peter
by peterglen
Wed Apr 10, 2019 8:07 pm
Forum: ESP32 Arduino
Topic: ESP32 deep sleep current consumption
Replies: 3
Views: 1447

Re: ESP32 deep sleep current consumption

I have the same issue. And the same current drawn, 16 mA ... any ideas?
by peterglen
Sat Mar 23, 2019 1:59 am
Forum: Report Bugs
Topic: TCP/IP randomly freezes
Replies: 4
Views: 2136

Re: TCP/IP randomly freezes

I did not get a reply, so eventually we figured it out. The ESP32 (modem) sleep kicked in and the chip did not respond to the ARP requests from the peer. The peer then deleted the ARP entry, and it appeared as a frozen connection. Fixing the sleep code was the solution, and the folks at ESP did it. ...
by peterglen
Sat Mar 23, 2019 1:52 am
Forum: General Discussion
Topic: ESP32 CPU load % display without special configuration.
Replies: 1
Views: 608

ESP32 CPU load % display without special configuration.

I wanted a non intrusive CPU load test that I can casually print the CPU load on the terminal. And I did not want to enable the FreeRTOS task stat subsystem. The result is extracted to this project. (link below) https://github.com/pglen/esp32_cpu_load Theory: We create a low priority (idle) task, an...
by peterglen
Fri Mar 08, 2019 2:21 am
Forum: General Discussion
Topic: PCF8537 SPI Driver Sample
Replies: 0
Views: 286

PCF8537 SPI Driver Sample

Anyone has sample code for NXP PCF8537 SPI LCD driver
by peterglen
Sat Mar 02, 2019 7:42 pm
Forum: General Discussion
Topic: Moving CAN project to ESP32 - Need Help
Replies: 2
Views: 675

Re: Moving CAN project to ESP32 - Need Help

We put a CAN chip on our board, below, the tested working code to drive it: static const char *TAG = "my_can"; #define RX_TASK_PRIO 8 //Receiving task priority #define TX_TASK_PRIO 9 //Sending task priority #define MSG_ID 0x555 #define TX_GPIO_NUM 21 #define RX_GPIO_NUM 22 static SemaphoreHandle_t t...
by peterglen
Sat Mar 02, 2019 7:32 pm
Forum: General Discussion
Topic: C concat
Replies: 4
Views: 1163

Re: C concat

If you want to use code that does not call malloc:

char tmp[32];

snprintf(tmp, sizeof(tmp), "%d %d", val2, val2); // val1 and val2 are your integers
by peterglen
Sat Mar 02, 2019 7:26 pm
Forum: General Discussion
Topic: MSYS2 vs Ubuntu
Replies: 1
Views: 350

MSYS2 vs Ubuntu

I am developing for ESP32 on MSYS2. Works great. But recently, I switched to Ubuntu, running in virtual box. Works awesome. Compiles faster, flashes faster ... until I got a couple of V4 boards. The V2 boards I have got operate well in Ubuntu, but with the V4 boards, I cannot flash them. (timeout wa...
by peterglen
Mon Feb 11, 2019 1:38 am
Forum: Sample Code
Topic: TFT driver for Wrover
Replies: 0
Views: 776

TFT driver for Wrover

This is an example project for the WROVER TFT board. It will display the WiFi stations that are currently nearby. The example contains the display driver, the WiFi scanning code, and a timer loop for continuous scanning. Lots of goodies also included: GUI primitives, fonts, basic shapes, (rect / lin...

Go to advanced search