Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

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

west flash to teensy 41 fail, use blinky with west build #37338

Closed
WolsYang opened this issue Jul 30, 2021 · 1 comment
Closed

west flash to teensy 41 fail, use blinky with west build #37338

WolsYang opened this issue Jul 30, 2021 · 1 comment
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@WolsYang
Copy link

I follow the Getting Started Guide, then

  1. zephyrproject\zephyr>$ west build -p auto -b teensy41 samples\basic\blinky
  2. zephyrproject\zephyr>$ west flash <<Fail
  3. zephyrproject\zephyr>$ cd build
  4. zephyrproject\zephyr\build>$ west flash <<Fail
  5. zephyrproject\zephyr\build>$ ninja flash <<Fail
    Here is the error message show in windows10 cmd :
    [0/1] Flashing teensy41
    -- west flash: rebuilding
    ninja: no work to do.
    FATAL ERROR: either a pristine build is needed, or board teensy41 doesn't support west flash/debug (no ZEPHYR_RUNNERS_YAML in CMake cache)
    FAILED: zephyr/cmake/flash/CMakeFiles/flash C:/Users/canic/Desktop/zephyrproject/zephyr/build/zephyr/cmake/flash/CMakeFiles/flash
    cmd.exe /C "cd /D C:\Users\canic\Desktop\zephyrproject\zephyr\build && "C:\Program Files\CMake\bin\cmake.exe" -DTARGET=flash -DDEPENDENCIES="" -P C:/Users/canic/Desktop/zephyrproject/zephyr/cmake/flash/check_runner_dependencies.cmake && "C:\Program Files\CMake\bin\cmake.exe" -E env C:/Users/canic/AppData/Local/Programs/Python/Python39/python.exe -m west flash"
    ninja: build stopped: subcommand failed.

Is any step I do it wrong?

@WolsYang WolsYang added the bug The issue is a bug, or the PR is fixing a bug label Jul 30, 2021
@galak
Copy link
Collaborator

galak commented Jul 30, 2021

Nothing wrong, the board doesn't support west flash/debug. There is no board.cmake describing how to invoke the west runners for flashing purposes.

@zephyrproject-rtos zephyrproject-rtos locked and limited conversation to collaborators Jul 30, 2021
@galak galak closed this as completed Jul 30, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants