This magic 24e6 used throughout the F1 file should be defined as a macro.  Ideally it would actually be computed based on the real clock speed (e.g. PIOS_SYSCLK / 3)