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

drivers/spi: "Remove build error when SPI is not used #69

Merged

Conversation

sasataku
Copy link
Member

When building a zephyr sample that does not use the SPI driver, the following error occurs.

CMake Error at xxx (target_include_directories):
Cannot specify include directories for target "drivers__spi" which is not
built by this project.

This commit removes this error.

@sasataku sasataku requested a review from yashi as a code owner October 21, 2024 01:15
When building a zephyr sample that does not use the SPI driver, the
following error occurs.

  CMake Error at xxx (target_include_directories):
  Cannot specify include directories for target "drivers__spi" which is not
  built by this project.

This commit removes this error.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
@sasataku sasataku force-pushed the fix-build-error-when-spi-is-not-used branch from f5a0637 to a28cca0 Compare October 21, 2024 01:17
@sasataku sasataku merged commit 1e30fed into spacecubics:main Oct 21, 2024
42 checks passed
@sasataku sasataku deleted the fix-build-error-when-spi-is-not-used branch October 21, 2024 01:42
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

Successfully merging this pull request may close these issues.

1 participant