-
Notifications
You must be signed in to change notification settings - Fork 31
Open Source Draco Release #117
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,45 @@ | ||
| /************************************************************************ | ||
| * 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 CFS Limit Checker (LC) command and telemetry | ||
| * message function code definitions. | ||
| * | ||
| */ | ||
| #ifndef DEFAULT_LC_FCNCODE_VALUES_H | ||
| #define DEFAULT_LC_FCNCODE_VALUES_H | ||
|
|
||
| /************************************************************************ | ||
| * Macro Definitions | ||
| ************************************************************************/ | ||
|
|
||
| #define LC_CCVAL(x) LC_FunctionCode_##x | ||
|
|
||
| enum LC_FunctionCode | ||
| { | ||
| LC_FunctionCode_NOOP = 0, | ||
| LC_FunctionCode_RESET_COUNTERS = 1, | ||
| LC_FunctionCode_SET_LC_STATE = 2, | ||
| LC_FunctionCode_SET_AP_STATE = 3, | ||
| LC_FunctionCode_SET_AP_PERM_OFF = 4, | ||
| LC_FunctionCode_RESET_AP_STATS = 5, | ||
| LC_FunctionCode_RESET_WP_STATS = 6, | ||
| }; | ||
|
|
||
| #endif | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| /************************************************************************ | ||
| * 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 | ||
| * CFS Limit Checker (LC) 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/or the public API, if applicable. | ||
| * | ||
| * @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_LC_INTERFACE_CFG_VALUES_H | ||
| #define DEFAULT_LC_INTERFACE_CFG_VALUES_H | ||
|
|
||
| /* Use the default configuration value for all */ | ||
| #define LC_INTERFACE_CFGVAL(x) DEFAULT_LC_##x | ||
Check noticeCode scanning / CodeQL Undisciplined macro Note
The macro LC_INTERFACE_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 | ||
| * CFS Limit Checker (LC) 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_LC_INTERNAL_CFG_VALUES_H | ||
| #define DEFAULT_LC_INTERNAL_CFG_VALUES_H | ||
|
|
||
| /* Use the default configuration value for all */ | ||
| #define LC_INTERNAL_CFGVAL(x) DEFAULT_LC_##x | ||
Check noticeCode scanning / CodeQL Undisciplined macro Note
The macro LC_INTERNAL_CFGVAL(x) uses token pasting and is not allowed.
|
||
|
|
||
| #endif | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| /************************************************************************ | ||
| * 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 | ||
| * CFS Limit Checker (LC) Application Message IDs | ||
| */ | ||
| #ifndef LC_MSGID_VALUES_H | ||
| #define LC_MSGID_VALUES_H | ||
|
|
||
| #include "lc_topicids.h" | ||
| #include "cfe_core_api_base_msgids.h" | ||
|
|
||
| #define LC_CMD_PLATFORM_MIDVAL(x) CFE_PLATFORM_CMD_TOPICID_TO_MIDV(LC_MISSION_##x##_TOPICID) | ||
Check noticeCode scanning / CodeQL Undisciplined macro Note
The macro LC_CMD_PLATFORM_MIDVAL(x) uses token pasting and is not allowed.
|
||
| #define LC_TLM_PLATFORM_MIDVAL(x) CFE_PLATFORM_TLM_TOPICID_TO_MIDV(LC_MISSION_##x##_TOPICID) | ||
Check noticeCode scanning / CodeQL Undisciplined macro Note
The macro LC_TLM_PLATFORM_MIDVAL(x) uses token pasting and is not allowed.
|
||
|
|
||
| #endif | ||
|
|
||
Check notice
Code scanning / CodeQL
Undisciplined macro Note