From 4cce3daeccf5c5af609ca02e6dfb3587ad9e63ab Mon Sep 17 00:00:00 2001 From: arighi Date: Fri, 27 Aug 2010 15:27:36 +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 git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4194 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..01feaf12 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 = \ + $(empty_SRC_PATH)/../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..88b1b433 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 = \ + $(kernel_SRC_PATH)/../bertos/cpu/cortex-m3/drv/ssi_lm3s.c \ $(kernel_SRC_PATH)/main.c \ # -- 2.25.1