-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #121, Unify CFE PSP with OSAL BSP
Instead of redefining the basic entry point symbols, use the OSAL BSP and its abstractions. The CFE PSP just becomes an extension to the OSAL BSP, and only needs to define the OS_Application_Startup symbol like any other OSAL application.
- Loading branch information
Showing
6 changed files
with
67 additions
and
231 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,11 +1,16 @@ | ||
########################################################################## | ||
# | ||
# Build options for "mcp750-vxworks" PSP | ||
# This file specifies any global-scope compiler options when using this PSP | ||
# | ||
########################################################################## | ||
|
||
# This indicates where to install target binaries created during the build | ||
# Note - this should be phased out in favor of the staging dir from OSAL BSP | ||
set(INSTALL_SUBDIR "cf") | ||
|
||
# Additional preprocessor macro definitions to identify this platform | ||
# Some upper-level code may be gated on _VXWORKS_OS_ being defined | ||
# This is for compatibility with older build scripts which defined this symbol, | ||
# but no CFE/OSAL framework code depends on this symbol. | ||
add_definitions("-D_VXWORKS_OS_") | ||
add_definitions("-D__PPC__") | ||
add_definitions("-DMCP750") | ||
|
||
include_directories($ENV{WIND_BASE}/target/h) | ||
include_directories($ENV{WIND_BASE}/target/h/wrn/coreip) | ||
include_directories($ENV{WIND_BASE}/target/config/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
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 |
---|---|---|
@@ -1,6 +1,16 @@ | ||
########################################################################## | ||
# | ||
# Build options for "pc-linux" PSP | ||
# This file specifies any global-scope compiler options when using this PSP | ||
# | ||
########################################################################## | ||
|
||
# This indicates where to install target binaries created during the build | ||
# Note - this should be phased out in favor of the staging dir from OSAL BSP | ||
set(INSTALL_SUBDIR "cf") | ||
|
||
# Some upper-level code may be gated on _LINUX_OS_ being defined | ||
# This is for compatibility with older build scripts which defined this symbol, | ||
# but no CFE/OSAL framework code depends on this symbol. | ||
add_definitions("-D_LINUX_OS_") | ||
|
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 |
---|---|---|
@@ -1,3 +1,17 @@ | ||
########################################################################## | ||
# | ||
# Build options for "pc-rtems" PSP | ||
# This file specifies any global-scope compiler options when using this PSP | ||
# | ||
########################################################################## | ||
|
||
# This indicates where to install target binaries created during the build | ||
# Note - this should be phased out in favor of the staging dir from OSAL BSP | ||
set(INSTALL_SUBDIR "eeprom") | ||
|
||
# Some upper-level code may be gated on _RTEMS_OS_ being defined | ||
# This is for compatibility with older build scripts which defined this symbol, | ||
# but no CFE/OSAL framework code depends on this symbol. | ||
add_definitions("-D_RTEMS_OS_") | ||
|
||
|
Oops, something went wrong.