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

tests: drivers: build_all: adc: Add spi-devices build test #78580

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

soburi
Copy link
Member

@soburi soburi commented Sep 17, 2024

Add build tests for following devices.

  • ti,tla2021

And ADS1112 was not enabled correctly, so I fixed it.

The `default y`, which is coupled with
depends on DT_HAS_TI_ADS1112_ENABLED to link the settings with DeviceTree,
which was missing, so I added it.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
@soburi soburi force-pushed the add_devices_for_build_all_adc branch from 7d650c7 to 343ed68 Compare September 17, 2024 21:45
Remove unused variables for suppress warnings

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
@soburi soburi force-pushed the add_devices_for_build_all_adc branch from 343ed68 to c264eb8 Compare September 17, 2024 22:49
@soburi soburi marked this pull request as ready for review September 17, 2024 22:50
@zephyrbot zephyrbot added the area: ADC Analog-to-Digital Converter (ADC) label Sep 17, 2024
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please make commit title more specific about this device

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update done.
Thank you for your check.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please make commit title more specific about this device

decsny
decsny previously approved these changes Sep 23, 2024
@soburi
Copy link
Member Author

soburi commented Sep 25, 2024

@anangl
Could you take a look if you have time?

@@ -344,6 +344,13 @@
#io-channel-cells = <1>;
};
};

test_spi_tla2021: tla2021@20 {
compatible = "ti,tla2021";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an I2C device, not an SPI one.

Add configuration for ti,tla2021 to enable build test.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
@nashif nashif merged commit 6e5f1f1 into zephyrproject-rtos:main Sep 26, 2024
23 checks passed
@soburi soburi deleted the add_devices_for_build_all_adc branch September 26, 2024 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants