Skip to content

Instantly share code, notes, and snippets.

Avatar

Rafael Vega rvega

  • Medellín, Colombia
View GitHub Profile
View devicetree.dts version A
/dts-v1/;
#include "am33xx.dtsi"
#include "am335x-bone-common.dtsi"
#include "am335x-bonegreen-common.dtsi"
/* #include "am335x-bone-jtag.dtsi" */
&am33xx_pinmux {
mostro_audio_pins: pinmux_mostro_audio_pins {
pinctrl-single,pins = <
View gist:94c84cddb147cdc89aa264cc18c0280d
[1/815] Building C object CMakeFiles/allegro.dir/src/allegro.c.o
[2/815] Building C object CMakeFiles/allegro.dir/src/bitmap_draw.c.o
[3/815] Building C object CMakeFiles/allegro.dir/src/bitmap_lock.c.o
[4/815] Building C object CMakeFiles/allegro.dir/src/bitmap_io.c.o
[5/815] Building C object CMakeFiles/allegro.dir/src/blenders.c.o
[6/815] Building C object CMakeFiles/allegro.dir/src/bitmap_type.c.o
[7/815] Building C object CMakeFiles/allegro.dir/src/clipboard.c.o
[8/815] Building C object CMakeFiles/allegro.dir/src/bitmap.c.o
[9/815] Building C object CMakeFiles/allegro.dir/src/cpu.c.o
[10/815] Building C object CMakeFiles/allegro.dir/src/debug.c.o
View gist:90e5b48173db35da586c2642e8f67cec
-- The C compiler identification is GNU 8.2.1
-- The CXX compiler identification is GNU 8.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
@rvega
rvega / VideoCanvas.cpp
Created Apr 10, 2018
A simple video player widget with nanogui and libvlc
View VideoCanvas.cpp
#include <nanogui/screen.h>
#include <nanogui/window.h>
#include <nanogui/glcanvas.h>
#include <nanogui/layout.h>
#include <nanogui/opengl.h>
#include <vlc/vlc.h>
#include <iostream>
#include <mutex>
@rvega
rvega / main.cpp
Created Apr 9, 2018
generating pixel texture with secondary thread
View main.cpp
#include <nanogui/screen.h>
#include <nanogui/window.h>
#include <nanogui/glcanvas.h>
#include <nanogui/layout.h>
#include <nanogui/opengl.h> // includes most opengl definitions
#include <iostream>
#include <mutex>
#include <cstdint>
#include <thread>
@rvega
rvega / main.cpp
Created Apr 9, 2018
Rendering video content with libvlc to an openGL texture.
View main.cpp
#include <mutex>
#include <vlc/vlc.h>
#include <stb_image.h>
#include <nanogui/nanogui.h>
class VideoView: public nanogui::GLCanvas {
public:
nanogui::GLShader shader;
GLuint textureId;
View am335x-boneblack-audio-fixed.dts
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
#include "am33xx.dtsi"
@rvega
rvega / gist:62578b981b003387b0fd
Created Nov 16, 2015
Compiling moocow/flite external in pd-l2ork fails.
View gist:62578b981b003387b0fd
(cd ../flite && sh ./configure CFLAGS="-DPD -I/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/pd/src -Wall -W -ggdb -I/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/Gem/src -I/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/externals/pdp/include -DUNIX -Dunix -DDL_OPEN -fPIC -O2 -I/sw/include" LDFLAGS=" -L/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/pd/src -L/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/pd/bin -L/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/pd/obj -L/sw/lib" --with-pd-include="/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/pd/src" --with-pd-dir="/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/externals/moocow/extended/build.moo" --disable-dependency-tracking && make clean) || echo "(MOOCOW) Warning: sub-target failed: 'flite.configure_stamp'"
configure: pre-processing user CFLAGS...
configure: got CFLAGS="-DPD -I/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/pd/src -Wall -W -ggdb -I/home/Rafa/src/AUR-pd-l2ork/pd-l2ork/src/pd-l2ork/Gem/src -I/home/Rafa/src/AUR-pd-
View l2ork.log.txt
priority 6 scheduling enabled.
priority 8 scheduling enabled.
error in file /usr/lib/pd-l2ork/bin/pd.tk: can't find package xapian 1.0.0
while executing
"package require xapian 1.0.0"
(file "/usr/lib/pd-l2ork/bin/search-plugin.tcl" line 22)
invoked from within
"source [file join [file dirname [info script]] search-plugin.tcl]"
(file "/usr/lib/pd-l2ork/bin/pd.tk" line 8498)
tcl: /usr/lib/pd-l2ork/bin/pd.tk: can't open script
View gist:1612522
[rafaelvega@arch-rafa ember-runner]$ ember-runner preview
[task:checkConfig] Started
[task:configure] Started
[task:clean] Started
[vendors] Started
[apps] Started
[task:checkPackages] Started
[task:walk] Started
[build] Started
[Build] Package: handlebars