west build using wrong toolchain.

i have two toolchains inside my ncs directory.
i am trying to build my main program using west build and the west exe that i am using is the one from the right toolchain.
for some reason, it uses the other toolchain.

does it have something to do with the PYTHON_PREFER variable?
how does west find the oter toolchain? i dont see it on my system path.

Parents
  • Hello,

    Has this been an issue for long, or has there been any recent changes to anything that made this happen?

    Are you building it from VSC, or just a cmd terminal you've opened yourself?

    Regards,

    Elfving

  • Has this been an issue for long

    hey, not for long.
    i am a junior ncs developer so i started working with the newest version of ncs with the tutorial and crashcourses on the devacademy. recently started working on a project requiring an older version of ncs.
    i installed the suitable toolchain from the toolchain manager on nrf for desktop and the command line tools. since then i am trying to build the project, a built it a week ago but now I noticed it is using the wrong toolchain in the process.



    Are you building it from VSC

    I am using a git bash ming terminal from VSC.

Reply
  • Has this been an issue for long

    hey, not for long.
    i am a junior ncs developer so i started working with the newest version of ncs with the tutorial and crashcourses on the devacademy. recently started working on a project requiring an older version of ncs.
    i installed the suitable toolchain from the toolchain manager on nrf for desktop and the command line tools. since then i am trying to build the project, a built it a week ago but now I noticed it is using the wrong toolchain in the process.



    Are you building it from VSC

    I am using a git bash ming terminal from VSC.

Children
Related