aboutsummaryrefslogblamecommitdiff
path: root/src/drivers/boards/px4fmu-v1/module.mk
blob: ff717fe927e931979d8d5a55a40a86c90dfcaa69 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                            

                                 
 





                                                                                                  
                      
#
# Board-specific startup code for the PX4FMU
#

SRCS		 = px4fmu_can.c \
		   px4fmu_init.c \
		   px4fmu_pwm_servo.c \
		   px4fmu_spi.c \
		   px4fmu_usb.c \
		   px4fmu_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