Skip to content

drivers: spi: spi_context: exclude gpio code if no gpio cs #92888

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maass-hamburg
Copy link
Member

@maass-hamburg maass-hamburg commented Jul 9, 2025

exclude gpio code if no gpio cs are used
for that spi driver. Because all of it is in a header and all functions and definitions are inline, we can optimize code out during build

@github-actions github-actions bot added the area: SPI SPI bus label Jul 9, 2025
@github-actions github-actions bot requested review from decsny, tbursztyka and teburd July 9, 2025 09:59
@maass-hamburg maass-hamburg force-pushed the spi_context_no_gpio branch from 77d4673 to bd52723 Compare July 9, 2025 12:01
@github-actions github-actions bot added platform: Nuvoton Numicro Numaker Nuvoton Technology Corporation, Numicro Numaker platform: ESP32 Espressif ESP32 labels Jul 9, 2025
exclude gpio code if no gpio cs are used
for that spi driver.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
@maass-hamburg maass-hamburg force-pushed the spi_context_no_gpio branch from bd52723 to cc0f25b Compare July 9, 2025 13:22
Copy link

sonarqubecloud bot commented Jul 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: SPI SPI bus platform: ESP32 Espressif ESP32 platform: Nuvoton Numicro Numaker Nuvoton Technology Corporation, Numicro Numaker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants