Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm/rp2040/common: Change SPI board functions to weak
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.
- Loading branch information