mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
Eventually we might want to start using the FPU, but the easy option right now is to simply disable it everywhere. Previously, it depended on whether Clang was built as part of TinyGo or it was an external binary. By setting the floating point mode explicitly, such inconsistencies are avoided. This commit creates a new cortex-m4 target which can be the central place for setting FPU-related settings across all Cortex-M4 chips.pull/1136/head
Ayke van Laethem
5 years ago
committed by
Ron Evans
8 changed files with 15 additions and 21 deletions
@ -0,0 +1,8 @@ |
|||
{ |
|||
"inherits": ["cortex-m"], |
|||
"llvm-target": "armv7em-none-eabi", |
|||
"cflags": [ |
|||
"--target=armv7em-none-eabi", |
|||
"-mfloat-abi=soft" |
|||
] |
|||
} |
Loading…
Reference in new issue