You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
410 B

  1. #include <stdbool.h>
  2. #include <stdint.h>
  3. #include <stdio.h>
  4. #include <string.h>
  5. #include "lwip/opt.h"
  6. #include "lwip/sys.h"
  7. #include "lwip/api.h"
  8. #include "main.h"
  9. int fputc(int ch, FILE *stream)
  10. {
  11. uint8_t c = ch;
  12. HAL_UART_Transmit(&huart1, &c, 1, 100);
  13. return ch;
  14. }
  15. void user_main()
  16. {
  17. printf("==============ethernet_sound_acquisition_card=============\r\n");
  18. while (1)
  19. {
  20. osDelay(1);
  21. }
  22. }