Skip to content
Snippets Groups Projects
Commit 598d3378 authored by schneider's avatar schneider
Browse files

fix(makefiles): Compile standalone by default

parent 9cbff5a1
No related branches found
No related tags found
No related merge requests found
...@@ -111,7 +111,9 @@ PROJ_CFLAGS+=-std=c99 ...@@ -111,7 +111,9 @@ PROJ_CFLAGS+=-std=c99
#MXC_OPTIMIZE_CFLAGS=-O1 #MXC_OPTIMIZE_CFLAGS=-O1
# Point this variable to a linker file to override the default file # Point this variable to a linker file to override the default file
ifneq "$(APP)" ""
LINKERFILE=$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/GCC/$(TARGET_LC)_app.ld LINKERFILE=$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/GCC/$(TARGET_LC)_app.ld
endif
################################################################################ ################################################################################
# Include external library makefiles here # Include external library makefiles here
......
make clean make clean
make make APP=1
make build/max32665.bin make build/max32665.bin
cp build/max32665.bin card10.bin cp build/max32665.bin card10.bin
python ../bootloader/crc_patch.py card10.bin python ../bootloader/crc_patch.py card10.bin
...@@ -108,7 +108,9 @@ PROJ_CFLAGS+=-std=c99 ...@@ -108,7 +108,9 @@ PROJ_CFLAGS+=-std=c99
#MXC_OPTIMIZE_CFLAGS=-O1 #MXC_OPTIMIZE_CFLAGS=-O1
# Point this variable to a linker file to override the default file # Point this variable to a linker file to override the default file
ifneq "$(APP)" ""
LINKERFILE=$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/GCC/$(TARGET_LC)_app.ld LINKERFILE=$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/GCC/$(TARGET_LC)_app.ld
endif
################################################################################ ################################################################################
# Include external library makefiles here # Include external library makefiles here
......
make clean make clean
make make APP=1
make build/max32665.bin make build/max32665.bin
cp build/max32665.bin card10.bin cp build/max32665.bin card10.bin
python ../bootloader/crc_patch.py card10.bin python ../bootloader/crc_patch.py card10.bin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment