2
0

main.c 277 B

1234567891011121314151617181920
  1. #include "fw.h"
  2. #include "io.h"
  3. #include "abcio.h"
  4. #include "sys.h"
  5. #include "console.h"
  6. volatile bool dont_gc; /* Keep things from linker gc */
  7. void main(void)
  8. {
  9. init();
  10. if (dont_gc)
  11. run_test_image();
  12. while (1) {
  13. wait_for_irq();
  14. abcdisk_io_poll();
  15. }
  16. }