From c4552a694f533c1ea4972898bbb153c3c84caf06 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Mon, 30 Aug 2010 13:33:48 +0000 Subject: [PATCH] lm3s: fix build bug in empty and kernel presets (lm3s_ssiOpen) 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 Tested-by: Luca Ottaviano 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 | 1 + boards/ek-lm3s1968/templates/kernel/kernel_user.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/ek-lm3s1968/templates/empty/empty_user.mk b/boards/ek-lm3s1968/templates/empty/empty_user.mk index 4c8ed7ef..e068232f 100644 --- a/boards/ek-lm3s1968/templates/empty/empty_user.mk +++ b/boards/ek-lm3s1968/templates/empty/empty_user.mk @@ -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 \ # diff --git a/boards/ek-lm3s1968/templates/kernel/kernel_user.mk b/boards/ek-lm3s1968/templates/kernel/kernel_user.mk index 6dfb4d8c..0bf6c0bc 100644 --- a/boards/ek-lm3s1968/templates/kernel/kernel_user.mk +++ b/boards/ek-lm3s1968/templates/kernel/kernel_user.mk @@ -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 \ # -- 2.25.1