From: asterix Date: Thu, 13 May 2010 16:30:00 +0000 (+0000) Subject: Update triface project. X-Git-Tag: 2.5.0~225 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c0955902c73da0fff74b524fa9a5e19b8eb0bd0f;p=bertos.git Update triface project. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3692 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/boards/triface/examples/triface/cfg/cfg_context_switch.h b/boards/triface/examples/triface/cfg/cfg_context_switch.h new file mode 100644 index 00000000..05386929 --- /dev/null +++ b/boards/triface/examples/triface/cfg/cfg_context_switch.h @@ -0,0 +1,69 @@ +/** + * \file + * + * + * \brief Configuration file for the context switch benchmark. + * + * \author Daniele Basile + */ + +#ifndef CFG_CONTEXT_SWITCH_H +#define CFG_CONTEXT_SWITCH_H + +/** + * Use hp timer for the bechmark. + * + * $WIZ$ type = "boolean" + */ +#define CONFIG_USE_HP_TIMER 1 + + +/** + * Use board led for benchmark. + * + * $WIZ$ type = "boolean" + */ +#define CONFIG_USE_LED 1 + + +/** + * Debug console port. + * $WIZ$ type = "int"; min = 0 + */ +#define CONFIG_CTX_DEBUG_PORT 0 + +/** + * Baudrate for the debug console. + * $WIZ$ type = "int"; min = 300 + */ +#define CONFIG_CTX_DEBUG_BAUDRATE 115200UL + +#endif /* CFG_CONTEXT_SWITCH_H */ diff --git a/boards/triface/examples/triface/triface_user.mk b/boards/triface/examples/triface/triface_user.mk index acf3cad4..2f52da95 100644 --- a/boards/triface/examples/triface/triface_user.mk +++ b/boards/triface/examples/triface/triface_user.mk @@ -10,7 +10,7 @@ triface_PROGRAMMER_PORT = none # Files included by the user. triface_USER_CSRC = \ $(triface_SRC_PATH)/main.c \ - triface/protocol.c \ + $(triface_SRC_PATH)/protocol.c \ # # Files included by the user. diff --git a/boards/triface/hw/hw_afsk.c b/boards/triface/hw/hw_afsk.c new file mode 100644 index 00000000..8adb432d --- /dev/null +++ b/boards/triface/hw/hw_afsk.c @@ -0,0 +1,41 @@ +/** + * \file + * + * + * \brief AFSK modem hardware-specific definitions. + * + * + * \author Francesco Sacchi + */ + + +#include "hw_afsk.h" +