Search found 2 matches

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

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: 2
Views: 7109

NameError: name is not defined

boot.py: # boot.py -- run on boot-up print('MicroPython boot') APIs: 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 MP_READER_EOF; } else{ ...