Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: linker error of MSP430

$
0
0
[quote user="hamada"]Device you are using is MSP430F5419A . The following error will appear when you build.[/quote]Sorry for the very late reply, but got similar errors on a different program and found this thread on a search. In this case the project was created with v3.2.2 compiler, and could repeat the unresolved symbols when use the v4.0.1 compiler with CCS 6.1.3. The reason for the unresolved symbols is that the project uses the --disable_clink Option. With the run time library in the v4.x.x series compilers the use of --disable_clink causes the linker to include ALL variants of the start-up functions in the boot.obj object file within the run time library. This results in the linker referring to the Memory Protection Unit (MPU) peripheral on all devices. The MPU only exists on devices with FRAM, and so causes unresolved symbol errors on the flash based MSP430F5419A . To remove the errors when using the project with a v4.x.x series compiler you would need to either: a) Remove the --disable_clink Option, if not required for some other reason by the project. b) Add a modified version of the boot.c source file from the compiler run time library to the project, and remove the start up functions which refer to the MPU_INIT function.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>