git clone [url]https://github.com/openLRSng/openLRSng.git[/url]
cd openLRSng
vi Makefile # ARDUINO_PATH im Makefile anpassen
mkdir -p out/433
make -s RFMTYPE=433 COMPILE_TX=0 BOARD_TYPE=2 clean_compilation_products all && cp openLRSng.hex out/433/RX-2.hex && cp openLRSngBL.hex out/433/RX-2-bl.hex; make -s RFMTYPE=433 COMPILE_TX=0 BOARD_TYPE=3 clean_compilation_products all && cp openLRSng.hex out/433/RX-3.hex && cp openLRSngBL.hex out/433/RX-3-bl.hex; make -s RFMTYPE=433 COMPILE_TX=0 BOARD_TYPE=5 clean_compilation_products all && cp openLRSng.hex out/433/RX-5.hex && cp openLRSngBL.hex out/433/RX-5-bl.hex; make -s RFMTYPE=433 COMPILE_TX=0 BOARD_TYPE=7 clean_compilation_products all && cp openLRSng.hex out/433/RX-7.hex && cp openLRSngBL.hex out/433/RX-7-bl.hex; make -s RFMTYPE=433 COMPILE_TX=0 BOARD_TYPE=8 clean_compilation_products all && cp openLRSng.hex out/433/RX-8.hex && cp openLRSngBL.hex out/433/RX-8-bl.hex;
make -s RFMTYPE=433 COMPILE_TX=1 BOARD_TYPE=0 clean_compilation_products all && cp openLRSng.hex out/433/TX-0.hex && cp openLRSngBL.hex out/433/TX-0-bl.hex; make -s RFMTYPE=433 COMPILE_TX=1 BOARD_TYPE=2 clean_compilation_products all && cp openLRSng.hex out/433/TX-2.hex && cp openLRSngBL.hex out/433/TX-2-bl.hex; make -s RFMTYPE=433 COMPILE_TX=1 BOARD_TYPE=3 clean_compilation_products all && cp openLRSng.hex out/433/TX-3.hex && cp openLRSngBL.hex out/433/TX-3-bl.hex; make -s RFMTYPE=433 COMPILE_TX=1 BOARD_TYPE=4 clean_compilation_products all && cp openLRSng.hex out/433/TX-4.hex && cp openLRSngBL.hex out/433/TX-4-bl.hex; make -s RFMTYPE=433 COMPILE_TX=1 BOARD_TYPE=5 clean_compilation_products all && cp openLRSng.hex out/433/TX-5.hex && cp openLRSngBL.hex out/433/TX-5-bl.hex; make -s RFMTYPE=433 COMPILE_TX=1 BOARD_TYPE=6 clean_compilation_products all && cp openLRSng.hex out/433/TX-6.hex && cp openLRSngBL.hex out/433/TX-6-bl.hex; make -s RFMTYPE=433 COMPILE_TX=1 BOARD_TYPE=7 clean_compilation_products all && cp openLRSng.hex out/433/TX-7.hex && cp openLRSngBL.hex out/433/TX-7-bl.hex; make -s RFMTYPE=433 COMPILE_TX=1 BOARD_TYPE=8 clean_compilation_products all && cp openLRSng.hex out/433/TX-8.hex && cp openLRSngBL.hex out/433/TX-8-bl.hex;
# Orange RX
avrdude -c jtag2isp -p m328p -U lfuse:w:0xFF:m -U hfuse:w:0xDE:m -U efuse:w:0x05:m -U flash:w:out/433/RX-3-bl.hex
# Orange TX
avrdude -c jtag2isp -p m328p -U lfuse:w:0xFF:m -U hfuse:w:0xDE:m -U efuse:w:0x05:m -U flash:w:out/433/TX-2-bl.hex