tinygo/compileopts
Ayke van Laethem 1cbe09ee89 compileopts: add linkerscript key
Setting the linker script as one property (instead of as part of the
generic ldflags property) allows it to be overriden.

This is important for the SoftDevice on Nordic chips, because the
SoftDevice takes up a fixed part of the flash/RAM and the application
must be flashed at a different position. With this linkerscript option,
it is possible to create (for example) a pca10040-s132v6 that overrides
the default linker script.
2019-11-04 16:21:59 +01:00
..
config.go compileopts: add linkerscript key 2019-11-04 16:21:59 +01:00
options.go main: move compile options to compileopts package 2019-11-04 11:45:35 +01:00
target.go compileopts: add linkerscript key 2019-11-04 16:21:59 +01:00
target_test.go main: move target specification into a separate package 2019-11-04 11:45:35 +01:00