main.c 272 B

1234567891011121314151617181920
  1. #include "app_conf.h"
  2. #include "dev_conf.h"
  3. #include "hal_conf.h"
  4. int main(void)
  5. {
  6. hal_systick_init();
  7. hal_gpio_init();
  8. hal_uart1_init();
  9. hal_i2c1_init();
  10. dev_key_button_init();
  11. while (1)
  12. {
  13. app_task_schdule();
  14. }
  15. return 0;
  16. }