You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
680 B

8 years ago
# RAK811 Tracker Board mbed test
## Compilation
Clone this repository, then :
8 years ago
```sh
8 years ago
mbed deploy
8 years ago
mbed toolchain GCC_ARM
mbed target MTB_RAK811
8 years ago
# modify lora.device-eui, lora.application-eui and lora.application-key in mbed_app.json
8 years ago
# modify mbed_settings.py to set gcc arm path if needed
8 years ago
mbed compile --profile mbed-os/tools/profiles/release.json
```
Then you can use stm32flash or may be better a stlink interface to copy the generated .bin file onto the RAK811.
## Notes
### use STLink from a Nucleo board
From STlink CN4 Connector to RAK811 "shortest" connector (pin 1 at the same side of antenna connectors)
```
2 -> 3 (CLK)
3 -> 1 (GND)
4 -> 4 (DATA)
5 -> 2 (RST)
```