aruaru
/
mbed-os-stm32l4-dma-uart
STmicro HAL driver DMA.
Diff: application.h
- Revision:
- 0:96568f3ac645
- Child:
- 3:8e99194d8560
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/application.h Mon Apr 08 13:53:14 2019 +0000 @@ -0,0 +1,20 @@ +/* + * application.h + * + * Created on: 2019/04/06 + * Author: aruaru + */ + +#ifndef SOURCE_APPLICATION_H_ +#define SOURCE_APPLICATION_H_ + + + +#define logMessage printf + +#define errorMessage(format, ...) {printError(__FUNCTION__,__LINE__,format);} + +int printfunc(const char *format, ...); +int printError(const char* name,int line,const char *format, ...); + +#endif /* SOURCE_APPLICATION_H_ */