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:35] – 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 | ||
| git clone --recurse-submodules https:// | git clone --recurse-submodules https:// | ||
| + | cd MMDVM | ||
| + | vi Config.h | ||
| + | |||
| + | The default Config.h for MMDVM_RPT_Hat is as follows: | ||
| + | |||
| + | #if !defined(CONFIG_H) | ||
| + | # | ||
| + | #define EXTERNAL_OSC 12000000 | ||
| + | #define MODE_LEDS | ||
| + | #if defined(STM32F1) | ||
| + | #define STM32F1_POG | ||
| + | #else | ||
| + | #define ARDUINO_DUE_ZUM_V10 | ||
| + | #endif | ||
| + | #define STM32F4_NUCLEO_MORPHO_HEADER | ||
| + | #define MODE_PINS | ||
| + | #define SEND_RSSI_DATA | ||
| + | #define SERIAL_REPEATER | ||
| + | #define USE_DCBLOCKER | ||
| + | #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 (/ | ||
| + | |||