moved f4ll_cpp imto its own namespace

moved strutil to the application
This commit is contained in:
Attila Body 2020-11-16 13:24:15 +01:00
parent 3a20a7d846
commit fb5670a950
21 changed files with 70 additions and 27 deletions

View file

@ -14,6 +14,9 @@
#define DECLARE_MOCK(x)
#endif
namespace f4ll_cpp
{
class DmaHelper {
public:
DmaHelper(DMA_TypeDef *dma, uint32_t stream);
@ -49,16 +52,6 @@ private:
uint32_t m_tcMask;
};
#ifdef UNITTEST
DECLARE_MOCK(Dma_GetIsReg);
DECLARE_MOCK(Dma_GetIfcReg);
DECLARE_MOCK(Dma_GetDmeMask);
DECLARE_MOCK(Dma_GetTeMask);
DECLARE_MOCK(Dma_GetHtMask);
DECLARE_MOCK(Dma_GetTcMask);
DECLARE_MOCK(Dma_GetFeMask);
DECLARE_MOCK(Dma_Init);
#endif
} // f4ll_cpp
#endif /* DMA_HELPER_H_ */