setting default options for i/o ports

kermit
 
Posts: 6
Joined: Sat Sep 23, 2017 10:54 pm

setting default options for i/o ports

Sun Jun 24, 2018 3:28 pm

Hello,
I want to ask is possible to set default states for gpio ports, i need to do this because i have custom board for vocore which have connections to external circuits. after vocore boots i set all gpio as i need it, but during boot process there is some problems because ports default configuration, is it possible to do this ? i made a little research and i suspect that i need to do this in device tree file(.dts), am i right, can anyone maybe have some example, how to do this on vocore?
Greetings ;)

Vonger
 
Posts: 634
Joined: Sun Oct 19, 2014 6:00 am

Re: setting default options for i/o ports

Mon Jun 25, 2018 9:49 am

This have to be done in bootloader.
Please check github.com/vonger and get the bootloader source code, add register control for gpio default value, that's the most simple way.

Return to VoCore2

Who is online

Users browsing this forum: No registered users and 2 guests