Skip to content

Instantly share code, notes, and snippets.

Drew Fustini pdp7

Block or report user

Report or block pdp7

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pdp7 / PB-MCP2515-SPI1.dts
Last active Nov 12, 2019
View PB-MCP2515-SPI1.dts
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/am33xx.h>
#include <dt-bindings/interrupt-controller/irq.h>
/ {
* Helper to show loaded overlays under: /proc/device-tree/chosen/overlays/
pdp7 / A: Macchina SWCAN
Last active Nov 10, 2019
Macchina SWCAN testing
View A: Macchina SWCAN
pdp7 / TX_example.ino
Created Nov 2, 2019
Macchina M2 output from Due CAN
View TX_example.ino
#include <SPI.h>
#include <MCP2515_sw_can.h>
#include "variant.h"
#include <due_can.h>
// Pin definitions specific to how the MCP2515 is wired up.
#ifdef MACCHINA_M2
#define CS_PIN SPI0_CS3
pdp7 / output from swcan
Last active Nov 2, 2019
Macchina M2 output from swcan test
View output from swcan
pdp7 / config-5.4.0-rc5+
Created Nov 2, 2019
View config-5.4.0-rc5+
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.4.0-rc5 Kernel Configuration
# Compiler: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0
        "name": "EHRPWM1A",
        "gpio": 50,
        "mux": "gpmc_a2",
        "eeprom": 34,
        // From am335x technical manual, p.183
        "pwm": {
            "module": "ehrpwm1",
            "sysfs": 3,
pdp7 / Lisboa Greybus Demo Instructions
Last active Sep 10, 2019 — forked from cfriedt/Lisboa Greybus Demo Instructions
Lisboa Greybus Demo Instructions
View Lisboa Greybus Demo Instructions
# Install some Ubuntu dependencies
apt install libnl-genl-3-dev libbluetooth-dev libavahi-client-dev
# Install OpenOCD, dtc
# Build Greybus Out-of-Kernel (required due to gb-netlink)
git clone
cd greybus
make -j
# Make sure you're using bash not dash for this script.
pdp7 / greybus for iot.txt
Last active Sep 9, 2019
greybus for iot
View greybus for iot.txt
greybus of iot
[ 3639.205812] gb_audio_gb: Unknown symbol gb_operation_sync_timeout (err 0)
[ 3639.242827] gb_loopback: Unknown symbol gb_operation_create_flags (err 0)
[ 3639.242851] gb_loopback: Unknown symbol gb_operation_put (err 0)
[ 3639.242875] gb_loopback: Unknown symbol gb_operation_get_payload_size_max (err 0)
[ 3639.242905] gb_loopback: Unknown symbol gb_connection_disable (err 0)
[ 3639.242987] gb_loopback: Unknown symbol gb_connection_create (err 0)
[ 3639.243118] gb_loopback: Unknown symbol gb_operation_response_alloc (err 0)
[ 3639.243144] gb_loopback: Unknown symbol gb_connection_enable (err 0)
View PB CAN.diff
pdp7@sp3:~/dev/beagle/$ diff src/arm/PB-CAN*dts
< * Virtual cape for CAN0 on connector pins for P1.28 and P1.26 on PocketBeagle
> * Virtual cape for CAN1 on connector pins PocketBeagle P2.09 and P2.11
< part-number = "PB-CAN0";
> part-number = "PB-CAN1";
View src.diff
pdp7@sp3:~/dev/macchina/watchdog$ git diff src/
diff --git a/src/exti.h b/src/exti.h
index 0715fba..c93d290 100644
--- a/src/exti.h
+++ b/src/exti.h
@@ -9,6 +9,7 @@
#include <libopencm3/cm3/scb.h>
#include "hal.h"
diff --git a/src/exti.h b/src/exti.h
You can’t perform that action at this time.