aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/exception-twice.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2018-09-24 23:32:25 +0000
committerGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2018-09-24 23:32:25 +0000
commite06494939f7810e6cbd1a9990043e1016899d0c4 (patch)
tree97159060a0e7875ae0bd8d228668ba05b6fde9b2 /cortex-m-rt/tests/compile-fail/exception-twice.rs
parentcad55f6b8ae95c199938e42243cefecf597f7da1 (diff)
parentf1f5176b634f8685b5fa491d18a6b8f9ba726090 (diff)
downloadcortex-m-e06494939f7810e6cbd1a9990043e1016899d0c4.tar.gz
cortex-m-e06494939f7810e6cbd1a9990043e1016899d0c4.tar.zst
cortex-m-e06494939f7810e6cbd1a9990043e1016899d0c4.zip
Merge #128
128: Add qemu example and run in CI r=japaric a=sekineh As @japaric has suggested I ported `lm3s6965evb/src/main.rs` into `example/qemu.rs`. All errors were fixed, ~but qemu never exits automatically~ `qemu` prints text and exits. ``` sekineh@sekineh-VirtualBox:~/cortex-m-rt_me$ cargo run --example qemu --target thumbv7m-none-eabi Compiling cortex-m-rt v0.6.3 (file:///home/sekineh/cortex-m-rt_me) Finished dev [unoptimized + debuginfo] target(s) in 0.17s Running `qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel target/thumbv7m-none-eabi/debug/examples/qemu` x = 42 sekineh@sekineh-VirtualBox:~/cortex-m-rt_me$ ``` ## supported targets - thumbv6m-none-eabi - thumbv7m-none-eabi ## code size ~code size is 0, which is apparently wrong:~ ``` sekineh@sekineh-VirtualBox:~/cortex-m-rt_me$ size target/thumbv7m-none-eabi/debug/examples/qemu text data bss dec hex filename 10776 0 0 10776 2a18 target/thumbv7m-none-eabi/debug/examples/qemu ``` ## code size (original) (deleted; different compiler version) Co-authored-by: Hideki Sekine <sekineh@me.com>
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/exception-twice.rs')
0 files changed, 0 insertions, 0 deletions