18 Commits

Author SHA1 Message Date
Thomas Boyer-Chammard
c69ff72110
Format Svc and add to CI (#3978)
* Format Svc and add to CI

* Fix comlogger include

* fix assert UTs

* Fix static analysis warning

* formatting
2025-08-04 16:21:47 -07:00
M Starch
0659f0940b
Refactored type organization (#3422)
* Refactored type organization

* Creating better configuration/types header hierarchy

* Replace FpConfig type aliases with FPP generated aliases

* Add the aliases to the FPP model

* Config + Type Aliases builds

* Renamed Fw/Types.h,hpp to Fw/FPrimeBasicTypes.h,hpp

* Updating to FPP-a7

* Adding newline

* sp

* Fixing minor nit from review

* Spurious ;

---------

Co-authored-by: Andrei Tumbar <andrei.tumbar@jpl.nasa.gov>
2025-04-03 12:11:36 -07:00
M Starch
a5c853b9cf
NATIVE_INT_TYPE portNum to FwIndexType portNum (#3236) 2025-02-14 12:25:12 -08:00
M Starch
105cd8e0a7
Issue #2727: Refactor System Resources OSAL Implmentation (#2922)
* Initial interface, stubs, and stub tests

* Darwin implementation and UTs

* Switching to generic status and usage structures

* Adding string_to_number functions

* Adding linux Cpu and Memory implementations

* Fixing minor test issues

* Linux UTS - WIP

* Fixing issues with linux CPU

* Extending time in lock-guard tester to prevent intermitant failure

* Fixing issue with conversion after check

* Newlines

* Adding config to all modules

* Fixing bad overload

* sp

* Override problem

* Fixing quality check issue

* Touching up template usage for more flexibility

* Fixing bad type comparison

* Review fixes

* Fixing names

* Review fixes pt II

* sp

* Missing header

* Fixing build error

* Conversion issue
2024-10-08 21:29:37 -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
Thomas Boyer-Chammard
8e9c5ce429
Add JSON dictionary generation to CMake system (#2598)
* Adding dictionary generation

* fix typo

* add UT

* Refacto versions handling and add libraryVersion

* Python format

* Pass in libraries only if not empty

* Fix logic

* debug stuff

* Add correct dependencies

* More debugging

* Fix output files

* oops

* Call synchronously

* Explicitely add `version` target to dependency list

* Add libVersions in HPP and some refactoring

* remove LIBRARY_VERSIONS if empty

* Add CMake test for version target

* formatting

* Generate empty string when no libraries are present

* Fix lirary_versions key name mismatch

* Add more tests

* Add __attribute__((unused)) to appease CI

* Use LIBRARY_VERSIONS with TODO in SystemResources.cpp

* Use nullptr instead of "" when no library present

* Use LIBRARY_VERSIONS in SystemResourcesTester

* Make script variables local

* Switch to namespaced struct with constexpr
2024-04-25 09:53:24 -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
M Starch
d177bb7ef9
lestarch: update for small platform support (no U64) (#1721)
* lestarch: update for small platform support (no U64)

* first-pass at fixing types interface

* fixing U64s in merged commit

* fixing improper loop limit

* fixing FwSizeType redefinition

* fixing review comments

* formatting Linux/FileSystem

* fixing static analysis errors

* fixing UTs when file system or memory to large

* disabling broken ut and fixing spelling

* cleaning up unused variable

* adding more comments to explain casting checks
2022-12-22 18:00:24 -08:00
M Starch
14091f63b9
fixing cppcheck detected issues (#1788)
* fixing cppcheck detected issues

* fixing spi casts to use the header type
2022-12-05 09:33:48 -08: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
ba867e5770
lestarch: fixing version generation (#1268)
* lestarch: fixing version generation

* lestarch: using both project and framework versions across fprime
2022-02-17 16:01:14 -08:00
Robert L. Bocchino Jr
2b17012cce Revise VxWorks symbols
Silence compiler warning
2021-12-13 19:35:48 -08:00
M Starch
a54388bde1 lestarch: fixing quality checks for migrated v2 code 2021-12-08 10:16:36 -08:00
M Starch
656514451d lestarch: merging devel into v3.0.0 2021-12-07 17:20:45 -08:00
M Starch
ea8ae3da4a lestarch: code review fixes 2021-11-18 18:58:52 -08:00
M Starch
df27c9231b lestarch: fixing up resources for Linux 2021-11-18 17:09:52 -08:00
M Starch
e05718aa9a lestarch: adding macOS implementation of system resources; cleaning API a touch 2021-11-18 15:47:08 -08:00