mdot UDK & STMicro MEMS Shield Sensor packet example
Dependencies: libmDot-mbed5 DOGS102 ISL29011 MMA845x MPL3115A2 NCP5623B X_NUCLEO_IKS01A1 Senet_Packet
Fork of MTDOT-UDKDemo_Senet by
Diff: Makefile
- Branch:
- develop
- Revision:
- 28:4fd8a894a403
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Fri Aug 25 09:29:01 2017 -0400 @@ -0,0 +1,26 @@ +TOOLCHAIN := GCC_ARM +TARGET := detect +TOOLCHAIN_PATH := "c:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2014q4\bin" +BINFILE := mDotDemo +CFLAGS := -DMTDOT_UDK + + +all: + mbed compile -t $(TOOLCHAIN) -m $(TARGET) $(CFLAGS) -N $(BINFILE) + +debug: + mbed compile --profile debug -t $(TOOLCHAIN) -m $(TARGET) $(CFLAGS) -N $(BINFILE) + +# find and add missing missing libraries +deploy: + mbed deploy + +# configure mbed CLI toolchain settings +configure: + mbed config toolchain $(TOOLCHAIN) + mbed config $(TOOLCHAIN)_Path $(TOOLCHAIN_PATH) + +# Update library references and removes invalid ones +sync: + mbed synchronize +