This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DESCRIPTION = "uhubctl - USB hub per-port power control" | |
| HOMEPAGE = "https://github.com/mvp/uhubctl" | |
| LICENSE = "GPLv2" | |
| LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | |
| file://LICENSE;md5=7a7d8e0fdffe495ff61f52ceee61b2f7" | |
| DEPENDS = "libusb1" | |
| RDEPENDS_${PN} = "libusb1" | |
| SRC_URI = "git://github.com/mvp/uhubctl.git" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git config --global url."https://github.com/".insteadOf [email protected]: | |
| git config --global url."https://".insteadOf git:// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # We have a conf and classes directory, add to BBPATH | |
| BBPATH .= ":${LAYERDIR}" | |
| # We have a recipes-* directories, add to BBFILES | |
| BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | |
| ${LAYERDIR}/recipes-*/*/*.bbappend" | |
| BBFILE_COLLECTIONS += "babelouest" | |
| BBFILE_PATTERN_babelouest = "^${LAYERDIR}/" | |
| BBFILE_PRIORITY_babelouest = "6" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf | |
| # changes incompatibly | |
| POKY_BBLAYERS_CONF_VERSION = "2" | |
| BBPATH = "${TOPDIR}" | |
| BBFILES ?= "" | |
| BBLAYERS ?= " \ | |
| ##OEROOT##/meta-gstreamer1.0 \ | |
| ##OEROOT##/meta \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 3a1a3515d33facdf8ec9ab9735fb9244c65521be Mon Sep 17 00:00:00 2001 | |
| From: Parthiban Nallathambi <[email protected]> | |
| Date: Sat, 10 Nov 2018 12:20:41 +0100 | |
| Subject: [PATCH] orange pi zero: Add SPI support by default | |
| Signed-off-by: Parthiban Nallathambi <[email protected]> | |
| --- | |
| ...rm-dts-enable-SPI-for-orange-pi-zero.patch | 26 +++++++++++++++++++ | |
| recipes-kernel/linux/linux-mainline_git.bb | 1 + | |
| 2 files changed, 27 insertions(+) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * gcc `pkg-config --cflags glib-2.0 gio-2.0` -Wall -Wextra -o ./bin/agent ./agent.c `pkg-config --libs glib-2.0 gio-2.0` | |
| */ | |
| #include <glib.h> | |
| #include <gio/gio.h> | |
| #include <stdio.h> | |
| #include "agent.h" | |
| GMainLoop *loop; | |
| GDBusConnection *con; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Linumiz <[email protected]> | |
| * mqtt_loop: subscribe to topic and loopbacks the message to publish topic | |
| * | |
| * gcc -I./lib -L./lib -DMQTT_TLS -o ./mqtt_loop ./mqtt_loop.c -lmosquitto | |
| */ | |
| #include <errno.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.13.1) | |
| find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) | |
| project(nrf91-block) | |
| target_sources(app PRIVATE src/main.c) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @startuml | |
| actor User | |
| group Application and D-Bus Interaction | |
| participant Application #LightBlue | |
| participant "D-Bus" as DbusDaemon #LightYellow | |
| participant "Bluez D-BUS Service" as BluezAdapter #LightGreen | |
| end | |
| User -> Application: Initiate read/write\n"Powered" property |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @startuml | |
| group Application and D-Bus Interaction | |
| participant Application #LightBlue | |
| participant "D-Bus" as DbusDaemon #LightYellow | |
| participant "Bluez D-BUS Service" as BluezAdapter #LightGreen | |
| end | |
| Application -> DbusDaemon: D-Bus method call\n(org.freedesktop.DBus.Properties.Get) | |
| activate Application |