lm3s: fix build bug in empty and kernel presets (lm3s_ssiOpen)
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 30 Aug 2010 13:33:48 +0000 (13:33 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 30 Aug 2010 13:33:48 +0000 (13:33 +0000)
From r3911 the LM3S SSI driver is not a distinct driver, and it is
supposed to be explicitly included by the user, at least until the
refactoring of the generic serial/spi/ssi module.

This causes build bugs in empty and kernel presets, triggering the
error: undefined reference to `lm3s_ssiOpen'.

As a temporary workaround, explicitly include the LM3S SSI driver into
the user's makefile for empty and kernel presets.

Signed-off-by: Andrea Righi <arighi@develer.com>
Tested-by: Luca Ottaviano <lottaviano@develer.com>
git-svn-id: https://src.develer.com/svnoss/bertos/branches/2.5@4199 38d2e660-2303-0410-9eaa-f027e97ec537

boards/ek-lm3s1968/templates/empty/empty_user.mk
boards/ek-lm3s1968/templates/kernel/kernel_user.mk

index 4c8ed7ef158ad99ba17d65403258db146f7d47b5..e068232f429bd0cce55085eac9bf79b70c91f4b9 100644 (file)
@@ -9,6 +9,7 @@ empty_PROGRAMMER_PORT = none
 
 # Files included by the user.
 empty_USER_CSRC = \
+       bertos/cpu/cortex-m3/drv/ssi_lm3s.c \
        $(empty_SRC_PATH)/main.c \
        #
 
index 6dfb4d8c0e25df661941de4ea56e3cab51fb1d7c..0bf6c0bc19a1e39af23beaf5955a281d35db3d29 100644 (file)
@@ -9,6 +9,7 @@ kernel_PROGRAMMER_PORT = none
 
 # Files included by the user.
 kernel_USER_CSRC = \
+       bertos/cpu/cortex-m3/drv/ssi_lm3s.c \
        $(kernel_SRC_PATH)/main.c \
        #