diff options
author | Ayke van Laethem <[email protected]> | 2019-11-29 21:35:59 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2019-12-07 16:47:40 +0100 |
commit | 0105f815c6349043645fcc0bbf06d00a545882be (patch) | |
tree | 837054eceab1df5f3b86c471cd429c96be84635f /targets/cortex-m-qemu.json | |
parent | d441f0152fb5943c960544cd39675bb7792b641e (diff) | |
download | tinygo-0105f815c6349043645fcc0bbf06d00a545882be.tar.gz tinygo-0105f815c6349043645fcc0bbf06d00a545882be.zip |
targets: rename qemu target to cortex-m-qemu
The target is intended to emulate the Cortex-M, not to be a generic QEMU
target.
Diffstat (limited to 'targets/cortex-m-qemu.json')
-rw-r--r-- | targets/cortex-m-qemu.json | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/targets/cortex-m-qemu.json b/targets/cortex-m-qemu.json new file mode 100644 index 000000000..03d688a36 --- /dev/null +++ b/targets/cortex-m-qemu.json @@ -0,0 +1,14 @@ +{ + "inherits": ["cortex-m"], + "llvm-target": "armv7m-none-eabi", + "build-tags": ["qemu", "lm3s6965"], + "cflags": [ + "--target=armv7m-none-eabi", + "-Qunused-arguments" + ], + "linkerscript": "targets/lm3s6965.ld", + "extra-files": [ + "targets/cortex-m-qemu.s" + ], + "emulator": ["qemu-system-arm", "-machine", "lm3s6965evb", "-semihosting", "-nographic", "-kernel"] +} |