Skip to content

Instantly share code, notes, and snippets.

View ChristopherJD's full-sized avatar

Christopher Jordan - Denny ChristopherJD

View GitHub Profile
root@beaglebone:/home/debian# echo > BB-UART1 > /sys/devices/bone_capemgr.9/slots
root@beaglebone:/home/debian# cat /sys/devices/bone_capemgr.9/slots
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART1
debian@beaglebone:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.9 (wheezy)
Release: 7.9
Codename: wheezy
debian@beaglebone:~$ uname -a
Linux beaglebone 3.8.13-bone50 #1 SMP Tue May 13 13:24:52 UTC 2014 armv7l GNU/Linux
@ChristopherJD
ChristopherJD / UART.cpp
Last active March 24, 2016 05:26
Configuration for UART for BeagleBone Black.
/*
* UART.cpp
*
* Created on: Mar 12, 2016
* Author: Christopher Jordan-Denny
*/
#include <iostream>
#include <string>
#include <sys/types.h>