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
Makefile@28:4fd8a894a403, 2017-08-25 (annotated)
- Committer:
- Shaun Nelson
- Date:
- Fri Aug 25 09:29:01 2017 -0400
- Branch:
- develop
- Revision:
- 28:4fd8a894a403
Create board api class and implement for EVB and UDK mDot boards.
UDK platform is working
Do not try EVB, not sure it even compiles
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Shaun Nelson |
28:4fd8a894a403 | 1 | TOOLCHAIN := GCC_ARM |
Shaun Nelson |
28:4fd8a894a403 | 2 | TARGET := detect |
Shaun Nelson |
28:4fd8a894a403 | 3 | TOOLCHAIN_PATH := "c:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2014q4\bin" |
Shaun Nelson |
28:4fd8a894a403 | 4 | BINFILE := mDotDemo |
Shaun Nelson |
28:4fd8a894a403 | 5 | CFLAGS := -DMTDOT_UDK |
Shaun Nelson |
28:4fd8a894a403 | 6 | |
Shaun Nelson |
28:4fd8a894a403 | 7 | |
Shaun Nelson |
28:4fd8a894a403 | 8 | all: |
Shaun Nelson |
28:4fd8a894a403 | 9 | mbed compile -t $(TOOLCHAIN) -m $(TARGET) $(CFLAGS) -N $(BINFILE) |
Shaun Nelson |
28:4fd8a894a403 | 10 | |
Shaun Nelson |
28:4fd8a894a403 | 11 | debug: |
Shaun Nelson |
28:4fd8a894a403 | 12 | mbed compile --profile debug -t $(TOOLCHAIN) -m $(TARGET) $(CFLAGS) -N $(BINFILE) |
Shaun Nelson |
28:4fd8a894a403 | 13 | |
Shaun Nelson |
28:4fd8a894a403 | 14 | # find and add missing missing libraries |
Shaun Nelson |
28:4fd8a894a403 | 15 | deploy: |
Shaun Nelson |
28:4fd8a894a403 | 16 | mbed deploy |
Shaun Nelson |
28:4fd8a894a403 | 17 | |
Shaun Nelson |
28:4fd8a894a403 | 18 | # configure mbed CLI toolchain settings |
Shaun Nelson |
28:4fd8a894a403 | 19 | configure: |
Shaun Nelson |
28:4fd8a894a403 | 20 | mbed config toolchain $(TOOLCHAIN) |
Shaun Nelson |
28:4fd8a894a403 | 21 | mbed config $(TOOLCHAIN)_Path $(TOOLCHAIN_PATH) |
Shaun Nelson |
28:4fd8a894a403 | 22 | |
Shaun Nelson |
28:4fd8a894a403 | 23 | # Update library references and removes invalid ones |
Shaun Nelson |
28:4fd8a894a403 | 24 | sync: |
Shaun Nelson |
28:4fd8a894a403 | 25 | mbed synchronize |
Shaun Nelson |
28:4fd8a894a403 | 26 |