Page 1 of 1

understanding read_buf_len in pyb.UART

Posted: Sat Feb 09, 2019 1:04 pm
by lnsri22
Hello Everyone!!

I have a question with respect to UART in pyb class.

Referring to the following picture, where from the buffer size is allocated for the parameter read_buf_len.

Is it from RAM?


I'm so sorry if my question doesn't make sense.

Re: understanding read_buf_len in pyb.UART

Posted: Sat Feb 09, 2019 4:47 pm
by dhylands
The read buffer is allocated from RAM (nothing is ever "allocated" from flash). Flash is essentially read-only.

Re: understanding read_buf_len in pyb.UART

Posted: Sat Feb 16, 2019 4:55 am
by lnsri22
Simply Thanks!! :D