-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #404 from jphickey/fix-312-261-362-build-cleanup
- Loading branch information
Showing
53 changed files
with
2,176 additions
and
2,218 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
###################################################################### | ||
# | ||
# CMAKE build recipe for MCP750 Board Support Package (BSP) | ||
# | ||
###################################################################### | ||
|
||
add_library(osal_mcp750-vxworks_impl OBJECT | ||
src/bsp_start.c | ||
src/bsp_voltab.c | ||
src/bsp_console.c | ||
) | ||
|
||
target_include_directories(osal_mcp750-vxworks_impl PUBLIC | ||
$ENV{WIND_BASE}/target/h | ||
$ENV{WIND_BASE}/target/h/wrn/coreip | ||
$ENV{WIND_BASE}/target/config/mcp750 | ||
) | ||
|
||
# NOTE: the __PPC__ and MCP750 macros are referenced in some system headers. | ||
# therefore all code compiled for this platform should always define these symbols. | ||
target_compile_definitions(osal_mcp750-vxworks_impl PUBLIC | ||
"__PPC__" | ||
"MCP750" | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
########################################################################## | ||
# | ||
# Build options for "mcp750-vxworks" BSP | ||
# | ||
########################################################################## | ||
|
||
# This indicates where to stage target binaries created during the build | ||
set(OSAL_BSP_STAGING_INSTALL_DIR "CF:0") |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/****************************************************************************** | ||
** File: bsp_console.c | ||
** | ||
** | ||
** This is governed by the NASA Open Source Agreement and may be used, | ||
** distributed and modified only pursuant to the terms of that agreement. | ||
** | ||
** Copyright (c) 2004-2006, United States government as represented by the | ||
** administrator of the National Aeronautics Space Administration. | ||
** All rights reserved. | ||
** | ||
** | ||
** Purpose: | ||
** OSAL BSP debug console abstraction | ||
** | ||
******************************************************************************/ | ||
|
||
#include <string.h> | ||
#include <unistd.h> | ||
#include <stdio.h> | ||
|
||
#include "mcp750_bsp_internal.h" | ||
#include "bsp-impl.h" | ||
|
||
/**************************************************************************************** | ||
BSP CONSOLE IMPLEMENTATION FUNCTIONS | ||
****************************************************************************************/ | ||
|
||
/*---------------------------------------------------------------- | ||
OS_BSP_ConsoleOutput_Impl | ||
See full description in header | ||
------------------------------------------------------------------*/ | ||
void OS_BSP_ConsoleOutput_Impl(const char *Str, uint32 DataLen) | ||
{ | ||
while (DataLen > 0) | ||
{ | ||
putchar(*Str); | ||
++Str; | ||
--DataLen; | ||
} | ||
} | ||
|
||
/*---------------------------------------------------------------- | ||
OS_BSP_ConsoleSetMode_Impl() definition | ||
See full description in header | ||
------------------------------------------------------------------*/ | ||
void OS_BSP_ConsoleSetMode_Impl(uint32 ModeBits) | ||
{ | ||
/* ignored; not implemented */ | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/****************************************************************************** | ||
** File: mcp750_bsp_internal.h | ||
** | ||
** | ||
** This is governed by the NASA Open Source Agreement and may be used, | ||
** distributed and modified only pursuant to the terms of that agreement. | ||
** | ||
** Copyright (c) 2004-2006, United States government as represented by the | ||
** administrator of the National Aeronautics Space Administration. | ||
** All rights reserved. | ||
** | ||
** | ||
** Purpose: | ||
** Header file for internal data to the MCP750 BSP | ||
** | ||
******************************************************************************/ | ||
|
||
#ifndef _MCP750_BSP_INTERNAL_H_ | ||
#define _MCP750_BSP_INTERNAL_H_ | ||
|
||
/* | ||
** OSAL includes | ||
*/ | ||
#include "osapi.h" | ||
#include "bsp-impl.h" | ||
|
||
#endif /* _MCP750_BSP_INTERNAL_H_ */ |
Oops, something went wrong.