8 Commits

Author SHA1 Message Date
Will MacCormack
b9a7059667
Set the Name of Fprime Tasks on Linux (#4428)
* Set the Name of Fprime Tasks on Linux

* prefix thread name w/ process name

* Revert "prefix thread name w/ process name"

This reverts commit 5867602f135c69022469c985b6de13458686e6a2.

* Add `setname` to spelling expected list

* Format My Changes

* Add in opt-out configuration

* Enable POSIX_THREADS_ENABLE_NAMES and fix ut

* Remove warning when flag set off

* UT thread names

* Add tmate session setup to build workflow

* Disable thread names on Ip UTs

* Use random thread ids in UTs

* Fix race condition

* Fix improper string set

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
Co-authored-by: Michael D Starch <Michael.D.Starch@jpl.nasa.gov>
2025-12-01 10:15:35 -08:00
Thomas Boyer-Chammard
578e61f1da
Format Os Module (#3959)
* Format Os module

* Add Os to format-check CI

* Remove double semi-colon
2025-07-31 15:40:30 -07:00
M Starch
292476b0c0
Purge PlatformIntType and PlatformUIntType (#3719)
* Purging PlatformIntType and PlatformUIntType

* CI fixes

* Fixing review requirements

* Fix CI error

* Fix CI cmake test regression

* Fix RHEL8 regression
2025-06-16 17:44:24 -07:00
Mishaal
c3f021b5eb
PRIVATE->private and PROTECTED->protected updates in Os, partial (nasa#3446) (#3682) 2025-06-02 12:14:55 -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
Josh Soref
5be3b19881
Check spelling 0.0.24 (#3051)
* Change line endings

* link: Checklist

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

* link: described in detail

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

* link: F´ key features

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

* link: `Fw::Buffer` documentation is available

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

* link: installing cmake command line tools on a mac

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

* link: Svc.StaticMemory is described in more detail

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

* link: testing_fw/predicates.py

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

* link: the source code

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

* spelling: a

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

* spelling: adhered

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

* spelling: cannot

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

* spelling: case-sensitive

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

* spelling: deployment

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

* spelling: filter events based on event severity

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

* spelling: its

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

* spelling: nonexistent

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

* spelling: prepending

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

* spelling: products

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

* spelling: schema

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

* spelling: stressful

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

* spelling: the

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

* spelling: valued

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

* Add check-spelling

---------

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-12-17 10:02:50 -08:00
M Starch
c548b53a93
Making Os::Task::delay use the singleton pattern (#2954)
* Making Os::Task::delay use the singleton pattern

* Add Os::Task::init call to Os::init

---------

Co-authored-by: thomas-bc <49786685+thomas-bc@users.noreply.github.com>
2024-10-16 11:11:04 -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