Skip to content
Snippets Groups Projects
Commit 13fc6703 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Moved last libs, drivers and headers, cleaned up IO build

parent f57439b9
No related branches found
No related tags found
No related merge requests found
Showing
with 24 additions and 3 deletions
......@@ -10,6 +10,7 @@ ROMFS_ROOT = $(PX4_BASE)/ROMFS/px4fmu_common
#
# Board support modules
#
MODULES += drivers/device
MODULES += drivers/stm32
MODULES += drivers/stm32/adc
MODULES += drivers/stm32/tone_alarm
......@@ -74,6 +75,21 @@ MODULES += modules/multirotor_pos_control
#
MODULES += modules/sdlog
#
# Libraries
#
MODULES += modules/systemlib
MODULES += modules/systemlib/mixer
MODULES += modules/mathlib
MODULES += modules/mathlib/CMSIS
MODULES += modules/controllib
MODULES += modules/uORB
#
# Demo apps
#
MODULES += examples/math_demo
#
# Transitional support - add commands from the NuttX export archive.
#
......
......@@ -186,7 +186,7 @@ define SRC_SEARCH
$(abspath $(firstword $(wildcard $(MODULE_SRC)/$1) MISSING_$1))
endef
ABS_SRCS := $(foreach src,$(SRCS),$(call SRC_SEARCH,$(src)))
ABS_SRCS ?= $(foreach src,$(SRCS),$(call SRC_SEARCH,$(src)))
MISSING_SRCS := $(subst MISSING_,,$(filter MISSING_%,$(ABS_SRCS)))
ifneq ($(MISSING_SRCS),)
$(error $(MODULE_MK): missing in SRCS: $(MISSING_SRCS))
......
......@@ -56,6 +56,7 @@ export ARCHIVE_DIR = $(abspath $(PX4_BASE)/Archives)/
# Default include paths
#
export INCLUDE_DIRS := $(PX4_MODULE_SRC) \
$(PX4_MODULE_SRC)/modules/ \
$(PX4_INCLUDE_DIR)
# Include from legacy app/library path
......
File moved
File moved
File moved
File moved
File moved
############################################################################
#
# Copyright (C) 2012 PX4 Development Team. All rights reserved.
# Copyright (c) 2012, 2013 PX4 Development Team. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
......@@ -35,4 +35,8 @@
# Build the device driver framework.
#
include $(APPDIR)/mk/app.mk
SRCS = cdev.cpp \
device.cpp \
i2c.cpp \
pio.cpp \
spi.cpp
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment