-
-
Notifications
You must be signed in to change notification settings - Fork 8
Target
Alexander Koz edited this page Aug 11, 2024
·
3 revisions
Cortex M7 (M7F?), 16MB of RAM
rev | links | MHz | FPU precision |
---|---|---|---|
A | STM32F746 (Datasheet) | 180 MHz (up to 216 MHz) | SP |
B | STM32H7B0 (Datasheet) | ??? MHz (up to 280 MHz) | DP |
Links:
- RevA has single precision FPU
- RevB has double-precision FPU
So, target feature is VFPv5 (VFP explanation), but downgrade to ≈VFPv2 needed to run on RevA disabling f64
.
To disable FPU usage entirelly just enable soft-float
target-feature.
triple: thumbv7em-none-eabihf
features:
- short enums
- hard float (opt)
entry point: eventHandlerShim
: extern "C" fn (api: *const PlaydateAPI, e: PDSystemEvent, kc: u32) -> c_int