Move systick to stm32 common.

This commit is contained in:
Fergus Noble 2011-09-15 14:59:55 -07:00 committed by Stephen Caudle
parent cadbc0145b
commit ca412a9ed2
4 changed files with 4 additions and 3 deletions

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/f1/systick.h>
#include <libopencm3/stm32/systick.h>
void systick_set_reload(u32 value)
{

View File

@ -33,7 +33,7 @@ OBJS = vector.o rcc.o gpio.o usart.o adc.o spi.o flash.o nvic.o \
usb_f103.o usb.o usb_control.o usb_standard.o can.o \
timer.o usb_f107.o
VPATH += ../usb
VPATH += ../usb:../stm32_common
# Be silent per default, but 'make V=1' will show all compiler calls.
ifneq ($(V),1)

View File

@ -28,9 +28,10 @@ CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \
-ffunction-sections -fdata-sections -MD -DSTM32F2
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = vector.o gpio.o
OBJS = vector.o gpio.o systick.o
#VPATH += ../usb
VPATH += ../stm32_common
# Be silent per default, but 'make V=1' will show all compiler calls.
ifneq ($(V),1)