3 default_CONFIG = CONFIG_APP_RPI_PMSM_T1=x
4 #default_CONFIG += CONFIG_OC_MWENGINE=x
5 default_CONFIG += CONFIG_APP_RPI_PMSM_T1_WITH_ULAN=x
6 default_CONFIG += CONFIG_APP_RPI_PMSM_T1_WITH_SUITK=x
7 default_CONFIG += CONFIG_APP_RPI_PMSM_T1_WITH_SIM_POSIX=x
8 default_CONFIG += CONFIG_OC_CMDPROC=x CONFIG_PXMC=x CONFIG_PXMC_COORDMV=x
10 ifeq ($(CONFIG_APP_RPI_PMSM_T1),y)
12 LOCAL_CONFIG_H = appl_config.h
14 #INCLUDES += -I$(USER_INCLUDE_DIR)/ul_lib -I.
18 bin_PROGRAMS = rpi_pmsm_t1
20 rpi_pmsm_t1_SOURCES = appl_main.c
22 rpi_pmsm_t1_SOURCES += appl_utils.c
24 rpi_pmsm_t1_SOURCES += rpi_gpio.c
25 rpi_pmsm_t1_SOURCES += rpi_gpclk.c
26 rpi_pmsm_t1_SOURCES += rpi_spi.c
28 ifeq ($(CONFIG_OC_CMDPROC),y)
29 rpi_pmsm_t1_SOURCES += appl_cmdproc.c
30 #rpi_pmsm_t1_SOURCES += appl_cmds.c
31 #rpi_pmsm_t1_SOURCES += appl_tests.c
32 #rpi_pmsm_t1_SOURCES += appl_dprint.c
33 #rpi_pmsm_t1_SOURCES += cmd_uartcon.c
34 ifeq ($(CONFIG_PXMC_COORDMV),y)
35 rpi_pmsm_t1_SOURCES += appl_pxmccmds.c
39 ifeq ($(CONFIG_PXMC),y)
40 ifeq ($(CONFIG_PXMC_COORDMV),y)
41 rpi_pmsm_t1_SOURCES += appl_coordmv.c math_sqrtll.c
42 lib_LOADLIBES += pxmc_coordmv
44 rpi_pmsm_t1_SOURCES += appl_pxmc.c
45 #rpi_pmsm_t1_SOURCES += appl_pxmccmds.c
47 #lib_LOADLIBES += pxmcbsp
50 ifeq ($(CONFIG_OC_CMDPROC),y)
51 lib_LOADLIBES += cmdproc misc
54 ifeq ($(CONFIG_OC_ULUT),y)
59 lib_LOADLIBES += pthread
62 #link_VARIANTS = app sdram
64 endif #CONFIG_APP_RPI_PMSM_T1