mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-03 12:07:52 +00:00
new compilation info
This commit is contained in:
parent
051c81ab94
commit
c9f3e5176d
19
README.md
19
README.md
@ -269,12 +269,25 @@ You can 3D print your box (details [here](http://www.rcgroups.com/forums/showpos
|
|||||||
###Toolchain
|
###Toolchain
|
||||||
Multiprotocol source can be compiled using the Arduino IDE.
|
Multiprotocol source can be compiled using the Arduino IDE.
|
||||||
|
|
||||||
The currently supported Arduino version is [1.6.7](https://www.arduino.cc/download_handler.php?f=/arduino-1.6.7-windows.exe).
|
The currently supported Arduino version is [1.6.5](https://www.arduino.cc/download_handler.php?f=/arduino-1.6.5-windows.exe).
|
||||||
You need to download and install aditionally [STM32 core](https://github.com/rogerclarkmelbourne/Arduino_STM32/archive/master.zip) ,Arduino_STM32 folder in ...../Arduino/hardware/ folder (note. if the hardware folder doesn't exist you will need to create it).
|
You need to download and install aditionally [STM32 core](https://github.com/rogerclarkmelbourne/Arduino_STM32/archive/master.zip) ,Arduino_STM32 folder in ...../Arduino/hardware/ folder (note. if the hardware folder doesn't exist you will need to create it).
|
||||||
|
|
||||||
Then run the IDE, and on the Tools menu, select the Boards manager, and install the Arduino Zero from the list of available boards. You must do this step, it installs the arm-none-eabi-g++ toolchain!
|
In order to compile suscesfully you need also to modify a maple library file.
|
||||||
|
In ....\hardware\Arduino_STM32\STM32F1\cores\maple\libmaple\usartf1.c
|
||||||
|
comment 2 function as below.This is required to have acces to low level of USART intrerupt.
|
||||||
|
|
||||||
Download the [zip file](https://github.com/midelic/DIY-Multiprotocol-TX-Module/archive/master.zip) of this repository, unzip it in a folder, navigate to the Multiprotocol directory and then click on Multiprotocol.ino. The Arduino environment will appear and the Multiprotocol project will be loaded.Then you can use "Upload" button which will compile and upload to the module: Skecth->Upload (Ctrl+U).
|
//void __irq_usart2(void) {
|
||||||
|
usart_irq(&usart2_rb, USART2_BASE);
|
||||||
|
}
|
||||||
|
|
||||||
|
//void __irq_usart3(void) {
|
||||||
|
usart_irq(&usart3_rb, USART3_BASE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Then run the IDE, and on the Tools menu, select the Boards manager, and install the Arduino DUE(ARM-Cortex M3) from the list of available boards. You must do this step, it installs the arm-none-eabi-g++ toolchain!
|
||||||
|
|
||||||
|
Download the [zip file](https://github.com/midelic/DIY-Multiprotocol-TX-Module/archive/multi-STM32.zip) of this repository, unzip it in a folder, navigate to the Multiprotocol directory and then click on Multiprotocol.ino. The Arduino environment will appear and the Multiprotocol project will be loaded.Then you can use "Upload" button which will compile and upload to the module: Skecth->Upload (Ctrl+U).
|
||||||
|
|
||||||
Warning:
|
Warning:
|
||||||
The dial must be set to 0 before flashing!
|
The dial must be set to 0 before flashing!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user