diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/radio-controller.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/radio-controller.cpp b/src/radio-controller.cpp index e69de29..53f6ef0 100644 --- a/src/radio-controller.cpp +++ b/src/radio-controller.cpp @@ -0,0 +1,16 @@ +#include "main.h" +#include "stm32f1xx_hal.h" +#include <cstdio> +#include "mcu/arm/semihosting.h" + +void main_pre_init() { + SystemInit(); +} + +void main_post_init() { + semihosting::enable(); +} + +void main_loop() { + printf("hello world!"); +} |