Skip to content

remap table defaults for system HK? #14

@CDKnightNASA

Description

@CDKnightNASA

The lazy me, when configuring multiple CPU's in the build, is to copy cpu1_msgids.h to cpu2_msgids.h and cpu3_msgids.h. But this means that all three CPU's are listening to the same system commands such as CFE_TIME_CMD_MID but these really should not transit between CPU's.

Option 1 is to just live with this behavior, as in missions folks will customize these MIDs to be unique between CPU's.
Option 2 is to create a default remap table that "filters" these, but currently the remap table entries have to be specified for each CPU ID (so for a 3-CPU environment, the remap table would have 3 entries for each CMD MID.)
Option 2.a. would be to alter the remap logic to allow for "wildcard CPU ID", where if the CPU ID field is "0", the remap/filter rule applies for all CPU ID's. The table is sorted and searched, so this would require two searches for every lookup instead of one. Or else the sort order should be switched to be MID + CPUID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions