1
0

cpu.c 484 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2010-03-30 Kyle First version
  9. */
  10. #include <rtthread.h>
  11. /**
  12. * @addtogroup AVR32UC3
  13. */
  14. /*@{*/
  15. /**
  16. * reset cpu by dog's time-out
  17. *
  18. */
  19. RT_WEAK void rt_hw_cpu_reset()
  20. {
  21. /*NOTREACHED*/
  22. }
  23. /**
  24. * shutdown CPU
  25. *
  26. */
  27. void rt_hw_cpu_shutdown()
  28. {
  29. rt_kprintf("shutdown...\n");
  30. RT_ASSERT(0);
  31. }
  32. /*@}*/