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@43:55e7bb4d9b60, 2017-08-30 (annotated)
- Committer:
- Shaun Nelson
- Date:
- Wed Aug 30 12:35:33 2017 -0400
- Revision:
- 43:55e7bb4d9b60
- Parent:
- 28:4fd8a894a403
Simplified orientation change detection
Implement button press events
EVB Button1(left) for backend enabled state status (2 sblink = disabled, 3 = enabled)
EVB Button2(right) toggle bacend enabled status
LED Behavior
- LED solid when backend out of sync
- LED blinks on downlink
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 |