mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-13 10:17:55 +00:00
Rename OrangeTX to OrangeRX
This commit is contained in:
parent
f4b3da932b
commit
c75c122625
@ -4,10 +4,10 @@
|
|||||||
##############################################################
|
##############################################################
|
||||||
|
|
||||||
##############################################################
|
##############################################################
|
||||||
## Multi 4-in-1 (Orange TX)
|
## Multi 4-in-1 (OrangeRX)
|
||||||
## --------------------------------------------------
|
## --------------------------------------------------
|
||||||
multixmega32d4.name=Multi 4-in-1 (Orange TX)
|
multixmega32d4.name=Multi 4-in-1 (OrangeRX)
|
||||||
multixmega32d4.build.board=MULTI_ORANGETX
|
multixmega32d4.build.board=MULTI_ORANGERX
|
||||||
multixmega32d4.upload.protocol=arduino
|
multixmega32d4.upload.protocol=arduino
|
||||||
multixmega32d4.upload.maximum_size=32768
|
multixmega32d4.upload.maximum_size=32768
|
||||||
multixmega32d4.upload.speed=115200
|
multixmega32d4.upload.speed=115200
|
@ -1,6 +1,6 @@
|
|||||||
## Save hex
|
## Save hex
|
||||||
recipe.output.tmp_file={build.project_name}.hex
|
recipe.output.tmp_file={build.project_name}.hex
|
||||||
recipe.output.save_file=multi-otx.hex
|
recipe.output.save_file=multi-orx.hex
|
||||||
|
|
||||||
## Override some platform.txt settings to create a .bin instead of a .hex file
|
## Override some platform.txt settings to create a .bin instead of a .hex file
|
||||||
## The two lines below can be uncommented to have the compiler create a .bin file instead of a .hex file
|
## The two lines below can be uncommented to have the compiler create a .bin file instead of a .hex file
|
@ -1,4 +1,4 @@
|
|||||||
name=Multi 4-in-1 Orange
|
name=Multi 4-in-1 OrangeRX
|
||||||
version=1.0.1
|
version=1.0.1
|
||||||
|
|
||||||
# this was borrowed from the installed version of 'platform.txt'
|
# this was borrowed from the installed version of 'platform.txt'
|
2
BootLoaders/Boards/orangetx/tools/linux/do_version → BootLoaders/Boards/orangerx/tools/linux/do_version
Executable file → Normal file
2
BootLoaders/Boards/orangetx/tools/linux/do_version → BootLoaders/Boards/orangerx/tools/linux/do_version
Executable file → Normal file
@ -6,7 +6,7 @@ SKETCH_PATH=$3
|
|||||||
MULTI_BOARD=$4
|
MULTI_BOARD=$4
|
||||||
EXPORT_FLAG=$5
|
EXPORT_FLAG=$5
|
||||||
|
|
||||||
MULTI_TYPE=otx
|
MULTI_TYPE=orx
|
||||||
|
|
||||||
if [ -e "$BUILD_PATH/sketch/Multiprotocol.h" ]; then
|
if [ -e "$BUILD_PATH/sketch/Multiprotocol.h" ]; then
|
||||||
MAJOR_VERSION=$(grep "VERSION_MAJOR" "$BUILD_PATH/sketch/Multiprotocol.h" | awk -v N=3 '{print $N}')
|
MAJOR_VERSION=$(grep "VERSION_MAJOR" "$BUILD_PATH/sketch/Multiprotocol.h" | awk -v N=3 '{print $N}')
|
2
BootLoaders/Boards/orangetx/tools/linux64/do_version → BootLoaders/Boards/orangerx/tools/linux64/do_version
Executable file → Normal file
2
BootLoaders/Boards/orangetx/tools/linux64/do_version → BootLoaders/Boards/orangerx/tools/linux64/do_version
Executable file → Normal file
@ -6,7 +6,7 @@ SKETCH_PATH=$3
|
|||||||
MULTI_BOARD=$4
|
MULTI_BOARD=$4
|
||||||
EXPORT_FLAG=$5
|
EXPORT_FLAG=$5
|
||||||
|
|
||||||
MULTI_TYPE=otx
|
MULTI_TYPE=orx
|
||||||
|
|
||||||
if [ -e "$BUILD_PATH/sketch/Multiprotocol.h" ]; then
|
if [ -e "$BUILD_PATH/sketch/Multiprotocol.h" ]; then
|
||||||
MAJOR_VERSION=$(grep "VERSION_MAJOR" "$BUILD_PATH/sketch/Multiprotocol.h" | awk -v N=3 '{print $N}')
|
MAJOR_VERSION=$(grep "VERSION_MAJOR" "$BUILD_PATH/sketch/Multiprotocol.h" | awk -v N=3 '{print $N}')
|
2
BootLoaders/Boards/orangetx/tools/macosx/do_version → BootLoaders/Boards/orangerx/tools/macosx/do_version
Executable file → Normal file
2
BootLoaders/Boards/orangetx/tools/macosx/do_version → BootLoaders/Boards/orangerx/tools/macosx/do_version
Executable file → Normal file
@ -6,7 +6,7 @@ SKETCH_PATH=$3
|
|||||||
MULTI_BOARD=$4
|
MULTI_BOARD=$4
|
||||||
EXPORT_FLAG=$5
|
EXPORT_FLAG=$5
|
||||||
|
|
||||||
MULTI_TYPE=otx
|
MULTI_TYPE=orx
|
||||||
|
|
||||||
if [ -e "$BUILD_PATH/sketch/Multiprotocol.h" ]; then
|
if [ -e "$BUILD_PATH/sketch/Multiprotocol.h" ]; then
|
||||||
MAJOR_VERSION=$(grep "VERSION_MAJOR" "$BUILD_PATH/sketch/Multiprotocol.h" | awk -v N=3 '{print $N}')
|
MAJOR_VERSION=$(grep "VERSION_MAJOR" "$BUILD_PATH/sketch/Multiprotocol.h" | awk -v N=3 '{print $N}')
|
@ -9,7 +9,7 @@ SET EXPORT_FLAG=%5
|
|||||||
|
|
||||||
REM ECHO Multi board: %MULTI_BOARD%
|
REM ECHO Multi board: %MULTI_BOARD%
|
||||||
|
|
||||||
SET MULTI_TYPE=otx
|
SET MULTI_TYPE=orx
|
||||||
|
|
||||||
IF EXIST "%1\sketch\Multiprotocol.h" (
|
IF EXIST "%1\sketch\Multiprotocol.h" (
|
||||||
REM ECHO Getting Multi-MODULE firmware version from "%1\sketch\Multiprotocol.h"
|
REM ECHO Getting Multi-MODULE firmware version from "%1\sketch\Multiprotocol.h"
|
@ -28,7 +28,7 @@
|
|||||||
#ifdef __arm__// Let's automatically select the board if arm is selected
|
#ifdef __arm__// Let's automatically select the board if arm is selected
|
||||||
#define STM32_BOARD
|
#define STM32_BOARD
|
||||||
#endif
|
#endif
|
||||||
#if defined (ARDUINO_AVR_XMEGA32D4) || defined (ARDUINO_MULTI_ORANGETX)
|
#if defined (ARDUINO_AVR_XMEGA32D4) || defined (ARDUINO_MULTI_ORANGERX)
|
||||||
#include "MultiOrange.h"
|
#include "MultiOrange.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user