sipeed / platform-kendryte210

Kendryte K210: development platform for PlatformIO
https://platformio.org/platforms/kendryte210
Other
79 stars 31 forks source link

Allow using custom linker script #23

Closed valeros closed 4 years ago

valeros commented 4 years ago

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

[env:sipeed-maix-go]
platform = kendryte210
framework = arduino
board = sipeed-maix-go
monitor_speed = 115200

board_build.ldscript = custom_ldscript.ld

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