commit | 94772ec245e05091bf7bfba9b563bfb4e2bb5271 | [log] [tgz] |
---|---|---|
author | huamenggg <52490135+huamenggg@users.noreply.github.com> | Fri Sep 06 20:32:40 2019 |
committer | Jonathan Hui <jonhui@google.com> | Fri Sep 06 20:32:40 2019 |
tree | 50f441888c5094512bb68ccce8f34732d6e71abf | |
parent | 785d3eb6cafd71f64d02d54305179229fa487a04 [diff] |
[openwrt] change Makefile github address to openwrt branch (#316) This commit changes the github address to ot-br-posix/openwrt branch, and changes the git hash of the ot-br-posix version to the latest.
The OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management.
OpenWRT use opkg to manage its packages, and this Makefile is to help package our project into .ipk and then can install on OpenWRT.
git clone https://github.com/openwrt/openwrt.git # enter the OpenWRT directory cd openwrt # update and install feeds ./scripts/feeds update -a ./scripts/feeds install -a # select your preferred configuration for the toolchain, target system & firmware packages. make menuconfig # make the OpenWRT project make
# Download ot-br-posix's feeds curl -s https://raw.githubusercontent.com/openthread/ot-br-posix/openwrt/feeds.conf >> feeds.conf ./scripts/feeds update openthread ./scripts/feeds install -a -p openthread # in "Network" column, select "openthread" option make menuconfig # package the project make package/openthread/compile # the .ipk file will be in ./bin/packages/mips_24kc/otbrpackage/openthread_xxx.ipk # copy the .ipk file into OpenWRT device, and install opkg install openthread_xxx.ipk # then can use openthread on OpenWRT otbr-agent -d7 -v /dev/ttyUSB0 115200