|
|
|
@ -7,14 +7,15 @@ Clone this repository, then : |
|
|
|
```sh |
|
|
|
```sh |
|
|
|
mbed deploy |
|
|
|
mbed deploy |
|
|
|
mbed config root . |
|
|
|
mbed config root . |
|
|
|
# set the compiler |
|
|
|
# set the desired compiler |
|
|
|
mbed toolchain GCC_ARM |
|
|
|
mbed toolchain GCC_ARM |
|
|
|
# set the board |
|
|
|
# set the desired board |
|
|
|
mbed target NUCLEO_L073RZ |
|
|
|
mbed target NUCLEO_L073RZ |
|
|
|
# set-up gcc arm path if needed (or any compiler you choose as toolchain) |
|
|
|
# set-up the compiler path if needed |
|
|
|
mbed config -G GCC_ARM_PATH /opt/gcc-arm-none-eabi-7-2017-q4-major/bin |
|
|
|
mbed config -G GCC_ARM_PATH /opt/gcc-arm-none-eabi-7-2017-q4-major/bin |
|
|
|
|
|
|
|
cp mbed_app.json.sample mbed_app.json |
|
|
|
# modify lora.device-eui, lora.application-eui and lora.application-key in mbed_app.json |
|
|
|
# modify lora.device-eui, lora.application-eui and lora.application-key in mbed_app.json |
|
|
|
mbed compile --profile mbed-os/tools/profiles/release.json |
|
|
|
mbed compile --profile minimal-printf/profiles/release.json |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
Then you can use stm32flash or - may be better - a stlink interface to copy the generated .bin file onto the RAK811. |
|
|
|
Then you can use stm32flash or - may be better - a stlink interface to copy the generated .bin file onto the RAK811. |
|
|
|
|