2014-02-10 22:50:44 +00:00
|
|
|
// variables defining memory layout
|
|
|
|
// (these probably belong somewhere else...)
|
|
|
|
extern uint32_t _text_end;
|
|
|
|
extern uint32_t _data_start_init;
|
2014-01-25 00:44:31 +00:00
|
|
|
extern uint32_t _ram_start;
|
2014-02-10 22:50:44 +00:00
|
|
|
extern uint32_t _data_start;
|
|
|
|
extern uint32_t _data_end;
|
|
|
|
extern uint32_t _bss_start;
|
|
|
|
extern uint32_t _bss_end;
|
2014-01-25 00:44:31 +00:00
|
|
|
extern uint32_t _heap_start;
|
2014-01-29 10:51:38 +00:00
|
|
|
extern uint32_t _heap_end;
|
2014-02-10 22:50:44 +00:00
|
|
|
extern uint32_t _stack_end;
|
|
|
|
extern uint32_t _ram_end;
|
2014-01-25 00:44:31 +00:00
|
|
|
|
|
|
|
void gc_collect(void);
|
|
|
|
|
|
|
|
MP_DECLARE_CONST_FUN_OBJ(pyb_gc_obj);
|