Skip to content

[sensor] V2选中必须选择V1造成文件重复 #7745

Closed
@meng-plus

Description

image

路径[components\drivers\Kconfig](https://github.com/RT-Thread/rt-thread/blob/704554f1f9966ee830907c7674a676e2ea94a29c/components/drivers/Kconfig) 配置如下

config RT_USING_SENSOR
    bool "Using Sensor device drivers"
    select RT_USING_PIN
    default n

if RT_USING_SENSOR
    config RT_USING_SENSOR_V2
        bool "Enable Sensor Framework v2"
        default n

    config RT_USING_SENSOR_CMD
        bool "Using Sensor cmd"
        select PKG_USING_RT_VSNPRINTF_FULL if RT_USING_SENSOR_V2
        default y

endif

而此处未对V2进行过滤[components\drivers\sensor\v1\SConscript](https://github.com/RT-Thread/rt-thread/blob/704554f1f9966ee830907c7674a676e2ea94a29c/components/drivers/sensor/v1/SConscript)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions