Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Saved programmer not selected #942

Open
manuelmaurer opened this issue Dec 6, 2019 · 6 comments
Open

Saved programmer not selected #942

manuelmaurer opened this issue Dec 6, 2019 · 6 comments

Comments

@manuelmaurer
Copy link

When selecting a Programmer, the selection is saved in the arduino.json file. However, this selection is not restored when loading the project (neither after "Open Folder" nor after a restart of vscode).
It also does not matter which programmer is selected (tested with multiple entries).

@silardg
Copy link

silardg commented Dec 28, 2019

Same situation when using STM32L0 boards with ST-Link programmers.

@rickoman
Copy link

Same problem here with Adafruit Feather M0 + AVR mkII

@manuelmaurer
Copy link
Author

I've tried to dig into the code, it looks like there is no routine to actually load the setting into the programmerManager. Based on how this is handled in boardManagerI wrote a quick fix. Patch attached.

loadProgrammer.txt

@hairlesshobo
Copy link

Last year I submitted pull request #767 that addresses this, and the fact that custom programmers are not honored by the vscode arduino plugin last year. It has been sitting pending review this entire time. If you guys want to comment on that, they may finally review it and hopefully merge it in so these two issues will be addressed.

@THX2112
Copy link

THX2112 commented Jun 11, 2020

Same issue.

@iqapps
Copy link

iqapps commented Sep 15, 2020

Anything happening here, should be an easy fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants