aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/boards/aerocore/module.mk
blob: 05e3d878d1c8734fcf936683276a679ed8a4e64a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Board-specific startup code for the AeroCore
#

SRCS		 = aerocore_init.c \
		   aerocore_pwm_servo.c \
		   aerocore_spi.c \
		   aerocore_led.c

ENABLE_CXXINITIALIZE=$(call check_nuttx_config ,"CONFIG_HAVE_CXX 1", $(NUTTX_CONFIG_H))
ENABLE_CXXINITIALIZE+=$(call check_nuttx_config ,"CONFIG_HAVE_CXXINITIALIZE 1", $(NUTTX_CONFIG_H))
ifeq ("$(ENABLE_CXXINITIALIZE)",$(nuttx_config_2true))
SRCS		 +=	   ../../../modules/systemlib/up_cxxinitialize.c
endif

MAXOPTIMIZATION	 = -Os