Skip to content

Commit

Permalink
Fix #94, deprecate PSP stubs in MM coverage tets
Browse files Browse the repository at this point in the history
Only include PSP stubs if the OMIT_DEPRECATED flag is unset.
The PSP now provides the full set of stubs.
  • Loading branch information
jphickey committed Aug 7, 2024
1 parent b8fb572 commit f4de6e7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion unit-test/utilities/mm_test_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,11 @@ void MM_Test_TearDown(void)
}

/*
* Placeholder stubs until PSP UT implementation is available
* The PSP should now provide these stubs as of the Equuleus build.
* Including in an OMIT_DEPRECATED block temporarily should allow
* backward compatibility to ease the transition.
*/
#ifndef OMIT_DEPRECATED

int32 CFE_PSP_EepromWriteEnable(uint32 Bank)
{
Expand Down Expand Up @@ -168,3 +171,5 @@ int32 CFE_PSP_MemWrite32(cpuaddr MemoryAddress, uint32 uint32Value)
status = UT_DEFAULT_IMPL(CFE_PSP_MemWrite32);
return status;
}

#endif /* OMIT_DEPRECATED */

0 comments on commit f4de6e7

Please sign in to comment.