From daeba0d43ad4f0cc3310eec6e46daa78688195b1 Mon Sep 17 00:00:00 2001 From: pascallanger Date: Fri, 24 Nov 2017 19:50:36 +0100 Subject: [PATCH] Update Compiling_STM32.md --- docs/Compiling_STM32.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/Compiling_STM32.md b/docs/Compiling_STM32.md index 58809af..46b8681 100644 --- a/docs/Compiling_STM32.md +++ b/docs/Compiling_STM32.md @@ -30,7 +30,11 @@ Flashing precompiled **binaries** is done very simple with the cable setup prese 1. In order to compile successfully you need also to modify a maple library file. In ```....\hardware\Arduino_STM32\STM32F1\cores\maple\libmaple\usart_f1.c``` comment out the 2 functions as shown below. This is required to have low-level access to the USART interrupt.
``` - /* void __irq_usart2(void){ + /* void __irq_usart1(void){ + usart_irq(&usart1_rb, USART1_BASE); + } + + void __irq_usart2(void){ usart_irq(&usart2_rb, USART2_BASE); }