Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration option to skip SPI bus initialization #192

Open
doragasu opened this issue Apr 14, 2022 · 0 comments
Open

Add configuration option to skip SPI bus initialization #192

doragasu opened this issue Apr 14, 2022 · 0 comments

Comments

@doragasu
Copy link

Currently, if you configure an SPI display such as ILI9341, the driver initializes the SPI bus calling spi_bus_initialize(), and there is no way to skip this initialization. This is troublesome for boards having more devices attached to the bus, like the M5Stack boards, that share MOSI, MISO and SCLK also with the microSD card.

For these cases, it would be convenient having a configuration option to skip SPI bus initialization, and documenting that enabling this option makes the user responsible of calling spi_bus_initialize() with the appropriate values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant