diff options
author | Keith Packard <keithp@keithp.com> | 2013-04-27 15:33:04 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-04-27 15:33:04 -0700 |
commit | 048cb950703b0c1e99eb817911e11f1144e7ffe2 (patch) | |
tree | 1b1f441d39088ddb8d2f9ae861a791ceded07754 /src/stm/ao_arch.h | |
parent | 0fab541974208591334bbe2dcda4bf0bcb7117bd (diff) |
altos/stm: Create per-product flash loaders
Split the flash loader prototype into pieces so that each product can
build a custom flash loader with very little code.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_arch.h')
-rw-r--r-- | src/stm/ao_arch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h index 50bff5dd..618c08d4 100644 --- a/src/stm/ao_arch.h +++ b/src/stm/ao_arch.h @@ -88,6 +88,10 @@ extern const uint32_t ao_radio_cal; * For now, we're running at a weird frequency */ +#ifndef AO_HSE +#error High speed frequency undefined +#endif + #if AO_HSE #define AO_PLLSRC AO_HSE #else |