Skip to content

Commit

Permalink
Fix #77, deprecate PSP stubs from MD coverage test
Browse files Browse the repository at this point in the history
The PSP now provides the complete set of stubs.
  • Loading branch information
jphickey committed Aug 7, 2024
1 parent 40aeed1 commit c41a991
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions unit-test/utilities/md_test_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ void MD_Test_TearDown(void)
/* cleanup test environment */
}

/*
* 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_MemWrite8(cpuaddr MemoryAddress, uint8 ByteValue)
{
if (!MemoryAddress)
Expand Down Expand Up @@ -136,3 +143,5 @@ int32 CFE_PSP_MemWrite32(cpuaddr MemoryAddress, uint32 uint32Value)
else
return CFE_PSP_SUCCESS;
}

#endif /* OMIT_DEPRECATED */

0 comments on commit c41a991

Please sign in to comment.