diff options
| author | Keith Packard <keithp@keithp.com> | 2012-03-17 00:06:59 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-03-28 21:37:02 -0700 | 
| commit | 8ba5344514f8ed51f6fd69ca09f6c7035c4fd0da (patch) | |
| tree | 0389904daef28481f4e39830f5739b13ae097f32 /src/stm/ao_arch.h | |
| parent | 1d1b24bb20dec09145fbaa6fe6897898d47dd16e (diff) | |
Add stm-demo program
This runs AltOS and talks over the serial port.
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 e6f54fdb..b3c0190d 100644 --- a/src/stm/ao_arch.h +++ b/src/stm/ao_arch.h @@ -124,6 +124,10 @@ struct ao_adc {  	uint16_t	adc[AO_ARM_NUM_ADC];	/* samples */  }; +/* + * For now, we're running at a weird frequency + */ +#define STM_APB1	(16000000 * 6 / 4)  #endif /* _AO_ARCH_H_ */  | 
