pioarduino v6.1.19
* remove telemetry * no full git clone * add intelhex as required * no core packages * add `rich_click` as pip dependencies * remove advertisings * add intelhex as required * install scons and Pio home from github * replace "get_core_package_dir" for piohome and pioremote
This commit is contained in:
@@ -19,6 +19,7 @@ import click
|
||||
from platformio import proc
|
||||
from platformio.check.defect import DefectItem
|
||||
from platformio.check.tools.base import CheckToolBase
|
||||
from platformio.project.config import ProjectConfig
|
||||
|
||||
|
||||
class CppcheckCheckTool(CheckToolBase):
|
||||
@@ -103,7 +104,11 @@ class CppcheckCheckTool(CheckToolBase):
|
||||
return DefectItem(**args)
|
||||
|
||||
def configure_command(self, language, src_file): # pylint: disable=arguments-differ
|
||||
tool_path = os.path.join(self.get_tool_dir("tool-cppcheck"), "cppcheck")
|
||||
tool_path = os.path.join(
|
||||
ProjectConfig.get_instance().get("platformio","packages_dir"),
|
||||
"tool-cppcheck",
|
||||
"cppcheck"
|
||||
)
|
||||
|
||||
cmd = [
|
||||
tool_path,
|
||||
|
||||
Reference in New Issue
Block a user