1
0

console.c 830 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2011-05-23 aozima first implementation for PIC32.
  9. */
  10. #include <rtthread.h>
  11. // Warning:
  12. // if you want to use DBPRINTF in PIC32 Ethernet Starter Kit,
  13. // you project must globl define PIC32_STARTER_KIT and debug in MPLAB.
  14. // but,if you want run app without debug mode,you must remove this features.
  15. // Adds support for PIC32 Peripheral library functions and macros
  16. #include <plib.h>
  17. void rt_hw_console_init(void)
  18. {
  19. //Initialize the DB_UTILS IO channel
  20. // DBINIT();
  21. }
  22. /**
  23. * This function is used by rt_kprintf to display a string on console.
  24. *
  25. * @param str the displayed string
  26. */
  27. void rt_hw_console_output(const char* str)
  28. {
  29. // DBPRINTF(str);
  30. }