- Click "PlatformIO Core CLI" from VSCode PlatformIO Panel -> Quick Access -> Miscellaneous.
- Enter below install commands:
pio pkg install -g -p https://github.com/ArteryTek/platform-arterytekat32
- Copy the 60-openocd.rules file under tool-openocd-at32 package to /etc/udev/rules.d/ directory.
sudo cp ~/.platformio/packages/tool-openocd-at32/contrib/60-openocd.rules /etc/udev/rules.d/
- Refresh the udev rules.
sudo udevadm control --reload-rules && sudo udevadm trigger