Navigation

    MangoPi.Club

    • Register
    • Login
    • Search
    • Popular
    • 最新
    • 版块
    • 用户
    • 话题
    • Home

    widora 的mraa 库是0.8.0版本的 怎么升级到最新的呀

    中文
    2
    2
    422
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tongjinlv last edited by

      http://iotdk.intel.com/docs/master/mraa/python/mraa.html

      1 Reply Last reply Reply Quote
      • M
        mangogeek last edited by

        理论上修改openwrt_widora/feeds/packages/libs/libmraa/Makefile,该M akefile控制着包的版本:

        include $(TOPDIR)/rules.mk
        
        PKG_NAME:=libmraa
        PKG_VERSION:=0.8.0
        
        PKG_RELEASE=$(PKG_SOURCE_VERSION)
        
        PKG_SOURCE_PROTO:=git
        PKG_SOURCE_URL:=https://github.com/intel-iot-devkit/mraa.git
        PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
        PKG_SOURCE_VERSION:=70600dece4138b0c0dbaff42f57828f1559cd840
        PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
        PKG_BUILD_DEPENDS:=node python/host swig/host node/host
        CMAKE_INSTALL:=1
        

        但是,我查了一下在OpenWrt-18.06中的Makefile和15.05版本里的相同,这说明Openwrt里一直使用0.8.0版本,没有跟着intel更新。具体有多少坑不清楚,得自己试验了。

        1 Reply Last reply Reply Quote
        • First post
          Last post
        紧急事务请联系:hello @ widora.io