-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #449, Make Linux+VxWorks BSPs generic
These adaptor layers can be used on a variety of boards. Renaming the directory reflects that. Note - not renaming pc-rtems at this time, as that still has some non-generic aspects to it.
- Loading branch information
Showing
12 changed files
with
42 additions
and
78 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
2 changes: 1 addition & 1 deletion
2
src/bsp/pc-linux/build_options.cmake → src/bsp/generic-linux/build_options.cmake
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
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
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,14 @@ | ||
###################################################################### | ||
# | ||
# CMAKE build recipe for Generic VxWorks Board Support Package (BSP) | ||
# | ||
###################################################################### | ||
|
||
add_library(osal_generic-vxworks_impl OBJECT | ||
src/bsp_start.c | ||
src/bsp_console.c | ||
) | ||
|
||
# This BSP only works with "vxworks" OS layer. | ||
# Confirming this reduces risk of accidental misconfiguration | ||
set(OSAL_EXPECTED_OSTYPE "vxworks" PARENT_SCOPE) |
4 changes: 2 additions & 2 deletions
4
src/bsp/mcp750-vxworks/build_options.cmake → src/bsp/generic-vxworks/build_options.cmake
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,8 +1,8 @@ | ||
########################################################################## | ||
# | ||
# Build options for "mcp750-vxworks" BSP | ||
# Build options for "generic-vxworks" BSP | ||
# | ||
########################################################################## | ||
|
||
# The "-u" switch is required to ensure that "ldppc" pulls in the OS_BSPMain entry point | ||
# The "-u" switch is required to ensure that the linker pulls in the OS_BSPMain entry point | ||
target_link_libraries(osal_bsp -uOS_BSPMain) |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.