tinygo/targets/trinkey-qt2040.json
Ayke van Laethem e0bf376068 rp2040: unify all linker scripts using LDFLAGS
The only thing that's different between all these chips is the flash
size, which can easily be passed as a linker flag instead. This removes
a bunch of duplicate code in an uncommon language (linker script).

I've also fixed a few boards with incorrect flash sizes:

  * nano-rp2040 has 16MB instead of 2MB
  * macropad-rp2040 has 8MB instead of 2MB
  * gopher-badge has 8MB instead of 1MB
2023-03-30 23:49:02 +02:00

13 строки
254 Б
JSON

{
"inherits": [
"rp2040"
],
"serial-port": ["239a:8109"],
"build-tags": ["trinkey_qt2040"],
"ldflags": [
"--defsym=__flash_size=8192K"
],
"extra-files": [
"targets/trinkey-qt2040-boot-stage2.S"
]
}