diff options
author | Keith Packard <keithp@keithp.com> | 2013-04-27 15:33:04 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-05-07 21:30:27 -0700 |
commit | 4a90eec4b8ee4a35711aa74c13b3f30d12c0fe08 (patch) | |
tree | 150ac4133334ba7a6a75bbdff2f74a1af82e8587 /src/stm/ao_arch.h | |
parent | b131c5ac59bbd339a724892586023a43f97c7f90 (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 757b5251..adc288c3 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 |