Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
From 27d3d7accb6d003ff5e2d70bd3a6cdf6901e4d75 Mon Sep 17 00:00:00 2001
From: Primiano Tucci <primiano@google.com>
Date: Mon, 14 Sep 2015 09:09:04 +0100
Subject: [PATCH] Issue 1323333002: Move libvpx from DEPS to src
---
.gitignore | 2 +-
DEPS | 5 +-
WATCHLISTS | 5 +
third_party/libvpx/BUILD.gn | 276 ++
// Working example of 25 MHz SPI on Intel Edison using DMA
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/kthread.h>
#include <linux/spi/spi.h>
#include <linux/interrupt.h>
#define BUF_SIZE 4096
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/kthread.h>
#include <linux/spi/spi.h>
struct task_struct* worker;
static struct spi_device* spi_dev = NULL;
#define BUF_SIZE 512
@primiano
primiano / traceinspect.py
Created June 26, 2015 10:06
Dump memory-infra traces
#!/usr/bin/env python
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import json
import sys
def main():
@primiano
primiano / designer.html
Last active August 29, 2015 14:13
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="home-automation">
<template>
<style>
:host {