mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 04:35:25 -06:00
2 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
d0246f148b
|
Add Framer FPP interface, implement FprimeFramer and adapt ComQueue (#3486)
* Initial FprimeFramer and FprimePacketizer * Code clarity + set up UTs * Rework ComQueue and ComStub to use DataWithContext * Add packets to RefPackets.fppi * Fix ComQueue tests * Add hotfix to FileDownlink instead of ComQueue * Fix cancelPacket as well * Fix ComQueue UTs by removing hotfix * Refactor DataWithContext to use an FPP object for context instead of Fw.Buffer * Touch up testing * Add docs * more docs * More docs * Rework buffer deallocation pattern to pass-through ComQueue * Update ComStub UTs * Restore original FileDownlink.cpp * Formatting tweak * Update deprecated getSerializeRepr() calls * deserialization methods * Fix spelling * add cast for safety * CMakefile change * Bump ComQueue depth * Update RPI deployment with new Downlink stack * Rename comQueueIn port to comPktQueueIn * Fix comQueueIn to comPktQueueIn change * Remove legacy Svc.Framer * Fix CMake UTs * Fix RPI topology config * Fix FprimeProtocol.fpp module * Fix namespacing * Use const reference for FrameContext port * Review comments EXCEPT port passback refactor * Rework ComStub with new ByteStream * New ByteStream - ComInterface model * Rework TcpClient / TcpServer with new bytestream * Adapt UDP component for new ByteStream * Adapt FrameAccumulator for new ByteStream * Adapt FprimeFramer for new ByteStream * Update Ref topology with new ByteStream model * Remove all legacy deallocates from Drivers; reintroduce DEPRECATED model types * Fix spelling and include error * More spelling.... * RPI and RpiDemo fixes * Fix conversion warning on RPI * static_cast for short int on RPI * Standardize port names * Remove legacy Drv types and merge RECV/SEND enum type, delete StreamCrossover * Update SDDs * Update SDDs * Fix ComInterface <-> Framer interfaction, clarify comments and fix annotations * Switch ComStub from ASSERT to log failure and return buffer * Add history size check + clarify test handler overrides * Fix RPI topology to wire comStub on Uplink * Rename comm to comDriver in RPI topology * Update communication adapter interface docs |
||
|
|
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> |