8 years, 1 month ago.

Moving platform produces compiler 'Undefined Symbol __heap_base (referred from malloc.o)' errors

I'm moving from the LPC1768 to the NUCLEO-L476RG platform. My program compiles error-free for the LPC1768 platform.

The only changes to my code are the pin assignments (reflecting the different platform pins).

At compilation for the NUCLEO-L476RG platform I get three Undefined Symbol errors shown in the attached screen capture.

I understand the Help given by the Error Number but would appreciate some assistance in correcting the code as the errors are issued for mbed library functions. Thanks.

Chris /media/uploads/ChrisMabey/capture_6M5m4dO.gif

I tried compiling again a few hours later today and this time no errors! No changes to my code or build environment. Weird.

posted by Chris Mabey 23 Oct 2016

1 Answer

8 years ago.

Hi Chris,

This probably was a compiler issue,

All fixed now

Regards,

Andrea, team mbed

Accepted Answer