Corrected Makefile for ADC example
This commit is contained in:
parent
d96b318795
commit
be986aa8d9
@ -26,8 +26,8 @@ LD = $(PREFIX)-ld
|
|||||||
OBJCOPY = $(PREFIX)-objcopy
|
OBJCOPY = $(PREFIX)-objcopy
|
||||||
OBJDUMP = $(PREFIX)-objdump
|
OBJDUMP = $(PREFIX)-objdump
|
||||||
# Uncomment this line if you want to use the installed (not local) library.
|
# Uncomment this line if you want to use the installed (not local) library.
|
||||||
TOOLCHAIN_DIR = `dirname \`which $(CC)\``/..
|
#TOOLCHAIN_DIR = `dirname \`which $(CC)\``/..
|
||||||
#TOOLCHAIN_DIR = ../../..
|
TOOLCHAIN_DIR = ../../..
|
||||||
CFLAGS = -O0 -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
|
CFLAGS = -O0 -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
|
||||||
-mcpu=cortex-m3 -mthumb
|
-mcpu=cortex-m3 -mthumb
|
||||||
LDSCRIPT = $(BINARY).ld
|
LDSCRIPT = $(BINARY).ld
|
||||||
|
Loading…
x
Reference in New Issue
Block a user