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.
Этот коммит содержится в:
Yannis Huber 2020-06-10 09:35:20 +02:00 коммит произвёл Ron Evans
родитель 163631df9e
коммит 2fe4a9be71

Просмотреть файл

@ -1,5 +1,6 @@
{
"inherits": ["riscv64"],
"features": ["+a", "+c", "+m", "+f", "+d"],
"build-tags": ["k210", "kendryte"]
"build-tags": ["k210", "kendryte"],
"code-model": "medium"
}