summaryrefslogtreecommitdiffstatshomepage
path: root/stm/main.c
diff options
context:
space:
mode:
authormux <freelancer.c@gmail.com>2014-01-29 12:51:38 +0200
committermux <freelancer.c@gmail.com>2014-01-29 12:52:03 +0200
commit76a6335b6e5dc92c7aac86e1efe6f6bbe1983968 (patch)
treeea7cdf945a2173729cc22ad5911762bf50d86233 /stm/main.c
parent217814cc63f2054833a87d2dd903a9cbe476e55a (diff)
downloadmicropython-76a6335b6e5dc92c7aac86e1efe6f6bbe1983968.tar.gz
micropython-76a6335b6e5dc92c7aac86e1efe6f6bbe1983968.zip
Move HEAP_END and RAM_END to linker script
* Issue #232
Diffstat (limited to 'stm/main.c')
-rw-r--r--stm/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c
index 9fc9633ff2..25dceddc2f 100644
--- a/stm/main.c
+++ b/stm/main.c
@@ -594,7 +594,7 @@ int main(void) {
soft_reset:
// GC init
- gc_init(&_heap_start, (void*)HEAP_END);
+ gc_init(&_heap_start, &_heap_end);
// Micro Python init
qstr_init();