You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The OSAL build script always looks for BSP implementations in: ${OSAL_SOURCE_DIR}/src/bsp/${OSAL_SYSTEM_BSPTYPE}
Likewise it always looks for OS implementations in: ${OSAL_SOURCE_DIR}/src/os/${OSAL_SYSTEM_OSTYPE}
This presents a challenge to for a user with a custom OS/BSP implementation not within the mainline OSAL source tree, but wishes to use the github repo directly.
Describe the solution you'd like
It should be possible to provide an external directory that the OSAL build can use.
Describe alternatives you've considered
Create an OSAL fork or "git subtree" to assemble a full CFE/CFS repo, which allows one to add custom packages or patches they need.
Additional context
The internal API between the BSP/OS implementation components is not stabilized like the public API is, and can change any time.
If directly using a "master" branch from github in conjunction with a locally-controlled implementation module, users may experience frequent breakage, as the component interface can change any time rendering it incompatible with their local version.
In contrast, although the fork/subtree approach does have a similar issue, it doesn't happen "automatically" - it requires a specific user action to pull and merge the new "master" so it creates a buffer that avoids unsolicited breakage.
This feature should come with a big disclaimer that says its for debug/development only, not to use it in production.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Actually... is it possible now by defining OSAL_SYSTEM_BSPTYPE as something like ../../../myosalbsp? Not exactly sanctioned and likely not the original intent... but doesn't require any changes in OSAL?
If the "OSAL_EXT_SOURCE_DIR" cache variable is set, this location
will be checked first for a BSP/OS implementation layer. This can
point to an out-of-tree implementation layer if necessary.
However it is discouraged from actually doing this as there is no
attempt at API stability at the low level implementation layer.
Is your feature request related to a problem? Please describe.
The OSAL build script always looks for BSP implementations in:
${OSAL_SOURCE_DIR}/src/bsp/${OSAL_SYSTEM_BSPTYPE}
Likewise it always looks for OS implementations in:
${OSAL_SOURCE_DIR}/src/os/${OSAL_SYSTEM_OSTYPE}
This presents a challenge to for a user with a custom OS/BSP implementation not within the mainline OSAL source tree, but wishes to use the github repo directly.
Describe the solution you'd like
It should be possible to provide an external directory that the OSAL build can use.
Describe alternatives you've considered
Create an OSAL fork or "git subtree" to assemble a full CFE/CFS repo, which allows one to add custom packages or patches they need.
Additional context
The internal API between the BSP/OS implementation components is not stabilized like the public API is, and can change any time.
If directly using a "master" branch from github in conjunction with a locally-controlled implementation module, users may experience frequent breakage, as the component interface can change any time rendering it incompatible with their local version.
In contrast, although the fork/subtree approach does have a similar issue, it doesn't happen "automatically" - it requires a specific user action to pull and merge the new "master" so it creates a buffer that avoids unsolicited breakage.
This feature should come with a big disclaimer that says its for debug/development only, not to use it in production.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: