]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - Makefile.var
Update/add files for automatic conversion of HalCoGen output to RPP structure
[pes-rpp/rpp-lib.git] / Makefile.var
index 525654eb46e7ba7cc29d05d9a95783cd6f655cda..3b34ead92b952bc11b478e9788b20e41dff1cbb2 100644 (file)
@@ -12,7 +12,7 @@
 # Abstract:
 #      Definitions of variables used by Makefile
 
-rpp_lib_OS ?= 7.0.2
+rpp_lib_OS ?= 8.2.2
 
 rpp_lib_SOURCES =                                                              \
        rpp/src/rpp/rpp.c                                               \
@@ -33,14 +33,15 @@ rpp_lib_SOURCES += \
 target_or_common = $(if $(wildcard ../../../$(dir $(1))/_$(TARGET)/$(notdir $(1))),$(dir $(1))/_$(TARGET)/$(notdir $(1)),$(1))
 
 rpp_lib_SOURCES +=                                                             \
-       rpp/src/rpp/_$(TARGET)/adc.c                            \
+       rpp/src/rpp/adc.c                                               \
        rpp/src/rpp/can.c                                               \
        rpp/src/rpp/gio.c                                               \
        rpp/src/rpp/sci.c                                               \
-       rpp/src/drv/_$(TARGET)/adc.c                            \
+       rpp/src/drv/adc.c                                               \
+       rpp/src/drv/_$(TARGET)/port_def.c               \
+       rpp/src/drv/gio.c                                               \
+       rpp/src/drv/gio_tab.c                                   \
        rpp/src/drv/sci.c                                               \
-       rpp/src/drv/_$(TARGET)/digital_io_def.c         \
-       rpp/src/drv/digital_io.c                                \
        rpp/src/sys/asm/dabort.asm                              \
        rpp/src/sys/asm/sys_core.asm                            \
        rpp/src/sys/asm/sys_intvecs.asm                 \
@@ -138,6 +139,12 @@ lwip_SOURCES = \
 rpp_lib_SOURCES_y =
 rpp_lib_SOURCES_$(TARGET_HAS_DMM) += rpp/src/sys/ti_drv_dmm.c
 
+rpp_lib_SOURCES_$(TARGET_HAS_SPI) +=                   \
+       rpp/src/drv/spi.c                                               \
+       rpp/src/drv/spi_tms570.c                                        \
+       rpp/src/drv/_$(TARGET)/spi_def.c                        \
+       rpp/src/rpp/spi.c                                               \
+
 rpp_lib_SOURCES_posix = \
        os/$(rpp_lib_OS)/src/rpp/sci_posix.c
 
@@ -153,8 +160,6 @@ rpp_lib_SOURCES_tms570_rpp =                                        \
        rpp/src/drv/hout.c                                              \
        rpp/src/drv/lout.c                                              \
        rpp/src/drv/mout.c                                              \
-       rpp/src/drv/spi.c                                               \
-       rpp/src/drv/spi_tms570.c                                        \
        rpp/src/rpp/dac.c                                               \
        rpp/src/rpp/din.c                                               \
        rpp/src/rpp/eth.c                                               \