Skip to content
Alexander Koz edited this page Aug 11, 2024 · 3 revisions

Hardware

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:

FPU

  • 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.

Rustc Target

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

Clone this wiki locally