machinekoder / BBIOConfig

A GUI for the BB universal IO
GNU General Public License v3.0
45 stars 14 forks source link

Add the ability to program ALL programmable pins #2

Open dws14159 opened 6 years ago

dws14159 commented 6 years ago

Tried using this - looks good! but all overlay files block one or more of the pins I need to be able to program.

machinekoder commented 6 years ago

@dws14159 What do you mean by "block". The overlay allows you to program the pins they cover.

dws14159 commented 6 years ago

I mean there's no drop-down menu and no apparent way to specify the pin function. For example, load up cape-universala and click pin P9_21. A drop down appears and this pin can be set to uart. Now click P9_19, which I need to configure to gpio. Nothing happens. How do I set the pin? In cape-univ-emmc, P9_21 is similarly "blocked" - there is no dropdown and it can't be set to uart. So it appears that I need a cape- that allows P9_19 to be set (and not just that one, either). In fact none of the cape- options allow P9 19/20 to be set.

RobertCNelson commented 6 years ago

@dws14159 P9_19/P9_20 are the i2c pin's, in pre < (4.14.58-ti-r65) kernel's they are locked to i2c mode. With u-boot overlays and kernels later then or equal to 4.14.58-ti-r65, you can mux P9_19/P9_20 to the other options.

Regards,

CalebProvost commented 5 years ago

If you encountered the same problem as me then the below packages will fix it and run it. apt-get install qtdeclarative5-dev apt-get install qml-module-qtquick-dialogs apt-get install qml-module-qtquick-controls apt-get install qml-module-qtgraphicaleffects apt-get install qml-module-qtquick-layouts

Or as one line: apt-get install qtdeclarative5-dev qml-module-qtquick-dialogs qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtquick-layouts

then compile the code and launch it: qmake && make ./bbioconfig