How to verify a driver using gpio1 on native_posix #drivers #devicetree #ztest


jerry@...
 

Hi!
I'm trying to verify a "reset_n" gpio with Twister, using board = native_posix.          
The behavior is to make reset_n low for 1 ms and then set it high again.                     
The driver code is using gpio1 but this does not exist in the native_posix.                  
Is it possible to extend the native_posix board with an overlay to enable the usage of gpio1?

I'm looking for directions to avoid going down the wrong rabbit hole.                        
Is it at all a good idea to verify drivers using gpio in this way?                           
Best regards.