xiaoxiang781216 commented on code in PR #18951: URL: https://github.com/apache/nuttx/pull/18951#discussion_r3295845695
########## arch/sim/src/sim/sim_internal.h: ########## @@ -507,5 +507,10 @@ int sim_gpiochip_initialize(const char *filename); struct ioexpander_dev_s *sim_gpiochip_get_ioe(void); #endif +#ifdef CONFIG_SIM_FT2232H_GPIO +int sim_ft2232h_gpio_initialize(uint8_t pins_dir); Review Comment: why can't reuse the general gpio driver from: https://github.com/apache/nuttx/blob/master/arch/sim/src/sim/posix/sim_linux_gpiochip.c -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
