mi mi
/
DirectSPI-test
DirectSPI test program
Diff: Makefile
- Revision:
- 9:7dfa4f5adf42
- Parent:
- 8:e11a0361f57f
--- a/Makefile Sat Feb 25 16:11:44 2017 +0900 +++ b/Makefile Sun Feb 26 20:50:58 2017 +0900 @@ -1,6 +1,6 @@ # # Super light weight command line compile script using mbed-sdk sources. -# v0.4 +# v0.5 # 2017/02 made by dinau # @@ -28,6 +28,7 @@ # These are must be changed according to your environment. ########################## TARGET ?= NUCLEO_F030R8 +#TARGET ?= NUCLEO_L152RE # GCC_ARM or uARM or ARM TC ?= GCC_ARM @@ -39,10 +40,12 @@ MBED_ROOT = /d/mbed-os # Specify [ "default" or "debug" or "small" ] -PROFILE = --profile default +PROFILE = default # Verbose display -#VERBOSE = -v +ifeq (${v},1) + VERBOSE = -v +endif ########################## # Fixed setting. @@ -54,7 +57,7 @@ MACROS = "-D NDEBUG=1" #CFLAGS = "--cflags NDEBUG=1" BUILD_DIR = .build/${TARGET}/${TC} -COMFLAG = --color -m ${TARGET} -t ${TC} ${VERBOSE} ${PROFILE} +COMFLAG = --color -m ${TARGET} -t ${TC} ${VERBOSE} --profile ${PROFILE} PROG_NAME = -n ${PROG} ##########################