Death and Taxes

A project log for Setting up Linux AVR and ARM toolchains

Documenting the steps taken to build a new, clean, Linux development environment.

tmTM 03/05/2014 at 21:430 Comments

I'm not dead, and haven't given up on getting an ARM toolchain up and running: just busy doing my taxes, and spinning my wheels a little on the ARM stuff. I wanted to be able to program the FRDM board using gcc and make before jumping into Eclipse and its Freescale add-ins. In order to do this I need to get hold of a link command file (linker script) to tell the linker how the memory is organized on the FRDM-KL46Z. Googling turned up a ".ld" file for the FRDM-KL25Z, but, given that the 46Z has twice the memory, and given my resolution not to just cut-and-paste-and-hope, it looks like I'll have to learn just enough about linker configuration to hack the file.

An alternative approach is to use the "export to desktop IDE" feature of to download a KL46Z project and to pick around in the files looking for something equivalent.

Either way, the prospect of doing this worthy-but-dull stuff has driven me to finish my tax prep.