2 # Copyright (c) 2015, The LibrePilot Project, http://www.librepilot.org
3 # Copyright (c) 2009-2013, The OpenPilot Team, http://www.openpilot.org
4 # Copyright (c) 2012, PhoenixPilot, http://github.com/PhoenixPilot
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 # You should have received a copy of the GNU General Public License along
17 # with this program; if not, write to the Free Software Foundation, Inc.,
18 # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 ifndef FLIGHT_MAKEFILE
22 $(error Top level Makefile must be used to build this target
)
25 include ..
/board-info.mk
26 include $(FLIGHT_ROOT_DIR
)/make
/firmware-defs.mk
31 # Set to YES to build a FW version that will erase data flash memory
34 # List of mandatory modules to include
35 #MODULES += FirmwareIAP
38 # Include all camera options
39 CDEFS
+= -DPIOS_APPS_MINIMAL
41 # List C source files here (C dependencies are automatically generated).
42 # Use file-extension c for "c-only"-files
43 ## The standard CMSIS startup
44 SRC
+= $(CMSIS_DEVICEDIR
)/system_stm32f0xx.c
47 SRC
+= $(OPSYSTEM
)/gpsp.c
48 SRC
+= $(OPSYSTEM
)/pios_board.c
49 SRC
+= $(FLIGHTLIB
)/ubx_utils.c
51 SRC
+= $(PIOSCOMMON
)/pios_hmc5x83.c
52 SRC
+= $(PIOSCOMMON
)/pios_ubx_dcc.c
53 SRC
+= $(PIOSCOMMON
)/pios_flash_jedec.c
56 SRC
+= $(FLIGHT_UAVOBJ_DIR
)/firmwareiapobj.c
57 SRC
+= $(FLIGHT_UAVOBJ_DIR
)/systemstats.c
60 PIOS_APPS_MINIMAL
= YES
62 include $(FLIGHT_ROOT_DIR
)/make
/apps-defs.mk
63 include $(FLIGHT_ROOT_DIR
)/make
/common-defs.mk