Skip to content
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

[MCUMGR] MCUMGRPATH not recognized on Windows #67

Open
jalinei opened this issue Jun 22, 2024 · 0 comments
Open

[MCUMGR] MCUMGRPATH not recognized on Windows #67

jalinei opened this issue Jun 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working High priority

Comments

@jalinei
Copy link
Contributor

jalinei commented Jun 22, 2024

Describe the bug

After few successful (usually around 3) compilation and flashing action, windows stop executing mucmgr.exe correctly.
The failed command is the following (defined in pio_extra.ini):
upload_command = MCUMGRPATH $UPLOAD_FLAGS $SOURCE
The root cause seems to be in pre_bootloader_serial.py :

	env["UPLOADCMD"] = env["UPLOADCMD"].replace("MCUMGRPATH", mcumgr_path) 

somehow the environement variable MCUMGRPATH is not written properly anymore..

"MCUMGRPATH" is not recognized as an internal or external command

To Reproduce
Steps to reproduce the behavior:

  1. proceed to install core on windows following the getting started tutorial
  2. flash until error message pops up.

Desktop (please complete the following information):

  • OS: Windows
@jalinei jalinei added bug Something isn't working High priority labels Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High priority
Projects
None yet
Development

No branches or pull requests

2 participants