Move STM32 examples to examples/stm32 subdir.
This commit is contained in:
parent
b65f3f06d0
commit
bcce98da54
4
Makefile
4
Makefile
@ -41,7 +41,7 @@ lib:
|
||||
|
||||
examples: lib
|
||||
@printf " BUILD examples\n"
|
||||
$(Q)$(MAKE) -C examples all
|
||||
$(Q)$(MAKE) -C examples/stm32 all
|
||||
|
||||
install: build
|
||||
@printf " INSTALL headers\n"
|
||||
@ -57,7 +57,7 @@ install: build
|
||||
$(Q)$(INSTALL) -m 0644 lib/*.ld $(LIBDIR)
|
||||
|
||||
clean:
|
||||
$(Q)$(MAKE) -C examples clean
|
||||
$(Q)$(MAKE) -C examples/stm32 clean
|
||||
$(Q)$(MAKE) -C lib clean
|
||||
|
||||
.PHONY: build lib examples install clean
|
||||
|
@ -25,7 +25,7 @@ OBJCOPY = $(PREFIX)-objcopy
|
||||
OBJDUMP = $(PREFIX)-objdump
|
||||
# Uncomment this line if you want to use the installed (not local) library.
|
||||
# TOOLCHAIN_DIR = `dirname \`which $(CC)\``/../$(PREFIX)
|
||||
TOOLCHAIN_DIR = ../../..
|
||||
TOOLCHAIN_DIR = ../../../..
|
||||
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
|
||||
-mcpu=cortex-m3 -mthumb
|
||||
LDSCRIPT = $(BINARY).ld
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user