]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - Makefile.var
Removed the artificial constraints on the number of message buffers
[pes-rpp/rpp-lib.git] / Makefile.var
index d279cef61e90a30bd9e25626c4997339c09fd5cc..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,11 +33,11 @@ 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                                   \
@@ -139,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
 
@@ -154,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                                               \