Hi Charles! Drop all that device tree stuff. Instead use the elegant way for pinmuxing: libpruio <http://github.com/dtjf/libpruio>. Side effects: faster booting time, smaller memory footprint.
Find example code for pinmuxing, downloading and running PRU firmware at http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/pruss__toggle_8c_source.html In your case the following code will do the trick (note: single source, pinmuxing in your program code) if (io->setPin(io, P8_12 <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/pruio__pins_8bi.html#af38ae7c5f55c73ea6b438c6806e5cf67> , 6)) { printf("P8_12 configuration failed (%s)\n", io->Errr); break;} if (io->setPin(io, P8_46 <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/pruio__pins_8bi.html#af38ae7c5f55c73ea6b438c6806e5cf67> , 5)) { printf("P8_46 configuration failed (%s)\n", io->Errr); break;} Regards -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/724ca384-2f2d-42ac-a3d1-abf1aeff7655%40googlegroups.com.
