File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,18 @@ int ocre_gpio_init(void) {
104104#elif defined(CONFIG_BOARD_W5500_EVB_PICO2 )
105105 INIT_GPIO_PORT_NAMED (0 , DT_NODELABEL (gpio0 ), "GPIO0" );
106106
107+ #elif defined(CONFIG_BOARD_MIMXRT1064_EVK )
108+ // No gpio0 for some reason? Will be annoying for some APIs
109+ INIT_GPIO_PORT_NAMED (0 , DT_NODELABEL (gpio1 ), "GPIO1" );
110+ INIT_GPIO_PORT_NAMED (1 , DT_NODELABEL (gpio2 ), "GPIO2" );
111+ INIT_GPIO_PORT_NAMED (2 , DT_NODELABEL (gpio3 ), "GPIO3" );
112+ INIT_GPIO_PORT_NAMED (3 , DT_NODELABEL (gpio4 ), "GPIO4" );
113+ INIT_GPIO_PORT_NAMED (4 , DT_NODELABEL (gpio5 ), "GPIO5" );
114+ INIT_GPIO_PORT_NAMED (5 , DT_NODELABEL (gpio6 ), "GPIO6" );
115+ INIT_GPIO_PORT_NAMED (6 , DT_NODELABEL (gpio7 ), "GPIO7" );
116+ INIT_GPIO_PORT_NAMED (7 , DT_NODELABEL (gpio8 ), "GPIO8" );
117+ INIT_GPIO_PORT_NAMED (8 , DT_NODELABEL (gpio9 ), "GPIO9" );
118+
107119#else
108120 // Generic fallback
109121#if DT_NODE_EXISTS (DT_NODELABEL (gpio0 ))
You can’t perform that action at this time.
0 commit comments