Search found 4 matches

by droidwarrior
Sun Oct 15, 2017 8:36 pm
Forum: ESP32 boards
Topic: Preallocating ram
Replies: 4
Views: 3871

Re: Preallocating ram

Hi, thanks for your reply. BUFFERSIZE = const(128) _data = bytearray(BUFFERSIZE) * You declared a bytearray to make the variable mutable and to make it contiguos and reuse the same ram positions everytime you write? def my_isr(pin): global _data, _index_put * For what i see, for use the bytearray de...
by droidwarrior
Sun Oct 15, 2017 2:54 am
Forum: ESP32 boards
Topic: Preallocating ram
Replies: 4
Views: 3871

Preallocating ram

Hi all,

Having lot of trouble understanding how to preallocate ram for ISR routines no using classes.
Please someone enlight me.


Regards,
by droidwarrior
Mon Aug 21, 2017 5:03 pm
Forum: ESP32 boards
Topic: Asertion error
Replies: 4
Views: 4095

Re: Asertion error

Hi,

@stijn: Already verify available memory at the moment of urequest using HTTPS and no resource exhaustion
@pythoncoder: Thanks for your answer. Im using Timer1 to poll a HTTPS urequest. Is it possible Timer1 int crash a MBEDTLS hashing or somethong in process?


Regards,
by droidwarrior
Tue Aug 15, 2017 5:46 am
Forum: ESP32 boards
Topic: Asertion error
Replies: 4
Views: 4095

Asertion error

Hi everyone, An new to upython. By the moment Im getting stuck with this error: assertion "0" failed: file "../py/../extmod/modussl_mbedtls.c", line 150, function: socket_new abort() was called at PC 0x40136397 on core 0 I guess there is not response from the server, but again Im guessing. Any direc...