Loading...
Searching...
No Matches
pico_standard_link

Setup for link options for a standard SDK executable.

Setup for link options for a standard SDK executable.

This includes:

The default linker scripts comprise of a base memmap_*.ld file, and a series of .incl files that are included by it.

The base memmap_*.ld files are located in the pico_platform directory of the target chip. Each file has a tree showing the files that are included by it.

To override any included files, place the overriding files in a directory, and pass that directory to the pico_add_linker_script_override_path CMake function. The usual files to override when making a custom linker script are:

You can also set variables in the linker script using the pico_set_linker_script_var CMake function, to change the location and size of default memory regions. The available variables are: