Skip to content

Ability to run without setting ZEPHYR_BASE #5

@koffes

Description

@koffes

Looking at the doc: https://docs.zephyrproject.org/latest/boards/native/nrf_bsim/doc/nrf52_bsim.html
some variables such as:

export BSIM_OUT_PATH=${ZEPHYR_BASE}/../tools/bsim
export BSIM_COMPONENTS_PATH=${BSIM_OUT_PATH}/components/

are dependent on ZEPHYR_BASE.
We have seen issues where users have multiple Zephyr folders, and the ZEPHYR_BASE points to the wrong one. This is indeed a user fault, but a very simple trap to fall into.
If there is some way to dynamically find this path/ omit the need for these env. vars. that would simplify usage and remove a pitfall.

This may be related to zephyrproject-rtos/zephyr#82058

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions