Skip to content

twister: custom dts/bindings: can't load: <SchemaError: error code 2: Schema validation failed #78609

Answered by lexologe
lexologe asked this question in General
Discussion options

You must be logged in to vote

I got it. I need to

  • add boards at the end of --board-root
  • add BOARD_ROOT=$(pwd)

like this:

BOARD_ROOT=$(pwd) west twister -T $(pwd)/tests/<component-dir> -p <my-custom-board-name> --board-root=$(pwd)/boards --device-testing --device-serial /dev/tty.XYZ

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SVogelsang
Comment options

@lexologe
Comment options

Answer selected by lexologe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants