using a temperature, humidity sensor, touch, digit display and a buzzer to create an organ monitoring and alert system which communicates with an app via bluetooth

Dependencies:   DHT DigitDisplay mbed

Fork of Seeed_Grove_Temp_Humidity_Example by Seeed

Committer:
imomoh
Date:
Wed Mar 07 17:39:13 2018 +0000
Revision:
2:91d5583ea3c1
Organ_Transplant_Monitoring_via_bluetooth

Who changed what in which revision?

UserRevisionLine numberNew contents of line
imomoh 2:91d5583ea3c1 1 # This file was automagically generated by mbed.org. For more information,
imomoh 2:91d5583ea3c1 2 # see http://mbed.org/handbook/Exporting-to-GCC-ARM-Embedded
imomoh 2:91d5583ea3c1 3
imomoh 2:91d5583ea3c1 4 GCC_BIN =
imomoh 2:91d5583ea3c1 5 PROJECT = Mbed_Sensors_Example_3
imomoh 2:91d5583ea3c1 6 OBJECTS = ./main.o ./DHT/DHT.o
imomoh 2:91d5583ea3c1 7 SYS_OBJECTS = ./mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/board.o ./mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/cmsis_nvic.o ./mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/mbed_overrides.o ./mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/retarget.o ./mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/startup_MK64F12.o ./mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/system_MK64F12.o
imomoh 2:91d5583ea3c1 8 INCLUDE_PATHS = -I. -I./DHT -I./mbed -I./mbed/TARGET_K64F -I./mbed/TARGET_K64F/TARGET_Freescale -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/TARGET_FRDM -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/device -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/device/MK64F12 -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/common -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/common/phyksz8081 -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/drivers -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/drivers/clock -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/drivers/clock/src -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/drivers/enet -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/drivers/interrupt -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/drivers/pit -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/can -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/dmamux -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/dspi -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/edma -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/enet -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/flextimer -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/gpio -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/i2c -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/mcg -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/osc -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/pit -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/pmc -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/port -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/rtc -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/sai -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/sdhc -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/sim -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/smc -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/uart -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/wdog -I./mbed/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/utilities -I./mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM
imomoh 2:91d5583ea3c1 9 LIBRARY_PATHS = -L./mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM
imomoh 2:91d5583ea3c1 10 LIBRARIES = -lmbed
imomoh 2:91d5583ea3c1 11 LINKER_SCRIPT = ./mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/K64FN1M0xxx12.ld
imomoh 2:91d5583ea3c1 12
imomoh 2:91d5583ea3c1 13 ###############################################################################
imomoh 2:91d5583ea3c1 14 AS = $(GCC_BIN)arm-none-eabi-as
imomoh 2:91d5583ea3c1 15 CC = $(GCC_BIN)arm-none-eabi-gcc
imomoh 2:91d5583ea3c1 16 CPP = $(GCC_BIN)arm-none-eabi-g++
imomoh 2:91d5583ea3c1 17 LD = $(GCC_BIN)arm-none-eabi-gcc
imomoh 2:91d5583ea3c1 18 OBJCOPY = $(GCC_BIN)arm-none-eabi-objcopy
imomoh 2:91d5583ea3c1 19 OBJDUMP = $(GCC_BIN)arm-none-eabi-objdump
imomoh 2:91d5583ea3c1 20 SIZE = $(GCC_BIN)arm-none-eabi-size
imomoh 2:91d5583ea3c1 21
imomoh 2:91d5583ea3c1 22 ifeq ($(HARDFP),1)
imomoh 2:91d5583ea3c1 23 FLOAT_ABI = hard
imomoh 2:91d5583ea3c1 24 else
imomoh 2:91d5583ea3c1 25 FLOAT_ABI = softfp
imomoh 2:91d5583ea3c1 26 endif
imomoh 2:91d5583ea3c1 27
imomoh 2:91d5583ea3c1 28
imomoh 2:91d5583ea3c1 29 CPU = -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=$(FLOAT_ABI)
imomoh 2:91d5583ea3c1 30 CC_FLAGS = $(CPU) -c -g -fno-common -fmessage-length=0 -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fomit-frame-pointer -MMD -MP
imomoh 2:91d5583ea3c1 31 CC_SYMBOLS = -DTARGET_RTOS_M4_M7 -DTARGET_FF_ARDUINO -DTOOLCHAIN_GCC_ARM -DTOOLCHAIN_GCC -DCPU_MK64FN1M0VMD12 -DTARGET_KPSDK_MCUS -DTARGET_FRDM -DTARGET_CORTEX_M -DMBED_BUILD_TIMESTAMP=1452815708.69 -D__FPU_PRESENT=1 -DTARGET_Freescale -DTARGET_M4 -D__MBED__=1 -DTARGET_K64F -DTARGET_KPSDK_CODE -D__CORTEX_M4 -DFSL_RTOS_MBED -DTARGET_MCU_K64F -DARM_MATH_CM4
imomoh 2:91d5583ea3c1 32
imomoh 2:91d5583ea3c1 33 LD_FLAGS = $(CPU) -Wl,--gc-sections --specs=nano.specs -u _printf_float -u _scanf_float -Wl,--wrap,main -Wl,-Map=$(PROJECT).map,--cref
imomoh 2:91d5583ea3c1 34 LD_SYS_LIBS = -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
imomoh 2:91d5583ea3c1 35
imomoh 2:91d5583ea3c1 36
imomoh 2:91d5583ea3c1 37 ifeq ($(DEBUG), 1)
imomoh 2:91d5583ea3c1 38 CC_FLAGS += -DDEBUG -O0
imomoh 2:91d5583ea3c1 39 else
imomoh 2:91d5583ea3c1 40 CC_FLAGS += -DNDEBUG -Os
imomoh 2:91d5583ea3c1 41 endif
imomoh 2:91d5583ea3c1 42
imomoh 2:91d5583ea3c1 43 .PHONY: all clean lst size
imomoh 2:91d5583ea3c1 44
imomoh 2:91d5583ea3c1 45 all: $(PROJECT).bin $(PROJECT).hex size
imomoh 2:91d5583ea3c1 46
imomoh 2:91d5583ea3c1 47
imomoh 2:91d5583ea3c1 48 clean:
imomoh 2:91d5583ea3c1 49 rm -f $(PROJECT).bin $(PROJECT).elf $(PROJECT).hex $(PROJECT).map $(PROJECT).lst $(OBJECTS) $(DEPS)
imomoh 2:91d5583ea3c1 50
imomoh 2:91d5583ea3c1 51
imomoh 2:91d5583ea3c1 52 .asm.o:
imomoh 2:91d5583ea3c1 53 $(CC) $(CPU) -c -x assembler-with-cpp -o $@ $<
imomoh 2:91d5583ea3c1 54 .s.o:
imomoh 2:91d5583ea3c1 55 $(CC) $(CPU) -c -x assembler-with-cpp -o $@ $<
imomoh 2:91d5583ea3c1 56 .S.o:
imomoh 2:91d5583ea3c1 57 $(CC) $(CPU) -c -x assembler-with-cpp -o $@ $<
imomoh 2:91d5583ea3c1 58
imomoh 2:91d5583ea3c1 59 .c.o:
imomoh 2:91d5583ea3c1 60 $(CC) $(CC_FLAGS) $(CC_SYMBOLS) -std=gnu99 $(INCLUDE_PATHS) -o $@ $<
imomoh 2:91d5583ea3c1 61
imomoh 2:91d5583ea3c1 62 .cpp.o:
imomoh 2:91d5583ea3c1 63 $(CPP) $(CC_FLAGS) $(CC_SYMBOLS) -std=gnu++98 -fno-rtti $(INCLUDE_PATHS) -o $@ $<
imomoh 2:91d5583ea3c1 64
imomoh 2:91d5583ea3c1 65
imomoh 2:91d5583ea3c1 66
imomoh 2:91d5583ea3c1 67 $(PROJECT).elf: $(OBJECTS) $(SYS_OBJECTS)
imomoh 2:91d5583ea3c1 68 $(LD) $(LD_FLAGS) -T$(LINKER_SCRIPT) $(LIBRARY_PATHS) -o $@ $^ $(LIBRARIES) $(LD_SYS_LIBS) $(LIBRARIES) $(LD_SYS_LIBS)
imomoh 2:91d5583ea3c1 69
imomoh 2:91d5583ea3c1 70
imomoh 2:91d5583ea3c1 71 $(PROJECT).bin: $(PROJECT).elf
imomoh 2:91d5583ea3c1 72 $(OBJCOPY) -O binary $< $@
imomoh 2:91d5583ea3c1 73
imomoh 2:91d5583ea3c1 74 $(PROJECT).hex: $(PROJECT).elf
imomoh 2:91d5583ea3c1 75 @$(OBJCOPY) -O ihex $< $@
imomoh 2:91d5583ea3c1 76
imomoh 2:91d5583ea3c1 77 $(PROJECT).lst: $(PROJECT).elf
imomoh 2:91d5583ea3c1 78 @$(OBJDUMP) -Sdh $< > $@
imomoh 2:91d5583ea3c1 79
imomoh 2:91d5583ea3c1 80 lst: $(PROJECT).lst
imomoh 2:91d5583ea3c1 81
imomoh 2:91d5583ea3c1 82 size: $(PROJECT).elf
imomoh 2:91d5583ea3c1 83 $(SIZE) $(PROJECT).elf
imomoh 2:91d5583ea3c1 84
imomoh 2:91d5583ea3c1 85 DEPS = $(OBJECTS:.o=.d) $(SYS_OBJECTS:.o=.d)
imomoh 2:91d5583ea3c1 86 -include $(DEPS)
imomoh 2:91d5583ea3c1 87
imomoh 2:91d5583ea3c1 88