mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-11 00:38:12 +00:00
Update Compiling_STM32.md
This commit is contained in:
parent
f67adc53ab
commit
7a47af14be
@ -35,19 +35,19 @@ 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.
|
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_usart2(void){**
|
||||||
|
|
||||||
{ usart_irq(&usart2_rb, USART2_BASE);
|
**usart_irq(&usart2_rb, USART2_BASE);**
|
||||||
|
|
||||||
}
|
**}**
|
||||||
|
|
||||||
void __irq_usart3(void) {
|
**void __irq_usart3(void) {**
|
||||||
|
|
||||||
usart_irq(&usart3_rb, USART3_BASE);
|
**usart_irq(&usart3_rb, USART3_BASE);**
|
||||||
|
|
||||||
}
|
**}
|
||||||
*/
|
*/**
|
||||||
|
|
||||||
|
|
||||||
1. Run the IDE, and on the **Tools** menu, select **Board** and then **Boards manager**. Click on the Arduino DUE (32 Bits ARM-Cortex M3) from the list of available boards. You must do this step, it installs the arm-none-eabi-g++ toolchain!
|
1. Run the IDE, and on the **Tools** menu, select **Board** and then **Boards manager**. Click on the Arduino DUE (32 Bits ARM-Cortex M3) from the list of available boards. You must do this step, it installs the arm-none-eabi-g++ toolchain!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user