From 132aa83dff90044da7c61808be44e76dc6bdd82e Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Sun, 13 Apr 2014 12:38:07 +0200 Subject: [PATCH] OP-1302 Fix other targets --- flight/targets/boards/coptercontrol/firmware/Makefile | 4 ++++ flight/targets/boards/osd/firmware/Makefile | 2 ++ flight/targets/boards/revoproto/firmware/Makefile | 2 ++ flight/targets/boards/simposix/firmware/Makefile | 2 ++ 4 files changed, 10 insertions(+) diff --git a/flight/targets/boards/coptercontrol/firmware/Makefile b/flight/targets/boards/coptercontrol/firmware/Makefile index 6c0038305..c0cf05285 100644 --- a/flight/targets/boards/coptercontrol/firmware/Makefile +++ b/flight/targets/boards/coptercontrol/firmware/Makefile @@ -48,9 +48,13 @@ OPTMODULES += Osd/osdoutput #OPTMODULES += Altitude #OPTMODULES += Fault +SRC += $(FLIGHTLIB)/notification.c + # Include all camera options CDEFS += -DUSE_INPUT_LPF -DUSE_GIMBAL_LPF -DUSE_GIMBAL_FF + + # Erase flash firmware should be buildable from command line ifeq ($(ERASE_FLASH), YES) CDEFS += -DERASE_FLASH diff --git a/flight/targets/boards/osd/firmware/Makefile b/flight/targets/boards/osd/firmware/Makefile index 14d863b1b..3744ee56a 100644 --- a/flight/targets/boards/osd/firmware/Makefile +++ b/flight/targets/boards/osd/firmware/Makefile @@ -37,6 +37,8 @@ MODULES += Telemetry OPTMODULES = +SRC += $(FLIGHTLIB)/notification.c + # Some diagnostics CDEFS += -DDIAG_TASKS diff --git a/flight/targets/boards/revoproto/firmware/Makefile b/flight/targets/boards/revoproto/firmware/Makefile index 2e5df1ac3..16e4d7072 100644 --- a/flight/targets/boards/revoproto/firmware/Makefile +++ b/flight/targets/boards/revoproto/firmware/Makefile @@ -50,6 +50,8 @@ MODULES += Osd/osdoutout MODULES += Logging MODULES += Telemetry +SRC += $(FLIGHTLIB)/notification.c + OPTMODULES += ComUsbBridge # Include all camera options diff --git a/flight/targets/boards/simposix/firmware/Makefile b/flight/targets/boards/simposix/firmware/Makefile index beda566a8..d6c1f0a14 100644 --- a/flight/targets/boards/simposix/firmware/Makefile +++ b/flight/targets/boards/simposix/firmware/Makefile @@ -45,6 +45,8 @@ MODULES += Airspeed MODULES += AltitudeHold #MODULES += OveroSync +SRC += $(FLIGHTLIB)/notification.c + # Paths OPSYSTEM = . BOARDINC = ..