ITADN

cannot configure pulls for port B: Vio is off

#1096Openzeldin 创建于 2026-01-01
software
Z
zeldincommented
Whenever an applet (that has added one or more ports) is started with Vio being 0, you get a message: ``` cannot configure pulls for port A: Vio is off ``` and the pulls do not get configured. Obviously Vio needs to be nonzero for a pull-up to actually pull up, however - The message appears even if all pulls are down or even float - Maybe the applet wants to start with Vio 0 and increase it later, for sequencing purposes I would suggest that - The check is relaxed to only check for Vio == 0 when there are actual pull-ups (not just pull-downs or floats) - The applet is allowed to circumvent the check if it knows what it is doing If you agree, I could make a pull-request with the change. Or is there a technical reason why you couldn't start with a pull-up and Vio 0 (at which time the pull-up would actually function as either a pull-down or float) and then enable Vio later getting the pull-up function at that time? (In that case it would be necessary to dynamically change the pull bits in addition to the Vio, which would be possible but messier and more prone to races.)
1 条评论