main.c 284 B

1234567891011121314151617
  1. #include "stm32l4xx.h"
  2. #include <stdio.h>
  3. #include <stdint.h>
  4. // Required if semihosting is enabled
  5. extern void initialise_monitor_handles(void);
  6. void main()
  7. {
  8. // Required if semihosting is enabled
  9. initialise_monitor_handles();
  10. for (;;) {
  11. printf("Hello, world!\n");
  12. }
  13. }