Hi,
I have done some searching and cannot find a direct answer to this. I have a gpio pin defined in a custom device in my board dts. I want to set this pin to high drive. I have been using the flag
Hi,
I have done some searching and cannot find a direct answer to this. I have a gpio pin defined in a custom device in my board dts. I want to set this pin to high drive. I have been using the flag
Easier way of debugging is to put a breakpoint at zephyr\drivers\gpio\gpio_nrfx.c and run your code in the debugger to see if the execution is reaching the right switch statement. If not then see what is missing to make it happen.
These are not device tree entries as far as I know as these flags can vary with different SoCs. You can add the flag when you use gpio_pin_configure. Probably cannot be extracted from device tree? Not sure.
Thank you for the response. It does get to the right point in the debugger when I include a number instead of the defined flag.
Which header file do I need to include to be able to access the defines for the drive signals? I will just include the flag in the gpio_pin_configure instead.
Include this in the file you are doing the pin_configure.
Include this in the file you are doing the pin_configure.