main.c 387 B

123456789101112131415161718192021222324252627
  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. */
  9. #include <rtthread.h>
  10. #include <stdio.h>
  11. #include <stdlib.h>
  12. #ifdef RT_USING_GMAC
  13. #include <drv_gmac.h>
  14. #endif
  15. int main(void)
  16. {
  17. #ifdef RT_USING_GMAC
  18. rt_app_gk_gmac_init();
  19. #endif
  20. printf("Hello\n");
  21. return 0;
  22. }