diff options
author | 2018-09-21 03:06:48 +0900 | |
---|---|---|
committer | 2018-09-21 03:06:48 +0900 | |
commit | 43f843f39c7c9ce48213aa50c7d18ae9a2d94e41 (patch) | |
tree | 25a5bc1c8e36539cae7a22b5a308f4a0432aa626 | |
parent | 70cacc499c0a5cc3a56841591b4955ec45b18010 (diff) | |
download | cortex-m-43f843f39c7c9ce48213aa50c7d18ae9a2d94e41.tar.gz cortex-m-43f843f39c7c9ce48213aa50c7d18ae9a2d94e41.tar.zst cortex-m-43f843f39c7c9ce48213aa50c7d18ae9a2d94e41.zip |
add qemu setting for thumbv6m-none-eabi.
-rw-r--r-- | cortex-m-rt/.cargo/config | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cortex-m-rt/.cargo/config b/cortex-m-rt/.cargo/config index 7835e59..0d6b19c 100644 --- a/cortex-m-rt/.cargo/config +++ b/cortex-m-rt/.cargo/config @@ -2,6 +2,11 @@ # uncomment this to make `cargo run` execute programs on QEMU runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel" +[target.thumbv6m-none-eabi] +# uncomment this to make `cargo run` execute programs on QEMU +# For now, we use cortex-m3 instead of cortex-m0 which are not supported by QEMU +runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel" + [target.'cfg(all(target_arch = "arm", target_os = "none"))'] # uncomment ONE of these three option to make `cargo run` start a GDB session # which option to pick depends on your system |