Infineon / platformio-infineonxmc

Scripts and examples for developing XMC Microcontroller Boards using Platform IO
11 stars 13 forks source link

Allow using custom linker scripts #10

Closed valeros closed 4 years ago

valeros commented 4 years ago

This will allow users to specify any linker script from platformio.ini file using the following syntax:

[env:xmc1100_boot_kit]
platform = infineonxmc
board = xmc1100_boot_kit
framework = arduino

board_build.ldscript = custom_ldscript.ld

This is a more correct way of specifying it in comparison with using the -Wl,-T flag.