diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ -TARGET:=Demonstration +TARGET:=micro-pid TOOLCHAIN_PATH:=/usr/bin TOOLCHAIN_PREFIX:=arm-none-eabi OPTLVL:=3 # Optimization level, can be [0, 1, 2, 3, s]. #PROJECT_NAME:=$(notdir $(lastword $(CURDIR))) TOP:=$(shell readlink -f "../..") -DISCOVERY:=$(TOP)/Utilities/STM32L100C-Discovery -STMLIB:=$(TOP)/Libraries +DISCOVERY:=Utilities/STM32L100C-Discovery +STMLIB:=Libraries STD_PERIPH:=$(STMLIB)/STM32L1xx_StdPeriph_Driver STARTUP:=$(STMLIB)/CMSIS/Device/ST/STM32L1xx/Source/Templates/gcc_ride7 LINKER_SCRIPT:=$(CURDIR)/stm32-flash.ld