We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug It is not possible to build & run Zephyr on MinGW-w64 because of PATH Unix/Windows difference
Because of MSYS2 PATH auto-conversion, sometimes we get the wrong value going in-and-out CMake (to Shell or Python3).
To Reproduce cmake -DBOARD=qemu_cortex_m3 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/c/Users/%USER%/gcc-arm-10.3-2021.07-mingw-w64-i686-arm-none-eabi %ZEPHYR_BASE%/samples/hello_world
Expected behavior Get a Zephyr.elf file able to run on QEMU Then:
qemu-system-arm.exe -M lm3s6965evb -nographic -kernel mybuild/zephyr/zephyr.elf
console: Timer with period zero, disabling *** Booting Zephyr OS build v3.0.0-rc3-23-gba939b126203 *** Hello World! qemu_cortex_m3
Timer with period zero, disabling
*** Booting Zephyr OS build v3.0.0-rc3-23-gba939b126203 ***
Hello World! qemu_cortex_m3
Impact annoyance
Logs and console output Logs do not reflect the fact that sometimes we get
C:/my/path/on/mingw (which might be valid depending on how you use it)
instead of
/c/my/path/on/mingw (also valid)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
See #45383 (comment)
We do not support building Zephyr inside MSYS environment.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
It is not possible to build & run Zephyr on MinGW-w64 because of PATH Unix/Windows difference
Because of MSYS2 PATH auto-conversion, sometimes we get the wrong value going in-and-out CMake (to Shell or Python3).
To Reproduce
cmake -DBOARD=qemu_cortex_m3 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/c/Users/%USER%/gcc-arm-10.3-2021.07-mingw-w64-i686-arm-none-eabi %ZEPHYR_BASE%/samples/hello_world
Expected behavior
Get a Zephyr.elf file able to run on QEMU
Then:
console:
Timer with period zero, disabling
*** Booting Zephyr OS build v3.0.0-rc3-23-gba939b126203 ***
Hello World! qemu_cortex_m3
Impact
annoyance
Logs and console output
Logs do not reflect the fact that sometimes we get
instead of
Environment (please complete the following information):
which cmake
/mingw64/bin/cmake
which python3
/mingw64/bin/python3
The text was updated successfully, but these errors were encountered: