v01d commented on pull request #2870:
URL: https://github.com/apache/incubator-nuttx/pull/2870#issuecomment-782207482


   > I still don't have a strong argument in favour of moving towards that 
organisation for now. I feel like with only one board, it will confuse people a 
little and doesn't show the full benefit.
   
   My intention is to avoid layout out code which promotes copying as it is 
difficult to remain vigilant about duplicated code in subsquent PRs. I feel it 
is better to avoid it altogether from the start. 
   
   > In another note, the GPIO board logic isn't shared for other boards. There 
are examples for STM32 and ESP32 (where the common folder is used), both use 
separate GPIO board logic for each board. I think the way that file is 
implemented will make us expose definitions (GPIOXX) that are not usually 
exposed in board.h.
   
   I see, so maybe it would be worth revisiting what information does this code 
require so that is easier to move to common code. I guess we could do that 
later on.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to