xiaoxiang781216 commented on code in PR #22297:
URL: https://github.com/apache/nuttx/pull/22297#discussion_r4704429554


##########
arch/tricore/src/common/aurix/CMakeLists.txt:
##########
@@ -24,3 +24,7 @@
 # of each family
 
 target_sources(arch PRIVATE tricore_serial.c)
+
+if(CONFIG_DEV_GPIO)
+  target_sources(arch PRIVATE tricore_gpio_lower.c)

Review Comment:
   no ioexpander is used for exposing a bunch of gpio and it's also the 
interface can be called inside kernel. gpio is userspace interface. Why I 
suggest you implement gpio as ioexpander driver because:
   
   1. the kernel user can use it directly, but gpio can't
   2. it consume less resource than gpio
   3. you can reuse the general gpio lowerhalf which wrap ioexpander as gpio



-- 
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]

Reply via email to