Tuesday, 12 November 2013

configuring the gpio pin

//configure the pins and convert the source file to object file


#!/bin/bash

dtc -O dtb -o uart1-00A0.dtbo -b 0 -@ uart1.dts
cp uart1-00A0.dtbo /lib/firmware/uart1-00A0.dtbo
echo uart1 > /sys/devices/bone_capemgr.9/slots

No comments:

Post a Comment