Fix invalid platform when building PCC firmware

This post is a duplicate of an issue I opened on AVR-2022. My issue post didn’t seem to be getting any traction over there, so I figured I’d repost it over here


I was messing around with building PCC firmware and I noticed an issue while trying to run the PCC/setup.py script.

atmelsam v6.0.1 was removed from the PlatformIO registry at some point, so in order to run setup.py or build.py you have to specify the version tag manually in the initialization file.

This is a super easy fix. All you have to do is replace this line of code in PCC/platformio.ini

platform = atmelsam@6.0.1

with this code:

platform = https://github.com/platformio/platform-atmelsam.git#v6.0.1

After making this change you can build PCC firmware with the right platform version


I’d like this fix to be implemented on AVR-2022 so that teams will have an easier time building custom PCC firmware, if they wish to do so. I can open a pull request if y’all want me to

1 Like