stm32f1x_cl: Add initial support for STM32F1x connectivity line
This currently supports the stm32f107, but support will be added for the F105 shortly (missing a linker script and I can't properly test without a devkit).
This commit is contained in:
parent
0a88373add
commit
5c6018f0e2
9 changed files with 376 additions and 0 deletions
22
cpu/arm/stm32f1x_cl/rtimer-arch.h
Normal file
22
cpu/arm/stm32f1x_cl/rtimer-arch.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* \file
|
||||
* Header file for the STM32F107-specific rtimer code
|
||||
* \author
|
||||
* Jeff Ciesielski <jeffciesielski@gmail.com>
|
||||
* Adapted from stm32f103 example
|
||||
*/
|
||||
|
||||
#ifndef __RTIMER_ARCH_H__
|
||||
#define __RTIMER_ARCH_H__
|
||||
|
||||
#include "sys/rtimer.h"
|
||||
|
||||
#define RTIMER_ARCH_SECOND (MCK/1024)
|
||||
|
||||
void rtimer_arch_init(void);
|
||||
|
||||
void rtimer_arch_set(rtimer_clock_t t);
|
||||
|
||||
rtimer_clock_t rtimer_arch_now(void);
|
||||
|
||||
#endif /* __RTIMER_ARCH_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue