-
Notifications
You must be signed in to change notification settings - Fork 45
Open Source Draco Release #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| /************************************************************************ | ||
| * NASA Docket No. GSC-19,200-1, and identified as "cFS Draco" | ||
| * | ||
| * Copyright (c) 2023 United States Government as represented by the | ||
| * Administrator of the National Aeronautics and Space Administration. | ||
| * All Rights Reserved. | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
| * not use this file except in compliance with the License. You may obtain | ||
| * a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| ************************************************************************/ | ||
|
|
||
| /** | ||
| * @file | ||
| * Specification for the CI_LAB command function codes | ||
| * | ||
| * @note | ||
| * This file should be strictly limited to the command/function code (CC) | ||
| * macro definitions. Other definitions such as enums, typedefs, or other | ||
| * macros should be placed in the msgdefs.h or msg.h files. | ||
| */ | ||
| #ifndef DEFAULT_CI_LAB_FCNCODE_VALUES_H | ||
| #define DEFAULT_CI_LAB_FCNCODE_VALUES_H | ||
|
|
||
| /************************************************************************ | ||
| * Macro Definitions | ||
| ************************************************************************/ | ||
|
|
||
| #define CI_LAB_CCVAL(x) CI_LAB_FunctionCode_##x | ||
|
|
||
| enum CI_LAB_FunctionCode | ||
| { | ||
| CI_LAB_FunctionCode_NOOP = 0, | ||
| CI_LAB_FunctionCode_RESET_COUNTERS = 1, | ||
| }; | ||
|
|
||
| #endif | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| /************************************************************************ | ||
| * NASA Docket No. GSC-19,200-1, and identified as "cFS Draco" | ||
| * | ||
| * Copyright (c) 2023 United States Government as represented by the | ||
| * Administrator of the National Aeronautics and Space Administration. | ||
| * All Rights Reserved. | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
| * not use this file except in compliance with the License. You may obtain | ||
| * a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| ************************************************************************/ | ||
|
|
||
| /** | ||
| * @file | ||
| * CI_LAB Application Public Definitions | ||
| * | ||
| * This provides default values for configurable items that affect | ||
| * the interface(s) of this module. This includes the CMD/TLM message | ||
| * interface, tables definitions, and any other data products that | ||
| * serve to exchange information with other entities. | ||
| * | ||
| * @note This file may be overridden/superceded by mission-provided definitions | ||
| * either by overriding this header or by generating definitions from a command/data | ||
| * dictionary tool. | ||
| */ | ||
| #ifndef DEFAULT_CI_LAB_INTERFACE_CFG_VALUES_H | ||
| #define DEFAULT_CI_LAB_INTERFACE_CFG_VALUES_H | ||
|
|
||
| /* Use the default configuration value for all */ | ||
| #define CI_LAB_MISSION_CFGVAL(x) DEFAULT_CI_LAB_MISSION_##x | ||
Check noticeCode scanning / CodeQL Undisciplined macro Note
The macro CI_LAB_MISSION_CFGVAL(x) uses token pasting and is not allowed.
|
||
|
|
||
| #endif | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| /************************************************************************ | ||
| * NASA Docket No. GSC-19,200-1, and identified as "cFS Draco" | ||
| * | ||
| * Copyright (c) 2023 United States Government as represented by the | ||
| * Administrator of the National Aeronautics and Space Administration. | ||
| * All Rights Reserved. | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
| * not use this file except in compliance with the License. You may obtain | ||
| * a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| ************************************************************************/ | ||
|
|
||
| /** | ||
| * @file | ||
| * CI_LAB Application Private Config Definitions | ||
| * | ||
| * This provides default values for configurable items that are internal | ||
| * to this module and do NOT affect the interface(s) of this module. Changes | ||
| * to items in this file only affect the local module and will be transparent | ||
| * to external entities that are using the public interface(s). | ||
| * | ||
| * @note This file may be overridden/superceded by mission-provided definitions | ||
| * either by overriding this header or by generating definitions from a command/data | ||
| * dictionary tool. | ||
| */ | ||
| #ifndef DEFAULT_CI_LAB_INTERNAL_CFG_VALUES_H | ||
| #define DEFAULT_CI_LAB_INTERNAL_CFG_VALUES_H | ||
|
|
||
| /* Use the default configuration value for all */ | ||
| #define CI_LAB_PLATFORM_CFGVAL(x) DEFAULT_CI_LAB_PLATFORM_##x | ||
Check noticeCode scanning / CodeQL Undisciplined macro Note
The macro CI_LAB_PLATFORM_CFGVAL(x) uses token pasting and is not allowed.
|
||
|
|
||
| #endif | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| /************************************************************************ | ||
| * NASA Docket No. GSC-19,200-1, and identified as "cFS Draco" | ||
| * | ||
| * Copyright (c) 2023 United States Government as represented by the | ||
| * Administrator of the National Aeronautics and Space Administration. | ||
| * All Rights Reserved. | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
| * not use this file except in compliance with the License. You may obtain | ||
| * a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| ************************************************************************/ | ||
|
|
||
| /** | ||
| * @file | ||
| * CI_LAB Application Message IDs | ||
| */ | ||
| #ifndef DEFAULT_CI_LAB_MSGID_VALUES_H | ||
| #define DEFAULT_CI_LAB_MSGID_VALUES_H | ||
|
|
||
| #include "cfe_core_api_base_msgids.h" | ||
| #include "ci_lab_topicids.h" | ||
|
|
||
| #define CI_LAB_CMD_PLATFORM_MIDVAL(x) CFE_PLATFORM_CMD_TOPICID_TO_MIDV(CI_LAB_MISSION_##x##_TOPICID) | ||
Check noticeCode scanning / CodeQL Undisciplined macro Note
The macro CI_LAB_CMD_PLATFORM_MIDVAL(x) uses token pasting and is not allowed.
|
||
| #define CI_LAB_TLM_PLATFORM_MIDVAL(x) CFE_PLATFORM_TLM_TOPICID_TO_MIDV(CI_LAB_MISSION_##x##_TOPICID) | ||
Check noticeCode scanning / CodeQL Undisciplined macro Note
The macro CI_LAB_TLM_PLATFORM_MIDVAL(x) uses token pasting and is not allowed.
|
||
|
|
||
| #endif | ||
Check notice
Code scanning / CodeQL
Undisciplined macro Note