For instance, here are two such pins that do not need to be muxed prior to exporting.
william@beaglebone:~/dev$ ls /sys/class/gpio/ export gpiochip0 gpiochip32 gpiochip64 gpiochip96 unexport william@beaglebone:~/dev$ echo 49 > /sys/class/gpio/export william@beaglebone:~/dev$ echo 60 > /sys/class/gpio/export william@beaglebone:~/dev$ ls /sys/class/gpio/ export gpio49 gpio60 gpiochip0 gpiochip32 gpiochip64 gpiochip96 unexport On Thu, May 26, 2016 at 8:26 AM, William Hermans <yyrk...@gmail.com> wrote: > *HI , * >> *I am new to BBB.I am trying to create a user app to access GPIO in BBB.I >> came across this video - > https://www.youtube.com/watch?v=wui_wU1AeQc >> <https://www.youtube.com/watch?v=wui_wU1AeQc> .Is it really necessary to >> use Device overlay to access the GPIOs?* >> *Can some one please post a link to how to get started with GPIOS on >> BBB.* >> *Rgds,* >> > > Yes, and no. My understanding is that some pins can only be configured as > a GPIO, so these do not need to be muxed by way of a device tree file. For > multi purpose pins however( multiple possible peripherals on the same pin > ), you need to mux the pins for GPIO( 0x7 ). Perhaps universal IO can be > used too ? > > On Thu, May 26, 2016 at 8:02 AM, Vincent lc <vincent.lecostao...@gmail.com > > wrote: > >> Hi, >> >> If you want to use a kernel version >= 3.8, you are obliged to use a DTS >> (Device tree source) in order ton configured the GPIO. >> And I advised you to use one because It's important to be on page :-) >> >> I like lots of microcontroller, you always need to configured pins before >> using them, here, the way is to use the overlay (mean that they are load >> when the board is steal running) ;-). >> The video that you posted is a good example, you can also check the >> associate website : http://exploringbeaglebone.com/chapter6/ where you >> can download source code and so on ^_^. >> >> Have a lovely day ! >> Enjoy >> Vincent >> >> >> >> Le jeudi 26 mai 2016 15:46:20 UTC+2, Raul Piper a écrit : >>> >>> HI , >>> I am new to BBB.I am trying to create a user app to access GPIO in BBB.I >>> came across this video - > https://www.youtube.com/watch?v=wui_wU1AeQc >>> .Is it really necessary to use Device overlay to access the GPIOs? >>> Can some one please post a link to how to get started with GPIOS on BBB. >>> Rgds, >>> Rp >>> >> -- >> 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 beagleboard+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/fd6bd2e6-6fcf-4c61-918a-c82575ec076b%40googlegroups.com >> <https://groups.google.com/d/msgid/beagleboard/fd6bd2e6-6fcf-4c61-918a-c82575ec076b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORoevGr5cy0ZDGzNSMJFZvgj3J9i5s_E9mgmBE0hOdKfAg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.