packetusart unit tests
This commit is contained in:
parent
c2f84b23ee
commit
5d26fdc64d
8 changed files with 219 additions and 151 deletions
|
@ -17,7 +17,13 @@ extern "C" {
|
|||
|
||||
void Mcd_Init(DMA_TypeDef *dma, uint32_t stream);
|
||||
void * Mcd_Copy(void *dst, void const *src, size_t length);
|
||||
void Mcd_HandleDmaIrq();
|
||||
void Mcd_HandleDmaIrq(void);
|
||||
|
||||
#ifdef UNITTEST
|
||||
DECLARE_MOCK(Mcd_Init);
|
||||
DECLARE_MOCK(Mcd_Copy);
|
||||
DECLARE_MOCK(Mcd_HandleDmaIrq);
|
||||
#endif // UNITTEST
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue