Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
mmdvm_rpt_hat:start [18.06.2020 15:41] – df2et | mmdvm_rpt_hat:start [18.06.2020 15:46] (aktuell) – df2et | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== MMDVM_RPT_Hat ====== | ====== MMDVM_RPT_Hat ====== | ||
+ | |||
+ | You need a self-compiled version of stm32flash v0.5 as all the binaries of the Linux repos do not support STM32F722 MCUs. So compile yourself: | ||
git clone https:// | git clone https:// | ||
Zeile 6: | Zeile 8: | ||
sudo make install | sudo make install | ||
+ | Then you can compile the MMDVM firmware for this board after installing the compiler: | ||
sudo apt install gcc-arm-none-eabi | sudo apt install gcc-arm-none-eabi | ||
Zeile 14: | Zeile 17: | ||
The default Config.h for MMDVM_RPT_Hat is as follows: | The default Config.h for MMDVM_RPT_Hat is as follows: | ||
- | #if !defined(CONFIG_H) | + | |
- | # | + | # |
- | #define EXTERNAL_OSC 12000000 | + | #define EXTERNAL_OSC 12000000 |
- | #define MODE_LEDS | + | #define MODE_LEDS |
- | #if defined(STM32F1) | + | #if defined(STM32F1) |
- | #define STM32F1_POG | + | #define STM32F1_POG |
- | #else | + | #else |
- | #define ARDUINO_DUE_ZUM_V10 | + | #define ARDUINO_DUE_ZUM_V10 |
- | #endif | + | #endif |
- | #define STM32F4_NUCLEO_MORPHO_HEADER | + | #define STM32F4_NUCLEO_MORPHO_HEADER |
- | #define MODE_PINS | + | #define MODE_PINS |
- | #define SEND_RSSI_DATA | + | #define SEND_RSSI_DATA |
- | #define SERIAL_REPEATER | + | #define SERIAL_REPEATER |
- | #define USE_DCBLOCKER | + | #define USE_DCBLOCKER |
- | #endif | + | #endif |
+ | |||
+ | Build the MMDVM firmware for MMDVM_RPT_Hat: | ||
+ | |||
+ | make rpt_hat | ||
+ | |||
+ | And flash the firmware via locally compiled stm32flash: | ||
+ | |||
+ | sudo make deploy-rpt_hat | ||
+ | This command executes the self-compiled binary of stm32flash (/ | ||