From 89d464c7f38b902e332f082f99df075dee080978 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 29 Apr 2017 23:10:32 +0200 Subject: o Setting up for TIM1/Channel 1 as input capture. Enabling IWDG. --- src/radio-controller.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src') 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 +#include "mcu/arm/semihosting.h" + +void main_pre_init() { + SystemInit(); +} + +void main_post_init() { + semihosting::enable(); +} + +void main_loop() { + printf("hello world!"); +} -- cgit v1.2.3