From 26cbc91373cdfff43317da01e102617ed5885655 Mon Sep 17 00:00:00 2001 From: danicampora Date: Mon, 2 Mar 2015 14:11:02 +0100 Subject: cc3200: Place functions only used while booting in a special section. Such functions are never used after MicroPython has started, and they remain in RAM wasting space. Now they are placed in a special section named "boot" which sits just before the heap, allowing us to extend the effective heap area up to the new boot section. Right now, this gives us back ~1K, but in the future, more functions might end up in there as well. --- cc3200/util/gccollect.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cc3200/util') diff --git a/cc3200/util/gccollect.h b/cc3200/util/gccollect.h index 8e4c8896b..b8b6502cb 100644 --- a/cc3200/util/gccollect.h +++ b/cc3200/util/gccollect.h @@ -30,6 +30,8 @@ extern uint32_t _etext; extern uint32_t _sidata; extern uint32_t _data; extern uint32_t _edata; +extern uint32_t _boot; +extern uint32_t _eboot; extern uint32_t _bss; extern uint32_t _ebss; extern uint32_t _heap; -- cgit v1.2.3