diff options
author | Yannis Huber <[email protected]> | 2020-06-10 09:35:20 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2020-07-08 00:21:59 +0200 |
commit | 2fe4a9be710962ea1bf3abce59e8af5ce6168e4b (patch) | |
tree | 77529c47a51f88299a4ea2be2a1408d97919eba2 | |
parent | 163631df9e66d4fa07998ad845003e600b5aa830 (diff) | |
download | tinygo-2fe4a9be710962ea1bf3abce59e8af5ce6168e4b.tar.gz tinygo-2fe4a9be710962ea1bf3abce59e8af5ce6168e4b.zip |
maix-bit: add code model in target definition
This is needed to avoid linking errors because the globals are placed
in memory at address 0x80000000 which is out of bounds for the default
code model.
-rw-r--r-- | targets/k210.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/targets/k210.json b/targets/k210.json index 5ddd9dbab..4c5f3f91f 100644 --- a/targets/k210.json +++ b/targets/k210.json @@ -1,5 +1,6 @@ { "inherits": ["riscv64"], "features": ["+a", "+c", "+m", "+f", "+d"], - "build-tags": ["k210", "kendryte"] + "build-tags": ["k210", "kendryte"], + "code-model": "medium" } |