Skip to content

ferrous-systems/armv7r-issues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ferrocene for 32-bit Arm Cortex-R bare-metal Demo

This demo application for Armv7-R demonstrates a compilation problem in --release mode.

cargo run will work but cargo run --release gives this error:

   Compiling qemu-armv7r v0.1.0 (/Users/jonathan/Documents/ferrous-systems/qemu-armv7r)
error: <inline asm>:18:5: instruction requires: VFP2
    vmsr fpexc, r0
    ^

error: could not compile `qemu-armv7r` (bin "qemu-armv7r")

This doesn't make sense as in an eabihf target, the FPU is mandatory, and this instruction is given in the Armv7-A and Armv7-R Architecture Specification as the one to use to copy from ARM core registers to either Advanced SIMD or Floating-point Extension System Registers. Also, it works fine in debug profile?!

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

A example program for Armv7-R

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages