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

samples: dac: simplify meta data #84480

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

Conversation

hakehuang
Copy link
Collaborator

use config from dts to get the supporting status.
remove the platfrom_allow list.

@zephyrbot zephyrbot added area: DAC Digital-to-Analog Converter area: Samples Samples labels Jan 24, 2025
@hakehuang hakehuang force-pushed the simplify_dac_sample_meta branch from 993a809 to 238bf31 Compare January 24, 2025 10:03
Copy link
Member

@martinjaeger martinjaeger left a comment

Choose a reason for hiding this comment

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

Nice improvement!

ZEPHYR_USER := zephyr,user

config DAC_SAMPLE_RUN
bool "Run the application this many seconds"
Copy link
Member

Choose a reason for hiding this comment

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

Description doesn't look right.

bool "Run the application this many seconds"
default y if $(dt_node_has_prop,/$(ZEPHYR_USER),dac)
help
platfrom supports dac sample.
Copy link
Collaborator

Choose a reason for hiding this comment

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

please address typo

@hakehuang hakehuang force-pushed the simplify_dac_sample_meta branch from 238bf31 to 9c9fffa Compare January 24, 2025 14:01
use config from dts to get the supporting status.
remove the platfrom_allow list.

Signed-off-by: Hake Huang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: DAC Digital-to-Analog Converter area: Samples Samples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants