openwrt/README.md
Morse Micro bd4b092001 readme: update readme for example sets of evaluation kits
With the release of the MM8108 USB dongles included with the EKH19, the
Morse Micro OpenWrt SDK now supports many targets - including devices
we don't manufacture.

Add Morse Micro evaluation kits as explicit targets in the README, and
point at the boards folder for other options.
2025-10-05 19:29:21 +11:00

45 lines
1.4 KiB
Markdown

# MorseMicro OpenWrt
## Dependencies
To build the Morse Micro OpenWrt, you need a working Linux environment. This has been tested with Ubuntu 20.04 and higher.
Install build environment packages with
```
> sudo apt update
> sudo apt install build-essential clang flex g++ gawk gcc-multilib git gettext \
libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev swig
```
## Usage
Run the `./scripts/morse_setup.sh` script to configure the build for your board of choice. Custom boards can be added to the `boards` folder and used as a target. See an existing board for the information which should be contained in the diffconfigs.
For example, to build for a HaLowLink1
```
> ./scripts/morse_setup.sh -i -b halowlink1
```
Some targets provided by this repository include
| Board | Target |
|--------------------|-------------------------- |
| MMx108-EKH01 (SDIO)| `mmx108-ekh01-sdio` |
| MM6108-EKH01 (SPI) | `mm6108-ekh01-spi` |
| MM8108-EKH01 (SPI) | `mm8108-ekh01-spi` |
| HaLowLink1 | `halowlink1` |
| MM8108-EKH19 | `ekh19` |
See the `boards/` folder for other targets and families.
After configuration is complete, run the build with
```
> make -j8
```
For verbose compilation, consider using
```
> make -j8 V=sc 2>&1 | tee log.txt
```
Once the build is complete a compiled image can be found in `bin/target/<platform>/<target>/`