Added basic NVIC register defs and functions.

This commit is contained in:
Piotr Esden-Tempski
2010-01-16 02:58:19 +01:00
parent 6fe7e25a8a
commit a38fc2c3a2
4 changed files with 155 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ CFLAGS = -Os -g -Wall -Wextra -I../include -fno-common \
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = rcc.o gpio.o usart.o adc.o spi.o flash.o
OBJS = rcc.o gpio.o usart.o adc.o spi.o flash.o nvic.o
# Be silent per default, but 'make V=1' will show all compiler calls.
ifneq ($(V),1)