Commit Graph

552 Commits

Author SHA1 Message Date
Timothy Canham
9e38240ed9 Fix packet deployment (#3035)
* updates to packet autocoder

* Update to ignore module name on front of channels as band-aid until FPP packets are ready

* Revert to TlmChan

* Reformatted with Black
2024-12-04 14:26:17 -08:00
Rob Bocchino
b6dca73468 FPP v2.2.1a2 (#3042)
* Update fpp version; revise Ref topology

Eliminate duplicated code

* Update fpp version
2024-11-22 12:41:18 -08:00
Thomas Boyer-Chammard
564cb5773b Add Os::RawTime OSAL implementation, refactor Os::IntervalTimer (#2923)
* Add Os::RawTime and preliminary rule-based tests

* Implement Stubs and stub tests tests + misc improvements

* Update delay functions to use Fw::TimeInterval instead of Fw::Time

* Replace TimerVal with Os::RawTime FPP type, SERIALIZED_SIZE fixed to 2*sizeof(U32)

* Fix spelling and legacy code

* Fix test import

* Remove TimerVal files and misc clean up

* Add Fw/Time as dependency of Os module

* Fix include guards

* Fix default constructors and missing getHandle stub

* Add Handle and Serialization size to FpConfig, refactor interface for less vtable calls, refactor IntervalTimer

* Fixes for new OS CMake API

* Add RawTime FPP Model

* Rename getRawTime to now(), better error handling, added docs for all functions

* Correct handle size, spelling, and more robust test IntervalTimer test

* Peer review changes

* Move `Os.RawTime` to `Os/Types.fpp`

* Fix unused variable

* Fix spelling and comments

* spelling extravaganza

* Update metadata

check-spelling run (pull_request_target) for os-interval-timer

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

* Reference based approach to minuend and subtrahend

---------

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
Co-authored-by: Thomas Boyer-Chammard <thomas-bc@users.noreply.github.com>
Co-authored-by: M Starch <LeStarch@googlemail.com>
2024-10-14 10:06:45 -07:00
Thomas Boyer-Chammard
d6ebdff460 Refactor Os::FileSystem and Os::Directory (#2871)
* Add FileSystem Interface

* Add OS::FileSystem interface and implementations

* static interface + global Os::init()

* Add test harness

* Implement Os::Directory interfaces and use it in FileSystem::readDirectory

* Add Stub tests for Directory and FileSystem

* wip: modify the interface from Michael feedback

* wip: move functions around and rework interface a little more

* Add Directory rule-based tests

* Refactored Directory for open-create + WIP: FileSystem tests

* Update state tracking mechanism in FileSystem test implementation + add RandomizedTesting

* Replace bounded while-loop with for-loop

* Code cleanup

* fix typo

* Rename FileTracker and code reorganization / clarification

* Code style and add CWD rule

* Clean up tester code

* More cleanup

* Add Posix tests to Os_ut_exe

* Fix DpCatalog readDirectory usage

* Appease CI checks

* Spelling and CI warnings

* Spelling + removing FppConstants include

* Add review changes and todos

* Add Directory::read(Fw::StringBase&) overload

* Refactor copyFileData to iterate over copied size

* Remove FppConstants.hpp include

* Rework moveFile into rename/copy-remove

* Add majestic comments

* Add option to error if dir exist in Fs::createDirectory

* spelling

* include <algorithm> for std::find in tests

* Fix leftover ::CREATE modes in comments and stub tests

* Fix CmdSequencer test case

* Fix memory leak in testing by conditioning the Open rule

* Fix FileManager tests

* Add Directory and FileSystem FPP type definitions; update CMakeLists and clean up comments

* spelling

* Reoder header guards

* Implement changes from peer-review

* read into StringBase with const_cast

* Fix resetSer() call

* Fix spelling

* fix spelling again i guess

* Fix DpCatalog unchecked return value
2024-09-27 09:15:21 -07:00
M Starch
a049743e07 Removing component init() functions where unneeded (#2893)
* Removing component init() functions where unneeded

* Removing spurious assert
2024-09-23 18:39:00 -07:00
Shivaly-Reddy
17879e56ac Remove versions from SystemResources and updates to Version component (#2866)
* FP-2826: Remove version features from SystemResources

* FP-2826: When version custom command is sent, regardless of verbosity at minimum events are sent

* FP-2826: Update comments for clarification

* FP-2826: Fixed spell check issues

* FP-2826: Update SDD to reflect verbosity implementational change

* FP-2826: Fixes based on git check failures
2024-09-17 18:00:34 -07:00
Justine West
672538de32 Update Ref and RPI for compatibility with FPP #349 (fully qualified component instance names) (#2823)
* updated ref and rpi integration tests

* fix component qualifiers

* FPP v2.2.0a1

* fix py file formatting

* add new line

* remove newline

* file py file formatting

* fprime-gds v3.4.4a3

* fix typo in integration test command name

---------

Co-authored-by: jawest <justine.a.west@jpl.nasa.gov>
2024-09-04 14:48:25 -07:00
M Starch
7159e7e347 Implements #2723: Adds Os::Console to replace Os::Log (#2831)
* Initial logging refactor - WIP

* Removing LogAssert as it is not used

* Working on Fw::Logger rewrite

* Initial Os::Console refactor

* Fixing Fw::Logger unit tests

* Fixing up UT build

* Adding Os::Stub::Console implementation

* Added interface UTs

* Adding posix console tests

* Fixing Linux errors

* Spelling

* Initial review requests

* Fixing RPI build issues

* Fixing codeql errors

* Fixing code QL

* Validating 'message' parameter
2024-08-15 18:53:36 -07:00
M Starch
9e3d27487a Add phase config code to Ref (#2821) 2024-07-31 10:04:49 -07:00
Shivaly-Reddy
499aefd507 Add Svc.Version component (#2747)
* 2604: SDD in Progress

* 2604: Fixed bug in version

* 2604: Updates to user defined versions

* FP-2604: Updates to Version module and UTs

* FP-2604 : Updates based on changes made by Thomas to version.hpp

* FP-2604: Updates to Version based on conversations with Tim and Michael

* FP-2604: Updates to UTs and respective code changes

* FP-2604: Updates based on review comments

* FP-2604: Minor updates based on pull request auto comments

* FP-2604: Updates to Ref to integrate versions config and include channel packets

* FP-2604 : Update function call in UTs for config to match standards

* FP-2604: Remove commented out lines so the python formatter passes in the PR

* FP-2604: Fixing python formatting issues

* FP-2604: Updates to code based on peer review comments

* FP-2604: Format *.cpp files, create new Ports dir in Svc

* FP-2604: Update spell check errors

* FP-2604: Check spell error fixes

* FP-2604: Update spell check errors

* FP-2604: Validated argument for version_types

* FP-2604: Don't think this will make a difference with the CI errors seen in the pull request, but giving it a try

* FP-2604: Updates to Version based on updates to Fw::StringBase

* FP-2604: Fixing the memory allocation error for autocoded versions files

* FP-2604: Fixed target name in version.cmake so ref/top/topology make rule isnt violated

* FP-2604: python file formatting error fix

* FP-2604: version python script formatting

* FP-2604: Trial/error format fixes on python script

* FP-2604: Reformatted python script

* FP-2604: Updates to fix CI/linux errors

* FP-2604: Add UT version for version.cpp

* FP-2604: Formatting and styling updates

* Delete Svc/Version/test/ut/VersionTesterHelpers.cpp

Deleting unneeded test helper file

* Deleting dead code in test

* Removing blanks in SDD

* Removing parameter ports (unused)

* FP-2604: Updates to versions based on peer review comments and code scrubbing

* FP-2604: Formatting fixes

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
2024-07-24 13:21:11 -07:00
Thomas Boyer-Chammard
303623971f Rename EventsInterface to EventInterface (#2792) 2024-07-02 12:52:09 -07:00
menaman123
b0e6023186 Added Channel Interface for Telemetry (#2757)
* Added Chennel Interface for Telemtry

* Added interfaces to tests

* Added interfaces to tests

* Fixed Events typo

* modified:   cmake/test/src/test_unittests.py

* Removed spaces

* modified:   cmake/test/src/test_unittests.py

* Reverting LinuxSpiDriver.fpp

* Fixing formatting

* Missing comma for formatting

* Removing trailing spaces

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
2024-06-07 13:29:54 -07:00
Rob Bocchino
ca08ac93d7 Update FPP to v2.1.0a11 (#2745)
* Code updates for FPP v2.1.0a11

* Fix link in data products docs

* Remove uses of new

To keep the leak checker happy

* Revise string test

* Replace F' with F Prime in data products docs
2024-06-04 10:14:45 -07:00
menaman123
7d10786a10 Add Events FPP interface (#2749)
* created an Events interface using #2255 as an example interface change set

* Added Interfaces Section and Event Interface

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
2024-06-03 14:37:39 -07:00
Remzell Maranan
db10adea8b Create Command Interface (#2753)
* issue#2586 Create Command Interface

* Changed include directory in line 38 to access the file
2024-06-03 13:32:05 -07:00
Timothy Canham
f4c2095fbb Work/string search (#2720)
* Working on unit tests

* substring search passes unit tests

* Fix spelling

* Fixed Doxygen comments

* Corrections to index types and removed unneccesary code.

* Fixing review comments

* Moving check to prevent overflow in check

* Fixing loop bound

* Formatting and settings.ini

---------

Co-authored-by: Michael D Starch <Michael.D.Starch@jpl.nasa.gov>
2024-05-23 09:37:52 -07:00
M Starch
640cf44c80 Os task refactor issue 2526 (#2672)
* Task refactor WIP -- compiles, but does not link

* Adding isCooperative method - WIP

* more WIP

* Initial Os::Posix::Task implementaion

* Adding makeDelegate functions; Fixing existing UTs

* Touching up comments

* Fixing Linux issues

* Adding type_traits import

* Removing TaskId and reworking handle storage

* Do not need to assert that a reference is not nullptr; compiler will get angry

* Starting UT development

* Start test works

* Working start and join rules; random test

* Adding state, delay, and count tests

* Adding stub interface tests

* sp

* Registry tests

* Fixing UTs

* Fixing PTHREAD_MIN_STACK for linux

* Missing newlines

* Fixing GPIO driver's task

* More build fixes

* Fixes for CI

* Correcting errors in GNU only code

* Fixing review comments

* Fixing sp

* Fixing RPI (again)

* Removing divergent open rules from interface testing. Fixes #2733

* Fixing review comments

---------

Co-authored-by: Kevin F. Ortega <kevin.f.ortega@jpl.nasa.gov>
2024-05-22 16:38:18 -07:00
Rob Bocchino
cdac751845 Make single-argument string constructors explicit (#2707)
* Revise Linux platform types

* Fix regression in test autocoder

TimeBaseStoreType is not the same as TimeBase

* Revise test autocoder

Cast to the TimeBaseStore type with a known size

* Revise test autocoder

Remove unnecessary const casting

* Fix integer type mismatch in ComQueue

* Update fpp version

* Update fpp version

* Revise DpWriter unit tests

Remove manually written functions
Use new autocode in tester base

* Update fpp version

* Update fpp version

* Revise DpTest

Add check for priority set by dpGet

* Reivse StringType; add ExternalString

* Revise dp test

* Revise dp test; update fpp version

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise dp test

* Revise fpp version

* Update fpp version

* Revise ExternalString

* Reformat Fw/Serializable.{hpp,cpp}

* Reformat StringType.{hpp,cpp}

* Revise StringBase

* Update fpp version

* Remove trailing space

* Reformat code

* Revise dp test

* Reformat cpp and hpp files in Fw/Types

* Revise string types

* Revise string types

* Revise string types

* Remove EightyCharString

* Revise CmdString

* Revise LogString

* Revise PrmString

* Revise TextLogString

* Revise Test/String

* Revise TlmString

* Revise InternalInterfaceString

* Revise Os/QueueString

* Revise Os/TaskString

* Add missing type qualifier

* Fix warning in String.hpp

* Revise string types

* Remove stray character

* Revise StringBase

* Revise string types

* Revise String type

* Revise FileNameString

* Revise string types

* Add missing file

* Revise InternalInterfaceString

* Revise comment

* Revise TlmString

* Revise string types

* Revise log strings

* Revise PrmString

* Revise Os string classes

* Revise string types

* Revise string types

* Revise os strings

* Add test for ExternalString to TypesTest

* Revise ExternalString

* Revise ExternalString

* Update fpp version

* Format Fw/Types

* Add static serialized size to StringBase

* Update fpp version

* Update fpp version; revise string classes

* Revise event handling in DpWriter

* Revise string implementations

* Revise string implementations

* Refactor dp tests

* Add static assertion to PrmBuffer

For safety's sake!

* Revise string implementations; update fpp version

* Revise StringBase

Existing code was correct but somewhat terse and obscure
Refactor and add comments for clarity

* Fix tests to conform to FPP changes

* Remove helper scripts

* Add const qualifier

* Revise StringBase

* Revise StringBase

* Revise comment

* Update fpp version

* Fix code formatting

* Make constructors explicit

* Make string constructors explicit

* Make string constructors explicit

* Revise String.hpp

Remove explicit from char* constructor
The autocoder depends on the implicit constructor

* Fixing improper null-termination in fail case

* Fixing conversion warnings

* Removing broken link

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
Co-authored-by: Michael D Starch <Michael.D.Starch@jpl.nasa.gov>
2024-04-30 11:28:39 -07:00
Timothy Canham
4557066e0c Data Product Catalog prototype (#2667)
* Starting on FDD for DpCatalog

* More DpCatalog SDD edits

* More refined DpCatalog requirements

* Starting prototype code

* Working on DpCatalog build command

* More DpCatalog work

* More DpCatalog work

* More work on reading DP headers

* More work...

* Continued work

* Spelling fixes

* More spelling fixes

* First run of init unit test

* One DP works

* Refactor unit test helpers

* Working on multiple DPs

* More work on multiple DPs

* Fixed filesRead bug

* More merge fixes

* Adding DPs to SignalGen

* Adding DP components

* Added DP directory to DpWriter

* First working version of Data Products!

* Added missing FileDownlink connection

* Added early proto warning to SDD.

* Switched to Fw::FileNameString

* Fixed unit test compile

* Add missing override keyword

* Fix unit test override

* Fixed format specifiers

* Reformat code

* Revise DpWriter uts

* Revise dp writer

* Revise dp writer

* Removed extra ;

* Fix markdown broken links

* Updated SDD to force CI to run again

---------

Co-authored-by: Robert L. Bocchino Jr <bocchino@jpl.nasa.gov>
2024-04-25 16:26:39 -07:00
Saurav Maheshkar
109e4bd399 feat(ci): add markdown link checker (#2651)
* feat(ci): add markdown link checker

* Fixing sp

* feat(ci): specify markdown lint check params

* Remove verbose mode

* Remove sdd.html links

* Add historical note to ci/README.md

* Fix broken links

* Fix more dead links

* Test replacementPatterns for CMake API

* Use config file correctly

* Fix config path

* Spell out replacement field

* Add C++ API redirect

* Escape `c++` pattern

* Fix another batch of dead links

* fix options and spelling

* docs: address comments

* docs: address comments

* Fix FPP Wiki links to NASA org

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
Co-authored-by: thomas-bc <thomas.boyerchammard@gmail.com>
Co-authored-by: Thomas Boyer-Chammard <49786685+thomas-bc@users.noreply.github.com>
2024-04-24 16:51:42 -07:00
M Starch
9f5b364526 Fixes #2602; bumps required version to 3.16 (#2617) 2024-03-26 10:57:39 -07:00
Rob Bocchino
c02f35145e Remove FPP dependencies on native int types (#2548)
* Remove FPP dependencies on native int types

* Revise FpConfig

* Fix errors in FpConfig

* Revise types

Add size type alias to Serializable
Remove type aliases for generated code
2024-03-04 19:34:23 -08:00
Thomas Boyer-Chammard
bdfe2419b5 Add Fw::ObjectName to hold Fw::ObjBase name (#2497)
* Implement Fw::ObjectName

* format

* Add test case

* Fix PolyDb UT and spelling

* Explicit constructor and use CHAR

* Revise ObjBase.hpp

Don't include ObjectName header unless object names are enabled

* Update requirements.txt for fpp==2.1.0a4

* Fix static code analysis warnings

* cast string_copy return value to void

* Resolve unchecked argument

---------

Co-authored-by: Robert L. Bocchino Jr <bocchino@jpl.nasa.gov>
2024-03-04 19:31:59 -08:00
Simone Morettini
4fc42cef55 Update demo to show member array support gds (#2517)
* Adding member array to TypeDemo

* Fix example struct and packet generation

* Fix typo

* Update array size
2024-02-13 08:59:09 -08:00
Johan Bertrand
f0f19baafb Fix shadow variables (#2482)
* Fixed shadow warnings from Fprime

* Fix unit tests

* Fix missing shadow warnings

* Fix condition in cmake

* Fix cmake

* Fixes from review

* Fixed mistake in PathName

* Fixing comment

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
2024-02-01 10:18:10 -08:00
Johan Bertrand
7d13cbd8b8 Fix pedantic warnings (#2441)
* Fix macro pedantic warning

* Fixed pedantic warnings
2024-01-04 17:02:36 -08:00
M Starch
1caf1e4be8 Correcting NO_ASSERT handling and safety. Fixes #1706, #2447 (#2448) 2024-01-04 17:02:13 -08:00
M Starch
bf3e7eb4ed Updating framework for FPP post-v2.0.1 (#2454) 2024-01-04 09:56:46 -08:00
M Starch
20997fd779 Update/sloc cache (#2366)
* Output sources.txt representing sources of each module - WIP

* Adding in module-ut-info.txt

* Formatting

* sp
2023-11-14 17:19:29 -08:00
M Starch
3f6b3a903f Refactor locs, dependencies into generic sub build (#2360)
* Refactor locs, dependencies into generic sub build

* Fixing CMake UTs for generic subbuild pattern

* Adding sub-build CMake UT

* Correcting sub-builds from UT results

* Adding include_guards to globally imported items

* Fixing CI and speed improvements

* sp

* Fixing review recommendations
2023-11-13 10:03:29 -08:00
Simone Morettini
36a07dd967 Implementation of the offsets in the RateGroupDriver (#2166)
* Implementation of the offsets

* Fix comment

* Fix spell error

* Changing configure interface by addind DividersSet

* Update RPI topology

* Removing numDivisors from call

* Removing memset clear as the constructor handles zeroed initialization

* Fixing ASSERT and removing m_numDivisors

* Renaming divisersSet to diviserSet

---------

Co-authored-by: Simone Morettini <simone.morettini@redwirespaceeurope.com>
Co-authored-by: Michael D Starch <Michael.D.Starch@jpl.nasa.gov>
2023-10-26 15:09:47 -07:00
M Starch
b5777e99dc Convert Svc.Time into An Interface (#2317)
* Renaming of linux time files to posix

* Fixes #2256. Renames LinuxTime into PosixTime implementing new Time interface

* sp

* Static analysis errors

* Cleaning up other LinuxTime references
2023-10-25 08:54:51 -07:00
M Starch
5e0b388268 Added startup, shutdown methods to IpSocket and added startup as a re… (#2261)
* Added startup, shutdown methods to IpSocket and added startup as a retry step

* Review fixes I

* Fixing static analysis checks

* Fixing spelling
2023-10-24 14:14:37 -07:00
M Starch
aa701ddab9 Adding scalar type test to type demo (#2313) 2023-10-12 09:34:56 -07:00
M Starch
f797734994 Integrate/fpp v2 (#2293)
* WIP: FPP v2

* Initial integration of FPP UT generation

* Updating UT GTestBase.hpp includes

* Update fpp version

* Revise header path

* Revise test; add modified generated code

* Revise modified code gen

* Revise modified generated code

* Add and move files

* Revise Fpp tests

* Add fpp deps

* Update fpp version

* Update include paths

* Fix unit tests

* Fix unit tests

* Revise TlmPacketizer test

* Fix unit tests

* Fix unit tests

* Delete temporary files

* Updating for new FPP tools flags

* Bump for fixed FPP tools

* Migrating TcpServer unit tests to v3.4.0 standards

* Migrating Udp unit tests to v3.4.0 standards

* Migrating LinuxSpiDriver unit tests to v3.4.0 standards

* Migrating LinuxI2cDriver unit tests to v3.4.0 standards

* Migrating LinuxGpioDriver unit tests to v3.4.0 standards

* Migrating TcpClient unit tests to v3.4.0 standards

* Migrating StreamCrossover unit tests to v3.4.0 standards

* Migrating SignalGen unit tests to v3.4.0 standards

* Migrating Checksum unit tests to v3.4.0 standards

* Migrating queued unit tests to v3.4.0 standards

* Migrating empty unit tests to v3.4.0 standards

* Migrating passive unit tests to v3.4.0 standards

* Migrating active unit tests to v3.4.0 standards

* Migrating FilePacket unit tests to v3.4.0 standards

* Migrating Logger unit tests to v3.4.0 standards

* Migrating port_return_type unit tests to v3.4.0 standards

* Migrating ext_dict unit tests to v3.4.0 standards

* Migrating time_tester unit tests to v3.4.0 standards

* Migrating serial_passive unit tests to v3.4.0 standards

* Migrating tlm_multi_inst unit tests to v3.4.0 standards

* Migrating param2 unit tests to v3.4.0 standards

* Migrating param_string unit tests to v3.4.0 standards

* Migrating command_string unit tests to v3.4.0 standards

* Migrating command_res unit tests to v3.4.0 standards

* Migrating tlm_onchange unit tests to v3.4.0 standards

* Migrating param_multi_inst unit tests to v3.4.0 standards

* Migrating command2 unit tests to v3.4.0 standards

* Migrating port_nogen unit tests to v3.4.0 standards

* Migrating tlm2 unit tests to v3.4.0 standards

* Migrating command_tester unit tests to v3.4.0 standards

* Migrating event2 unit tests to v3.4.0 standards

* Migrating param_tester unit tests to v3.4.0 standards

* Migrating tlm_string unit tests to v3.4.0 standards

* Migrating testgen unit tests to v3.4.0 standards

* Migrating log_tester unit tests to v3.4.0 standards

* Migrating port_loopback unit tests to v3.4.0 standards

* Migrating param_enum unit tests to v3.4.0 standards

* Migrating command_multi_inst unit tests to v3.4.0 standards

* Migrating log1 unit tests to v3.4.0 standards

* Migrating event_multi_inst unit tests to v3.4.0 standards

* Migrating serialize_user unit tests to v3.4.0 standards

* Migrating telem_tester unit tests to v3.4.0 standards

* Migrating param1 unit tests to v3.4.0 standards

* Migrating event_throttle unit tests to v3.4.0 standards

* Migrating string_port unit tests to v3.4.0 standards

* Migrating command1 unit tests to v3.4.0 standards

* Migrating noargport unit tests to v3.4.0 standards

* Migrating time_get unit tests to v3.4.0 standards

* Migrating event_enum unit tests to v3.4.0 standards

* Migrating comp_no_namespace unit tests to v3.4.0 standards

* Migrating event1 unit tests to v3.4.0 standards

* Migrating event_string unit tests to v3.4.0 standards

* Migrating tlm1 unit tests to v3.4.0 standards

* Migrating comp_diff_namespace unit tests to v3.4.0 standards

* Migrating tlm_enum unit tests to v3.4.0 standards

* Migrating pass_by_attrib unit tests to v3.4.0 standards

* Migrating stress unit tests to v3.4.0 standards

* Migrating interface1 unit tests to v3.4.0 standards

* Migrating templates unit tests to v3.4.0 standards

* Migrating FileUplink unit tests to v3.4.0 standards

* Migrating ComLogger unit tests to v3.4.0 standards

* Migrating SystemResources unit tests to v3.4.0 standards

* Migrating TlmPacketizer unit tests to v3.4.0 standards

* Migrating ComStub unit tests to v3.4.0 standards

* Migrating ComSplitter unit tests to v3.4.0 standards

* Migrating Health unit tests to v3.4.0 standards

* Migrating BufferLogger unit tests to v3.4.0 standards

* Migrating AssertFatalAdapter unit tests to v3.4.0 standards

* Migrating FileDownlink unit tests to v3.4.0 standards

* Migrating StaticMemory unit tests to v3.4.0 standards

* Migrating CmdSequencer unit tests to v3.4.0 standards

* Migrating Framer unit tests to v3.4.0 standards

* Migrating GroundInterface unit tests to v3.4.0 standards

* Migrating FileManager unit tests to v3.4.0 standards

* Migrating ActiveTextLogger unit tests to v3.4.0 standards

* Migrating LinuxTime unit tests to v3.4.0 standards

* Migrating Deframer unit tests to v3.4.0 standards

* Migrating Deframer unit tests to v3.4.0 standards

* Migrating BufferRepeater unit tests to v3.4.0 standards

* Migrating TlmChan unit tests to v3.4.0 standards

* Migrating GenericHub unit tests to v3.4.0 standards

* Migrating BufferAccumulator unit tests to v3.4.0 standards

* Migrating LinuxTimer unit tests to v3.4.0 standards

* Migrating BufferManager unit tests to v3.4.0 standards

* Migrating CmdSplitter unit tests to v3.4.0 standards

* Migrating ComQueue unit tests to v3.4.0 standards

* Migrating Os unit tests to v3.4.0 standards

* Federating FPP tools with release versions

* Python formatting

* Reverting FPPTest to correctly working build

* Removing minor dead code and comments

---------

Co-authored-by: bocchino <bocchino@jpl.nasa.gov>
2023-10-05 14:42:09 -07:00
M Starch
a56426adbb Converting ByteStreamDriverModel into an interface (#2252)
* Converting ByteStreamDriverModel into an interface

* Fixing Tcp unit tests

* Make reusable builder use pr-check ref as default

* Reusable workflows now build on devel as default

* Review fixes I
2023-08-29 08:39:59 -07:00
Michael Boehm
eabd5a585d Cross-Compiler Documentation Update + Minor CodeQL Alert Resolutions (#2098)
* Updates to resolve "Complex multi-line /.../-style comment found. Lint may give bogus warnings. Consider replacing these with //-style comments, with #if 0...#endif, or with more clearly structured multi-line comments." alert.

Fixed all
	- Except external libraries

* Resolve "Storage-class specifier (static, extern, typedef, etc) should be at the beginning of the declaration." alert.

All resolved.

* Updated F Prime Cross Compilation Documentation

Correct for most recent version of devel.

* Spelling Fixes

* Remove URL Pattern

* Added `rancherdesktop` to expect.txt

* cross-compile tutorial re-organization

* add macos.md and add step for running executable

* clean up command to run executable

* change [...] to <...>

---------

Co-authored-by: Justine West <justine.a.west@jpl.nasa.gov>
2023-07-17 14:01:10 -07:00
M Starch
8498e4fee8 Adding NaN, Infinity, and negative Infinity (#2131) 2023-07-17 13:27:56 -07:00
M Starch
afacd2fe2f Removes 1-to-1 relation of deployments and projects (#1994)
* Removes 1-to-1 relation of deployments and projects

* Fixing CMake UTs

* Making deployment subject to toolchain

* Fixing CI and minimum tools version

* Python formatting and fixing integration test run

* Fixing RPI CI path

* Fixing RPI remote run integration test
2023-05-17 14:26:17 -07:00
M Starch
a487823496 Update/streamlined int tests (#1974)
* initial streamlining of integration tests

* formatting

* Adding CMD example component integration test

* Run int tests from deployment area
2023-04-20 13:39:58 -07:00
M Starch
124b6e8170 Tutorial/getting started (#1968)
* Revising the getting started tutorial to cover getting started

* Adding a generate step

* Additional generate note

* Clarifying the directory for running commands

* Adding actual output to New Project

* Updating HelloWorld.md with tool output

* Toushing up Deployments.md

* sp

* Fixing spacing

* Removing prereqs

* Update Tutorial.md to move next link
2023-04-18 17:37:41 -07:00
M Starch
16faacc5f4 Update/type demo (#1937)
* adding complex type demo component to Ref

* complex type demonstration component

* Using repeate argument

* formatting
2023-03-31 13:41:03 -07:00
M Starch
e596a2bcff auto-generate connect ports option. Fixes #934 (#1786)
* auto-generate connect ports option. Fixes #934

* updating math tutorial

* making unit tests settings from #defines to constants

* fixing missing properties in signal gen
2022-12-21 09:39:04 -08:00
Josh Soref
fbfc9ad563 Update check-spelling to v0.0.21 (#1790)
* spelling: async

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: basic

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: file for

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: files

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: generic

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: github.com/nasa/fprime

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: header

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: into

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: multiline

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: sync

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: workaround

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* Update check-spelling to v0.0.21

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: M Starch <LeStarch@googlemail.com>
2022-12-06 10:19:16 -08:00
Timothy Canham
b7a25920a3 Add packetized telemetry option (#1776)
* manual packet gen

* Added tlmPkt to deployment

* Packet files

* Fixes to packet gen script

* format python, updated packet files

* spelling fixes

* integrating packet autocoder

* final updates for telemetry packetization

* formatting telemetry packetizer cpde

* moving tlm packetizer configuration file

* resetting stock telemetry channelizer

* missed packetizer setup call

* fixing autocoding miss-match with Svc::TlmChan

Co-authored-by: M Starch <LeStarch@googlemail.com>
2022-11-29 14:00:20 -08:00
M Starch
ab38283287 lestarch: updating Ref app to remove phases (#1748)
* lestarch: updating Ref app to remove phases

* lestarch: fixing CI errors

* lestarch: sp

* lestarch: fixing review comments and formatting code

* lestarch: renaming ambiguous files

* lestarch: sp
2022-11-07 17:19:30 -08:00
codeflight1
3b41a9cb2c remove locs.fpp, subdirs.txt, update-locs, and update-subdirs (#1699) 2022-10-03 14:08:20 -07:00
M Starch
b76d8c9a0c Update/types refactor as constants (#1623)
* lestarch: adding logical types implementation into Linux/StandardTypes.hpp

* lestarch: removing VxWorks StandardTypes from repository

* updated fprime types for correct compilation with vxworks and baremetal

* lestarch: refactoring types and configuration header w.r.t type design

* lestarch: replacing usages of AssertArg with FwAssertArgType

* lestarch: missspelled configuration

* lestarch: minor compilation fixes

* lestarch: renaming StandardTypes.hpp -> PlatformTypes.hpp

* lestarch: updating PRI tokens

* lestarch: replacing BasicTypes.hpp includes with FpConfig.hpp

* lestarch: UT and compilation fixes for types refactor

* lestarch: sp

* lestarch: fixing RPI issues in PassiveConsoleTextLogger

* lestarch: converting RPI build to debug

* lestarch: removing duplicate config imports

* lestarch: fixing documentation

* lestarch: fixing up multiple definitions and RPI compilation problems

* lestarch: reverting debug build

* lestarch: reverting platform types to class-based constants

* lestarch: reworking basic types

* lestarch: configured types refactor into classes

* lestarch: fixing bugs with static constants in classes

* lestarch: fixing platform types spelling and documentation

* lestarch: adding include guards to types headers

Co-authored-by: Kevin F Ortega <kevin.f.ortega@jpl.nasa.gov>
2022-08-18 13:25:56 -07:00
M Starch
8b5d3c97b7 Update/ref int tests (#1479)
* lestarch: making a better, more robust Ref integration test suite

* lestarch: formatting

* lestarch: signal gent integration tests - WIP

* lestarch: fixinshing complex type integration tests

* lestarch: making a better, more robust Ref integration test suite

* lestarch: formatting

* lestarch: formatting

* lestarch: sp

* lestarch: using events when testing command arguments

* lestarch: formatting
2022-06-28 15:11:14 -07:00
Timothy Canham
ba4d16d16f Latest ActiveRateGroup updates (#1510)
* Merged files from old branch

* Corrected instances

* Math tutorial version
2022-06-22 09:43:22 -07:00