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
Some standard west commands should Just Work for native_posix board #36706
Comments
this actually works with the arc simulator already, so I agree this could be made consistent...
@palchak-google all of this can be done in cmake/west extensions in the tree, so patches welcome... |
@aescolar thoughts on this old issue? I wonder if it is still relevant in the light of native_sim |
I guess the same request applies to native_sim. But as Anas said, patches welcome. |
Add 'west flash' support which in the case of native_sim just start the built application. Reuse existing runner and rename it to be more generic as it does more than just debugging now. Fixes zephyrproject-rtos#36706 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add 'west flash' support which in the case of native_sim just start the built application. Reuse existing runner and rename it to be more generic as it does more than just debugging now. Fixes zephyrproject-rtos#36706 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add 'west flash' support which in the case of native_sim just start the built application. Reuse existing runner and rename it to be more generic as it does more than just debugging now. Fixes zephyrproject-rtos#36706 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add 'west flash' support which in the case of native_sim just start the built application. Reuse existing runner and rename it to be more generic as it does more than just debugging now. Fixes zephyrproject-rtos#36706 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add 'west flash' support which in the case of native_sim just start the built application. Reuse existing runner and rename it to be more generic as it does more than just debugging now. Also add debugserver command. Fixes zephyrproject-rtos#36706 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add 'west flash' support which in the case of native_sim just start the built application. Reuse existing runner and rename it to be more generic as it does more than just debugging now. Also add debugserver command. Fixes zephyrproject-rtos#36706 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add 'west flash' support which in the case of native_sim just start the built application. Reuse existing runner and rename it to be more generic as it does more than just debugging now. Also add debugserver command. Fixes zephyrproject-rtos#36706 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add 'west flash' support which in the case of native_sim just start the built application. Reuse existing runner and rename it to be more generic as it does more than just debugging now. Also add debugserver command. Fixes #36706 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add 'west flash' support which in the case of native_sim just start the built application. Reuse existing runner and rename it to be more generic as it does more than just debugging now. Also add debugserver command. Fixes zephyrproject-rtos#36706 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Is your enhancement proposal related to a problem? Please describe.
Currently when building for the
native_posix
board it is not possible to use a west command to execute the resulting binary. This is inconsistent with the workflow used for other boards. While not all west commands make sense for thenative_posix
board, it should still be possible to at least invoke the native binary somehow.Describe the solution you'd like
If the target board is
native_posix
then:west flash
should execute${BUILD_DIR}/zephyr/zephyr.elf
with no argumentswest attach
should execute${BUILD_DIR}/zephyr/zephyr.elf
with the argument-attach_uart
Describe alternatives you've considered
Alternatively, there should be a
west execute
command that is only enabled for thenative_posix
board.Additional context
[ This space intentionally left blank ]
The text was updated successfully, but these errors were encountered: