Search found 2 matches

by mfwebn
Tue Apr 30, 2019 12:32 pm
Forum: Development of MicroPython
Topic: question about GC
Replies: 3
Views: 278

question about GC

If I set gc.threshold, will the GC release the memory I am using for m_malloc in modules that are not related to MicroPython?
by mfwebn
Mon Mar 05, 2018 2:54 am
Forum: Development of MicroPython
Topic: NameError: name is not defined
Replies: 0
Views: 710

NameError: name is not defined

boot.py: [code] # boot.py -- run on boot-up print('MicroPython boot') [/code] APIs: [code] mp_uint_t f_rd_read_byte(void *data){ mp_uint_t r_data; UINT read_len = 1; FRESULT res; res = f_read((FIL *)data, &r_data, 1, &read_len); if(res != FR_OK || read_len == 0 || r_data == (mp_uint_t)EOF){ return M...