Skip to content

Commit

Permalink
Merge pull request #187 from nasa/dev
Browse files Browse the repository at this point in the history
Release v1.6.1
  • Loading branch information
jlucas9 authored May 30, 2023
2 parents 7a2e271 + 58b650a commit d665021
Show file tree
Hide file tree
Showing 65 changed files with 976 additions and 169 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text eol=lf

# Declare files that will always have LF line endings on checkout.
*.sh text eol=lf
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
build
*.o
support/nos3_install.log
tmp
35 changes: 32 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@
[submodule "sims/sim_common"]
path = sims/sim_common
url = https://github.com/nasa-itc/sim_common.git
[submodule "sims/sim_server"]
path = sims/sim_server
url = https://github.com/nasa-itc/sim_server.git
[submodule "sims/sim_terminal"]
path = sims/sim_terminal
url = https://github.com/nasa-itc/sim_terminal.git
Expand Down Expand Up @@ -104,3 +101,35 @@
path = fsw/apps/fm
url = https://github.com/nasa-itc/FM.git
branch = nos3-main
[submodule "components/generic_fss"]
path = components/generic_fss
url = https://github.com/nasa-itc/generic_fss.git
branch = main
[submodule "components/generic_css"]
path = components/generic_css
url = https://github.com/nasa-itc/generic_css.git
branch = main
[submodule "components/generic_eps"]
path = components/generic_eps
url = https://github.com/nasa-itc/generic_eps.git
branch = main
[submodule "components/generic_torquer"]
path = components/generic_torquer
url = https://github.com/nasa-itc/generic_torquer.git
branch = main
[submodule "components/generic_radio"]
path = components/generic_radio
url = https://github.com/nasa-itc/generic_radio.git
branch = main
[submodule "components/generic_imu"]
path = components/generic_imu
url = https://github.com/nasa-itc/generic_imu.git
branch = main
[submodule "components/generic_mag"]
path = components/generic_mag
url = https://github.com/nasa-itc/generic_magnetometer.git
branch = main
[submodule "components/cryptolib"]
path = components/cryptolib
url = https://github.com/nasa/CryptoLib.git
branch = main
108 changes: 108 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# NASA Operational Simulator for Small Satellites (NOS3) Contributing Guide

So you'd like to contribute to NOS3?
Below are some guidelines for contributors to follow in addition to a standard [code of conduct](https://www.contributor-covenant.org/version/1/4/code-of-conduct/).
Contributions come in all shapes and sizes.
We appreciate your help with documentation, unit tests, framework code, continuous-integration, or simply reporting bugs and improvement ideas.
We can't promise that we'll accept every suggestion or fix every bug in a timely manner but we'll respond to you as quickly as possible.

* [Code of Conduct](#CodeofConduct)
* [Ways to Contribute](#WaystoContribute)
* [Discussions and Questions](#DiscussionsandQuestions)
* [Bug Reports](#BugReports)
* [Before Reporting a Bug](#BeforeReportingaBug)
* [Reporting a Bug](#ReportingaBug)
* [What Happens to my Bug Report?](#WhatHappenstomyBugReport)
* [New Feature Requests](#NewFeatureRequests)
* [Before Requesting a New Feature](#BeforeRequestingaNewFeature)
* [Requesting a New Feature](#RequestingaNewFeature)
* [What Happens to my Feature Request?](#WhatHappenstomyFeatureRequest)
* [Pull Requests](#PullRequests)
* [Before starting your Pull Request](#BeforestartingyourPullRequest)
* [Creating a Pull Request](#CreatingaPullRequest)
* [What Happens to My Pull Request?](#WhatHappenstoMyPullRequest)

## <a name='WaystoContribute'></a>Ways to Contribute

### <a name='DiscussionsandQuestions'></a>Discussions and Questions

For discussions, questions, or ideas, [start a new discussion](https://github.com/nasa/nos3/discussions/new) in the cFS repository under the Discussions tab. If you prefer email, you can also [join the cfs community mailing list](README.md#join-the-mailing-list).

### <a name='BugReports'></a>Bug Reports

#### <a name='BeforeReportingaBug'></a>Before Reporting a Bug
Perform a cursory search to see if the bug has already been reported.
If a bug has been reported and the issue is still open, add a comment to the existing issue instead of opening a new one.

#### <a name='ReportingaBug'></a>Reporting a Bug

If you find a bug in our code don't hesitate to report it:

1. Open an issue using the bug report template.
2. Describe the issue.
3. Describe the expected behavior if the bug did not occur.
4. Provide the reproduction steps that someone else can follow to recreate the bug or error on their own.
5. If applicable, add code snippets or references to the software.
6. Provide the system the bug was observed on including the hardware, operating system, and versions.
7. Provide any additional context if applicable.
8. Provide your full name or GitHub username and your company organization if applicable.

#### <a name='WhatHappenstomyBugReport'></a>What Happens to my Bug Report?

1. The NOS3 team will label the issue.
2. A team member will try to reproduce the issue with your provided steps. If the team is able to reproduce the issue, the issue will be left to be implemented by someone.

### <a name='NewFeatureRequests'></a>New Feature Requests

NOS3 has a multitude of users from different fields and backgrounds. We appreciate your ideas for enhancements!

#### <a name='BeforeRequestingaNewFeature'></a>Before Requesting a New Feature

Perform a cursory search to see if the feature has already been requested.
If a feature request has been reported and the issue is still open, add a comment to the existing issue instead of opening a new one.

#### <a name='RequestingaNewFeature'></a>Requesting a New Feature

1. Open an issue using the feature request template.
2. Describe the feature.
3. Describe the solution you would like.
4. Describe alternatives you've considered.
5. Provide any additional context if applicable.
6. Provide your full name or GitHub username and your company organization if applicable.

#### <a name='WhatHappenstomyFeatureRequest'></a>What Happens to my Feature Request?

1. The project team will label the issue.
2. The project team will evaluate the feature request, possibly asking you more questions to understand its purpose and any relevant requirements. If the issue is closed, the team will convey their reasoning and suggest an alternative path forward.
3. If the feature request is accepted, it will be marked for implementation.

### <a name='PullRequests'></a>Pull Requests

#### <a name='BeforestartingyourPullRequest'></a>Before starting your Pull Request

Ready to Add Your Code? Follow GitHub's fork-branch-pull request pattern.

1. Fork the relevant component.

2. Find the related issue number or create an associated issue that explains the intent of your new code.

3. Create a new branch in your fork to work on your fix. We recommend naming your branch `fix-ISSUE_NUMBER-<FIX_SUMMARY>`.

3. Add commits to your branch. For information on commit messages, review [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/).

#### <a name='CreatingaPullRequest'></a>Creating a Pull Request

We recommend creating your pull-request as a "draft" and to commit early and often so the community can give you feedback at the beginning of the process as opposed to asking you to change hours of hard work at the end.

1. For the title, use the title convention `Fix #XYZ, SHORT_DESCRIPTION`.
2. Describe the contribution. First document which issue number was fixed using the template "Fix #XYZ". Then describe the contribution.
3. Provide what testing was used to confirm the pull request resolves the link issue. If writing new code, also provide the associated coverage unit tests.
4. Provide the expected behavior changes of the pull request.
5. Provide the system the bug was observed on including the hardware, operating system, and versions.
6. Provide any additional context if applicable.
7. Provide your full name or GitHub username and your company or organization if applicable.

#### <a name='WhatHappenstoMyPullRequest'></a>What Happens to My Pull Request?

1. The NOS3 team will label and evaluate the pull request in the next configuration control board meeting.
2. If the pull request is accepted, it will be merged.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ endif

# The "LOCALTGTS" defines the top-level targets that are implemented in this makefile
# Any other target may also be given, in that case it will simply be passed through.
LOCALTGTS := all fsw fsw-prep pack sim sim-prep clean clean-fsw clean-sim gsw launch log real-clean stop
LOCALTGTS := all fsw fsw-prep pack sim sim-prep clean clean-fsw clean-sim checkout gsw launch log real-clean stop sc-launch
OTHERTGTS := $(filter-out $(LOCALTGTS),$(MAKECMDGOALS))

# As this makefile does not build any real files, treat everything as a PHONY target
Expand Down Expand Up @@ -79,6 +79,9 @@ clean-sim:
#
# Script Calls
#
checkout:
./gsw/scripts/checkout.sh

gsw:
./gsw/scripts/gsw.sh

Expand All @@ -92,5 +95,8 @@ real-clean:
$(MAKE) clean
./gsw/scripts/real_clean.sh

sc-launch:
./gsw/scripts/sc_launch.sh

stop:
./gsw/scripts/stop.sh
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ The best source of documentation can be found at [the wiki](https://github.com/n

### Prerequisites
Each of the applications listed below are required prior to performing the installation procedure:
* [Git 1.8+](https://git-scm.com/)
* [Vagrant 2.2.3+](https://www.vagrantup.com/)
* [VirtualBox 6.1+](https://www.virtualbox.org/)
* [Git 2.36+](https://git-scm.com/)
* [Vagrant 2.3.4+](https://www.vagrantup.com/)
* [VirtualBox 7.0+](https://www.virtualbox.org/)

### Installing
1. Clone the repository `git clone https://github.com/nasa/nos3.git`
Expand All @@ -21,8 +21,10 @@ Each of the applications listed below are required prior to performing the insta
6. Try building and running following the instructions below

### Getting started
It is recommended to share the nos3 repository into the virtual machine (e.g. `/home/nos3/Desktop/github-nos3`)
1. Open a terminal (to `/home/nos3/Desktop/github-nos3`)
By default the nos3 repository is shared into the virtual machine at `/home/nos3/Desktop/github-nos3`
1. Open a terminal
2. Navigate to the nos3 repository
- `cd /home/nos3/Desktop/github-nos3`
2. To build use the `make` command from the nos3 repo
3. To run nos3 use the `make launch` command from the nos3 repo
4. To halt nos3 use the `make stop` command from the nos3 repo
Expand All @@ -45,7 +47,6 @@ It is recommended to share the nos3 repository into the virtual machine (e.g. `/
- /cfg - 42 configuration files and NOS3 top level configuration files
- /nos_time_driver - time syncronization for all components
- /sim_common - common files used by component simulators including the files that define the simulator plugin architecture
- /sim_server - NOS Engine Server config and build files
- /sim_terminal - terminal for testing on NOS Engine busses
- /truth_42_sim - interface between 42 and COSMOS to provide dynamics truth data to COSMOS

Expand Down
13 changes: 8 additions & 5 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ Vagrant.configure("2") do |config|
config.vm.box = "nos3/ubuntu"

### Specify version
config.vm.box_version = "0.0.0"
config.vm.box_version = "1.6.1"

### Share host NOS3 repository into VM
config.vm.synced_folder ".", "/home/nos3/Desktop/github-nos3"
config.vm.synced_folder ".", "/home/nos3/Desktop/github-nos3",
owner: 'root', group:'vboxsf', automount:'true',
mount_options: ["dmode=0770", "fmode=0770"]

### General configuration
config.vm.provider "virtualbox" do |vbox|
vbox.name = "nos3_1.5.2"
vbox.name = "nos3_1.6.1"
vbox.gui = true
#vbox.cpus = 2
#vbox.memory = "8192"
### Enable additional configuration as needed
#vbox.cpus = 8
#vbox.memory = "16384"
end
end
2 changes: 1 addition & 1 deletion components/arducam
1 change: 1 addition & 0 deletions components/cryptolib
Submodule cryptolib added at 7d9644
1 change: 1 addition & 0 deletions components/generic_css
Submodule generic_css added at e46d3d
1 change: 1 addition & 0 deletions components/generic_eps
Submodule generic_eps added at de8c1d
1 change: 1 addition & 0 deletions components/generic_fss
Submodule generic_fss added at ea121e
1 change: 1 addition & 0 deletions components/generic_imu
Submodule generic_imu added at 1ba6d6
1 change: 1 addition & 0 deletions components/generic_mag
Submodule generic_mag added at 43283f
1 change: 1 addition & 0 deletions components/generic_radio
Submodule generic_radio added at d28902
1 change: 1 addition & 0 deletions components/generic_torquer
Submodule generic_torquer added at 360b2f
2 changes: 1 addition & 1 deletion components/sample
Submodule sample updated 45 files
+1 −0 .gitignore
+263 −0 LICENSE
+108 −19 README.md
+ flowchart/SampleAppFlowchart.pptx
+0 −20 fsw/mission_inc/sample_app_perfids.h
+21 −0 fsw/mission_inc/sample_perfids.h
+0 −25 fsw/platform_inc/sample_app_msgids.h
+0 −41 fsw/platform_inc/sample_app_platform_cfg.h
+28 −0 fsw/platform_inc/sample_msgids.h
+29 −0 fsw/platform_inc/sample_platform_cfg.h
+448 −304 fsw/src/sample_app.c
+64 −40 fsw/src/sample_app.h
+0 −39 fsw/src/sample_app_events.h
+0 −100 fsw/src/sample_app_msg.h
+0 −26 fsw/src/sample_app_version.h
+274 −598 fsw/src/sample_device.c
+77 −60 fsw/src/sample_device.h
+0 −86 fsw/src/sample_device_msg.h
+47 −0 fsw/src/sample_events.h
+89 −0 fsw/src/sample_msg.h
+19 −0 fsw/src/sample_version.h
+12 −34 gsw/SAMPLE/cmd_tlm/SAMPLE_CMD.txt
+17 −28 gsw/SAMPLE/cmd_tlm/SAMPLE_TLM.txt
+0 −9 gsw/SAMPLE/procedures/com/debug.rb
+0 −9 gsw/SAMPLE/procedures/com/radio.rb
+0 −56 gsw/SAMPLE/procedures/sample_test.rb
+0 −46 gsw/SAMPLE/procedures/tests/cfdp_down.rb
+0 −46 gsw/SAMPLE/procedures/tests/cfdp_up.rb
+ sim/42-DataProvider-Framework-Interface.png
+1 −0 sim/CMakeLists.txt
+ sim/NOS3-Sim-Architecture.png
+0 −297 sim/README.md
+7 −6 sim/inc/sample_42_data_provider.hpp
+8 −10 sim/inc/sample_data_point.hpp
+29 −0 sim/inc/sample_data_provider.hpp
+34 −23 sim/inc/sample_hardware_model.hpp
+3 −8 sim/src/sample_42_data_provider.cpp
+28 −20 sim/src/sample_data_point.cpp
+28 −0 sim/src/sample_data_provider.cpp
+230 −201 sim/src/sample_hardware_model.cpp
+3 −2 sim/src/sample_sim.cpp
+69 −0 support/CMakeLists.txt
+15 −0 support/device_cfg.h
+278 −0 support/sample_checkout.c
+68 −0 support/sample_checkout.h
2 changes: 1 addition & 1 deletion components/template
Submodule template updated 39 files
+4 −3 README.md
+1 −0 code/.gitignore
+263 −0 code/LICENSE
+108 −19 code/README.md
+0 −20 code/fsw/mission_inc/sample_app_perfids.h
+22 −0 code/fsw/mission_inc/sample_perfids.h
+0 −25 code/fsw/platform_inc/sample_app_msgids.h
+0 −41 code/fsw/platform_inc/sample_app_platform_cfg.h
+28 −0 code/fsw/platform_inc/sample_msgids.h
+29 −0 code/fsw/platform_inc/sample_platform_cfg.h
+451 −304 code/fsw/src/sample_app.c
+64 −40 code/fsw/src/sample_app.h
+0 −39 code/fsw/src/sample_app_events.h
+0 −100 code/fsw/src/sample_app_msg.h
+0 −26 code/fsw/src/sample_app_version.h
+240 −562 code/fsw/src/sample_device.c
+55 −38 code/fsw/src/sample_device.h
+0 −86 code/fsw/src/sample_device_msg.h
+52 −0 code/fsw/src/sample_events.h
+89 −0 code/fsw/src/sample_msg.h
+19 −0 code/fsw/src/sample_version.h
+12 −34 code/gsw/SAMPLE/cmd_tlm/SAMPLE_CMD.txt
+17 −28 code/gsw/SAMPLE/cmd_tlm/SAMPLE_TLM.txt
+1 −0 code/sim/CMakeLists.txt
+0 −297 code/sim/README.md
+7 −6 code/sim/inc/sample_42_data_provider.hpp
+8 −10 code/sim/inc/sample_data_point.hpp
+29 −0 code/sim/inc/sample_data_provider.hpp
+34 −23 code/sim/inc/sample_hardware_model.hpp
+3 −8 code/sim/src/sample_42_data_provider.cpp
+28 −20 code/sim/src/sample_data_point.cpp
+28 −0 code/sim/src/sample_data_provider.cpp
+224 −201 code/sim/src/sample_hardware_model.cpp
+3 −2 code/sim/src/sample_sim.cpp
+29 −0 code/support/CMakeLists.txt
+15 −0 code/support/device_cfg.h
+278 −0 code/support/sample_checkout.c
+68 −0 code/support/sample_checkout.h
+2 −0 generate_template.sh
2 changes: 1 addition & 1 deletion fsw/apps/cf
2 changes: 1 addition & 1 deletion fsw/apps/ci
2 changes: 1 addition & 1 deletion fsw/apps/sc
Submodule sc updated 62 files
+133 −0 fsw/tables/sc_rts003.c
+133 −0 fsw/tables/sc_rts004.c
+133 −0 fsw/tables/sc_rts005.c
+133 −0 fsw/tables/sc_rts006.c
+133 −0 fsw/tables/sc_rts007.c
+133 −0 fsw/tables/sc_rts008.c
+133 −0 fsw/tables/sc_rts009.c
+133 −0 fsw/tables/sc_rts010.c
+133 −0 fsw/tables/sc_rts011.c
+133 −0 fsw/tables/sc_rts012.c
+133 −0 fsw/tables/sc_rts013.c
+133 −0 fsw/tables/sc_rts014.c
+133 −0 fsw/tables/sc_rts015.c
+133 −0 fsw/tables/sc_rts016.c
+133 −0 fsw/tables/sc_rts017.c
+133 −0 fsw/tables/sc_rts018.c
+133 −0 fsw/tables/sc_rts019.c
+133 −0 fsw/tables/sc_rts020.c
+133 −0 fsw/tables/sc_rts021.c
+133 −0 fsw/tables/sc_rts022.c
+133 −0 fsw/tables/sc_rts023.c
+133 −0 fsw/tables/sc_rts024.c
+133 −0 fsw/tables/sc_rts025.c
+133 −0 fsw/tables/sc_rts026.c
+133 −0 fsw/tables/sc_rts027.c
+133 −0 fsw/tables/sc_rts028.c
+133 −0 fsw/tables/sc_rts029.c
+133 −0 fsw/tables/sc_rts030.c
+133 −0 fsw/tables/sc_rts031.c
+133 −0 fsw/tables/sc_rts032.c
+133 −0 fsw/tables/sc_rts033.c
+133 −0 fsw/tables/sc_rts034.c
+133 −0 fsw/tables/sc_rts035.c
+133 −0 fsw/tables/sc_rts036.c
+133 −0 fsw/tables/sc_rts037.c
+133 −0 fsw/tables/sc_rts038.c
+133 −0 fsw/tables/sc_rts039.c
+133 −0 fsw/tables/sc_rts040.c
+133 −0 fsw/tables/sc_rts041.c
+133 −0 fsw/tables/sc_rts042.c
+133 −0 fsw/tables/sc_rts043.c
+133 −0 fsw/tables/sc_rts044.c
+133 −0 fsw/tables/sc_rts045.c
+133 −0 fsw/tables/sc_rts046.c
+133 −0 fsw/tables/sc_rts047.c
+133 −0 fsw/tables/sc_rts048.c
+133 −0 fsw/tables/sc_rts049.c
+133 −0 fsw/tables/sc_rts050.c
+133 −0 fsw/tables/sc_rts051.c
+133 −0 fsw/tables/sc_rts052.c
+133 −0 fsw/tables/sc_rts053.c
+133 −0 fsw/tables/sc_rts054.c
+133 −0 fsw/tables/sc_rts055.c
+133 −0 fsw/tables/sc_rts056.c
+133 −0 fsw/tables/sc_rts057.c
+133 −0 fsw/tables/sc_rts058.c
+133 −0 fsw/tables/sc_rts059.c
+133 −0 fsw/tables/sc_rts060.c
+133 −0 fsw/tables/sc_rts061.c
+133 −0 fsw/tables/sc_rts062.c
+133 −0 fsw/tables/sc_rts063.c
+133 −0 fsw/tables/sc_rts064.c
2 changes: 1 addition & 1 deletion fsw/apps/to
31 changes: 19 additions & 12 deletions fsw/nos3_defs/cpu1_cfe_es_startup.scr
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
CFE_LIB, /cf/cfs_lib.so, CFS_LibInit, CFS_LIB, 0, 0, 0x0, 0;
CFE_LIB, /cf/hwlib.so, hwlib_Init, HW_LIB, 0, 0, 0x0, 0;
CFE_LIB, /cf/io_lib.so, IO_LibInit, IO_LIB, 0, 0, 0x0, 0;
CFE_LIB, /cf/Crypto.so, Crypto_Init_TC_Unit_Test, CRYPTO, 0, 0, 0x0, 0;

CFE_APP, /cf/sch.so, SCH_AppMain, SCH, 40, 8192, 0x0, 0;
CFE_APP, /cf/ci_lab.so, CI_Lab_AppMain, CI_LAB, 50, 8192, 0x0, 0;
CFE_APP, /cf/to_lab.so, TO_Lab_AppMain, TO_LAB, 50, 8192, 0x0, 0;
CFE_APP, /cf/ci_lab.so, CI_Lab_AppMain, CI_LAB, 90, 8192, 0x0, 0;
CFE_APP, /cf/to_lab.so, TO_Lab_AppMain, TO_LAB, 90, 8192, 0x0, 0;

CFE_APP, /cf/ci.so, CI_AppMain, CI, 50, 16384, 0x0, 0;
CFE_APP, /cf/to.so, TO_AppMain, TO, 50, 16384, 0x0, 0;
CFE_APP, /cf/ci.so, CI_AppMain, CI, 40, 16384, 0x0, 0;
CFE_APP, /cf/to.so, TO_AppMain, TO, 40, 16384, 0x0, 0;

CFE_APP, /cf/cf.so, CF_AppMain, CF, 54, 16384, 0x0, 0;
CFE_APP, /cf/ds.so, DS_AppMain, DS, 58, 16384, 0x0, 0;
CFE_APP, /cf/fm.so, FM_AppMain, FM, 59, 16384, 0x0, 0;
CFE_APP, /cf/cf.so, CF_AppMain, CF, 50, 16384, 0x0, 0;
CFE_APP, /cf/ds.so, DS_AppMain, DS, 50, 16384, 0x0, 0;
CFE_APP, /cf/fm.so, FM_AppMain, FM, 50, 16384, 0x0, 0;
CFE_APP, /cf/lc.so, LC_AppMain, LC, 50, 16384, 0x0, 0;
CFE_APP, /cf/sc.so, SC_AppMain, SC, 50, 16384, 0x0, 0;

CFE_APP, /cf/arducam.so, arducam_AppMain, CAM, 50, 8192, 0x0, 0;
CFE_APP, /cf/generic_rw.so, GENERIC_RW_AppMain, RW, 73, 8192, 0x0, 0;
CFE_APP, /cf/novatel_oem615.so, novatel_oem615_AppMain, NAV, 72, 8192, 0x0, 0;
CFE_APP, /cf/sample.so, SAMPLE_AppMain, SAMPLE, 50, 8192, 0x0, 0;
CFE_APP, /cf/arducam.so, arducam_AppMain, CAM, 60, 8192, 0x0, 0;
CFE_APP, /cf/generic_css.so, GENERIC_CSS_AppMain, CSS, 60, 8192, 0x0, 0;
CFE_APP, /cf/generic_eps.so, GENERIC_EPS_AppMain, EPS, 60, 8192, 0x0, 0;
CFE_APP, /cf/generic_fss.so, GENERIC_FSS_AppMain, FSS, 60, 8192, 0x0, 0;
CFE_APP, /cf/generic_imu.so, GENERIC_IMU_AppMain, IMU, 60, 8192, 0x0, 0;
CFE_APP, /cf/generic_mag.so, GENERIC_MAG_AppMain, MAG, 60, 8192, 0x0, 0;
CFE_APP, /cf/generic_radio.so, GENERIC_RADIO_AppMain, RADIO, 60, 8192, 0x0, 0;
CFE_APP, /cf/generic_rw.so, GENERIC_RW_AppMain, RW, 60, 8192, 0x0, 0;
CFE_APP, /cf/generic_torquer.so, GENERIC_TORQUER_AppMain, TORQUER, 60, 8192, 0x0, 0;
CFE_APP, /cf/novatel_oem615.so, novatel_oem615_AppMain, NAV, 60, 8192, 0x0, 0;
CFE_APP, /cf/sample.so, SAMPLE_AppMain, SAMPLE, 60, 8192, 0x0, 0;

!
! ** The software will not try to parse anything after the first '!' character it sees. **
!
! CFE_APP, /cf/clyde_eps.so, clyde_eps_AppMain, EPS, 71, 8192, 0x0, 0;
! CFE_APP, /cf/cs.so, CS_AppMain, CS, 55, 16384, 0x0, 0;
! CFE_APP, /cf/hk.so, HK_AppMain, HK, 63, 16384, 0x0, 0;
! CFE_APP, /cf/hs.so, HS_AppMain, HS, 56, 16384, 0x0, 0;
Expand Down
17 changes: 16 additions & 1 deletion fsw/nos3_defs/cpu1_device_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,23 @@
#ifndef _cpu1_device_cfg_
#define _cpu1_device_cfg_

/*
** Note: These includes are required for HWLIB
*/
#include "cfe.h"
#include "osapi.h"

/* Note: NOS3 uart requires matching handle and bus number */

#define EPS_DEVICE_STRING "spi_0" /**< \brief EPS device file */
/*
** SAMPLE Configuration
*/
#define SAMPLE_CFG
#define SAMPLE_CFG_STRING "usart_29"
#define SAMPLE_CFG_HANDLE 29
#define SAMPLE_CFG_BAUDRATE_HZ 115200
#define SAMPLE_CFG_MS_TIMEOUT 50 /* Max 255 */
//#define SAMPLE_CFG_DEBUG


#endif /* _cpu1_device_cfg_ */
2 changes: 1 addition & 1 deletion fsw/nos3_defs/cpu1_platform_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,7 @@
** Must be defined as an integer value that is greater than
** or equal to zero.
*/
#define CFE_PLATFORM_ES_STARTUP_SYNC_POLL_MSEC 50
#define CFE_PLATFORM_ES_STARTUP_SYNC_POLL_MSEC 100

/** \cfeescfg CFE core application startup timeout
**
Expand Down
Loading

0 comments on commit d665021

Please sign in to comment.