xil_printf.h 393 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2020-2021, WangHuachen
  3. *
  4. * SPDX-License-Identifier: MIT
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-11-30 WangHuachen the first version
  9. */
  10. #ifndef XIL_PRINTF_H
  11. #define XIL_PRINTF_H
  12. #include <rtthread.h>
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #define xil_printf rt_kprintf
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif /* end of protection macro */