From cf46db85169d123d1071ef8f3f063f16c2f00d0f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Jun 2013 09:57:42 +0200 Subject: bsps: Provide simple console selection --- c/src/lib/libbsp/shared/console_select_simple.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 c/src/lib/libbsp/shared/console_select_simple.c (limited to 'c/src/lib/libbsp/shared/console_select_simple.c') diff --git a/c/src/lib/libbsp/shared/console_select_simple.c b/c/src/lib/libbsp/shared/console_select_simple.c new file mode 100644 index 0000000000..b88ad81268 --- /dev/null +++ b/c/src/lib/libbsp/shared/console_select_simple.c @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2013 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Dornierstr. 4 + * 82178 Puchheim + * Germany + * + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#include "console_private.h" + +#include + +void bsp_console_select(void) +{ + Console_Port_Minor = BSP_CONSOLE_MINOR; +} -- cgit v1.2.3