mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 19:58:13 +00:00
2.0 KiB
2.0 KiB
Arduino IDE board definition for Multi 4-in-1 transmitter module
At this point the only supported board/module is the Atmega328p-based module, the STM32-based module is not yet supported.
Installing
The board definition is installed using the Arduino IDE Boards Manager.
- Open the Arduino IDE
- Go to File->Preferences (or Ctrl+Comma)
- Locate the 'Aditional Boards Manager URLs' field and paste in this URL: https://raw.githubusercontent.com/pascallanger/DIY-Multiprotocol-TX-Module/master/BootLoaders/package_multi_4in1_board_index.json
- Click OK to save the change
- Click Tools->Board [Board Name]->Boards Manager
- Scroll to the bottom of the list of boards and click on 'Multi 4-in-1 Boards' then click the Install button
- Click Close to close the Boards Manager
Selecting the board
- Click Tools->Board [Board Name]
- Scroll down the list to 'Multi 4-in-1 Boards' and select 'Multi 4-in-1 (Atmega328p, 3.3V, 16MHz)'
Choosing the bootloader
There are two bootloader options. The default 'No bootloader' won't install a bootloader, allowing the maximum space for protocols. The 'Flash from TX' option installs a small Optiboot bootloader which is compatible with Ersky9x and OpenTX option to flash firmware from the transmitter's maintenance menu.
- Click Tools->Bootloader [Bootloader Option]
- Select the desired bootloader
Recommended: Click Tools->Burn Bootloader to set the fuses, even if the 'No bootloader' option was selected.
Compiling / uploading firmware with the 'Flash from TX' bootloader
- Follow the normal compiling method.
- Copy the compiled .hex file (usually Multiprotocol.ino.hex) in the "/firmware" directory of the SD card.
- Start Ersky9x in "Maintenance Mode" by holding the horizontal trims APART while powering on the transmitter.
- Select "Update Multi", then change "File Type" to "HEX", then select "Update", choose the firmware to flash, long pressto select it and long press to flash it.
- When finished, long press EXIT to reboot in normal mode.