8000 [restrictions] Not able to use a string comparison as a restriction · Issue #443 · apache/mynewt-newt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[restrictions] Not able to use a string comparison as a restriction #443
Open
@vrahane

Description

@vrahane

Currently this does not work, spi0 needs to be made a choice for it to work or a workaround is to use it as a value and use the # operator to convert it to a string.

syscfg.defs:
    CHIP_ONB:
        description: 'On board chip'
        value: 1
        restrictions:
            - 'CHIP_ONB_SPI_BUS == "spi0"'

    CHIP_ONB_SPI_BUS:
        value: 'spi0'

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

      0