When I run the command
pio board
I get this error
MacBook-Pro:Actuator_Test j***$ pio boards
AssertionError: Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/__main__.py", line 103, in main
cli() # pylint: disable=no-value-for-parameter
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/cli.py", line 85, in invoke
return super().invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/boards.py", line 34, in cli
for board in _get_boards(installed):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/commands/boards.py", line 75, in _get_boards
return pm.get_installed_boards() if installed else pm.get_all_boards()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/manager/platform.py", line 124, in get_all_boards
boards = self.get_installed_boards()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/util.py", line 56, in wrapper
self.cache[key] = (time.time(), func(*args, **kwargs))
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/platformio/package/manager/platform.py", line 112, in get_installed_boards
for config in p.get_boards().values():
File "/Users/***.platformio/platforms/atmelsam/platform.py", line 105, in get_boards
result[key] = self._add_default_debug_tools(result[key])
File "/Users/***.platformio/platforms/atmelsam/platform.py", line 154, in _add_default_debug_tools
assert openocd_chipname
AssertionError
============================================================
An unexpected error occurred. Further steps:
* Verify that you have the latest version of PlatformIO using
`python -m pip install -U platformio` command
* Try to find answer in FAQ Troubleshooting section
https://docs.platformio.org/page/faq/index.html
* Report this problem to the developers
https://github.com/platformio/platformio-core/issues
============================================================
the error only happens when the folder “boards” is present in the project’s root