Search found 7 matches

by bwyld
Tue Sep 05, 2023 2:40 pm
Forum: ESP32 boards
Topic: ESP32: get which EXT1 pin caused wake
Replies: 25
Views: 71449

Re: ESP32: get which EXT1 pin caused wake

Just wondered if anyone had tested this with lightsleep() and/or on an ESP32S3?
I am having some difficulty using gpios to wake from light sleep and call the irq() callback associated with the pin.
by bwyld
Thu Mar 16, 2023 1:53 pm
Forum: ESP32 boards
Topic: LilyGO T5 4.7 driver?
Replies: 12
Views: 87825

Re: LilyGO T5 4.7 driver?

Hi,

Just got 2 of these boards (the original ESP32, not the ESP32-S3 versions)

Anyone been working on the epaper driver since from micropython?

thanks
Brian
by bwyld
Fri Nov 26, 2021 1:44 pm
Forum: ESP32 boards
Topic: compile vs freeze module (with esp32 spiram support enabled)
Replies: 5
Views: 3921

Re: compile vs freeze module (with esp32 spiram support enabled)

@pythoncoder, Do you have a pointer to somewhere recording performance measurements for micropython execution on ESP32? I'm trying to optimise my micropython for an ESP32 (pycom) port and would be grateful for some pointers on what python constructs are more or less speedy on this arch? (and also wh...
by bwyld
Mon Nov 01, 2021 5:20 pm
Forum: Other Boards
Topic: [UNIX] Setting stack size/max recursion depth
Replies: 6
Views: 12927

Re: [UNIX] Setting stack size/max recursion depth

So, gdb tells me: Thread 2 "micropython" received signal SIGSEGV, Segmentation fault. 0x00007fb84c790dd1 in __GI___res_nameinquery (name=name@entry=0x7fb84db06380 "mqtt.infrafon.club", type=1, class=1, buf=buf@entry=0x7fb84db07340 "L\353\201\200", eom=eom@entry=0x7fb84db07b40 "\200\226\260M\270\177"...
by bwyld
Mon Nov 01, 2021 4:54 pm
Forum: Other Boards
Topic: [UNIX] Setting stack size/max recursion depth
Replies: 6
Views: 12927

Re: [UNIX] Setting stack size/max recursion depth

Well, it's been a while since I tried debugging un*x code... not really what I was hoping to do with this project..
by bwyld
Sun Oct 24, 2021 5:48 pm
Forum: Other Boards
Topic: [UNIX] Setting stack size/max recursion depth
Replies: 6
Views: 12927

Re: [UNIX] Setting stack size/max recursion depth

Ok, I modified main.c around line 455: #ifndef STACK_LIMIT #define STACK_LIMIT (40000) #endif // Define a reasonable stack limit to detect stack overflow. mp_uint_t stack_limit = STACK_LIMIT * (sizeof(void *) / 4); And then built it with -DSTACK_LIMIT=200000 (so a 5x increase from the previous hardc...
by bwyld
Tue Oct 19, 2021 3:15 pm
Forum: Other Boards
Topic: [UNIX] Setting stack size/max recursion depth
Replies: 6
Views: 12927

[UNIX] Setting stack size/max recursion depth

Hi I am trying to use the unix port as test environment (for code targeting a pycom board). However, my code is relatively complex and when starting I get a 'max recursion depth exceeded' error. I understand this is actually a 'max stack size exceeded check' (ie I get a nice error because MICROPY_ST...