XRange LoRaMac 4.3.1 supports firmware development in Ubuntu
In LoRaMac version 3.4.1 provided by NetBlocks it is possible to build the firmware in Linux with GCC ARM toolchain and load it in XRange with ST-Link.
Install GCC ARM toolchain
sudo apt-get install gcc-arm-none-eabi
Install st-link tools
sudo apt-get install libusb-1.0-0-dev git cmake
git clone https://github.com/texane/stlink stlink.git
cd stlink.git
make
sudo cp build/Release/st-flash /usr/bin/
sudo cp etc/udev/rules.d/49-stlinkv2.rules /etc/udev/rules.d/
sudo udevadm control –reload-rules
sudo udevadm trigger
Download LoRaMac firmware
https://github.com/NetBlocks/XRange/
Build Target (for example ping-pong):
cd make/XRange/ping-pong
make
Load firmware
make flash
More information about XRange platform
Recent Comments