diff options
| author | Dave Hylands | 2014-03-12 18:06:26 -0700 |
|---|---|---|
| committer | Dave Hylands | 2014-03-12 18:15:55 -0700 |
| commit | f14b92b9e13c9cb9f54a1d740dbea1eeedeccb5b (patch) | |
| tree | 303a4e00c9612951c8ab3cfbe926121724173fd1 /stmhal/gccollect.h | |
| parent | 19438fd30a3184b656221a59062ea32453d0fd16 (diff) | |
REPl working on UART6 with STMHAL
Diffstat (limited to 'stmhal/gccollect.h')
| -rw-r--r-- | stmhal/gccollect.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/stmhal/gccollect.h b/stmhal/gccollect.h new file mode 100644 index 000000000..9aa0a4441 --- /dev/null +++ b/stmhal/gccollect.h @@ -0,0 +1,17 @@ +// variables defining memory layout +// (these probably belong somewhere else...) +extern uint32_t _etext; +extern uint32_t _sidata; +extern uint32_t _ram_start; +extern uint32_t _sdata; +extern uint32_t _edata; +extern uint32_t _sbss; +extern uint32_t _ebss; +extern uint32_t _heap_start; +extern uint32_t _heap_end; +extern uint32_t _estack; +extern uint32_t _ram_end; + +void gc_collect(void); + +MP_DECLARE_CONST_FUN_OBJ(pyb_gc_obj); |
