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

tool-avrdude not installed correctly if needed #56

Closed
maxgerhardt opened this issue Mar 18, 2023 · 1 comment
Closed

tool-avrdude not installed correctly if needed #56

maxgerhardt opened this issue Mar 18, 2023 · 1 comment

Comments

@maxgerhardt
Copy link
Contributor

Although there is

if any(t in targets for t in ("fuses", "bootloader")):
if build_core in ("MegaCoreX", "megatinycore"):
self.packages["tool-avrdude"]["optional"] = False
else:
self.packages["tool-avrdude-megaavr"]["optional"] = False

there is tool-avrdude package definition in the platform.json

"packages": {
"toolchain-atmelavr": {
"type": "toolchain",
"owner": "platformio",
"version": "~1.70300.0",
"optionalVersions": ["~3.70300.0"]
},
"framework-arduino-megaavr": {
"type": "framework",
"optional": true,
"owner": "platformio",
"version": "~1.8.7"
},
"framework-arduino-megaavr-megacorex": {
"type": "framework",
"optional": true,
"owner": "platformio",
"version": "~1.1.1"
},
"framework-arduino-megaavr-megatinycore": {
"type": "framework",
"optional": true,
"owner": "platformio",
"version": "~2.6.5"
},
"framework-arduino-megaavr-dxcore": {
"type": "framework",
"optional": true,
"version": "~1.4.5"
},
"tool-avrdude-megaavr": {
"type": "uploader",
"optional": true,
"owner": "platformio",
"version": "~1.60300.0",
"optionalVersions": ["~3.60300.0"]
}
}

which I think leads to the problem posted about in

https://community.platformio.org/t/tool-avrdude-error-cannot-build-example-hello-world-code-due-to-the-tool-failing/32645?u=maxgerhardt

@maxgerhardt
Copy link
Contributor Author

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

No branches or pull requests

1 participant