This file contains 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
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 |
This file contains 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
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 |
This file contains 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
/* | |
* UART.cpp | |
* | |
* Created on: Mar 12, 2016 | |
* Author: Christopher Jordan-Denny | |
*/ | |
#include <iostream> | |
#include <string> | |
#include <sys/types.h> |