keever50 opened a new pull request, #15894:
URL: https://github.com/apache/nuttx/pull/15894

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   Board logic change.
   This PR adds weak_function attributes to the RP2040 common SPI board logic.
   This allows board developers to override and extend the SPI board logic.
   
   ## Impact
   
   This allows board developers to add custom SPI logic such as adding 
additional chip select pins.
   Adding new SPI devices such as displays or custom SPI devices like external 
boards is now possible.
   
   External custom boards will have the biggest impact, as these are typically 
not pushed.
   
   ## Testing
   
   This has been tested by building the code on linux with raspberrypi-pico:nsh 
config.
   I also tested it on a custom board and it works.
   However, my knowledge is not very big about compiler compatibility when 
weak_function is used.
   
   Please let me know if there are issues.
   
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to