Nevertheless, once the project is checked, let's take a quick look at a couple of errors to make sure the project's check was successful. This time, the purpose of this article is to demonstrate the PVS-Studio integration with PlatformIO, not the analyzer's diagnostic abilities. pio check The result of checking the hexapod program Before the first check, the environment itself will download the current analyzer distribution. More detailed instructions are available in the documentation on the official website: įinally, you can run a project check with a command in the terminal. They can be configured in the check_flags parameter. The check_tool parameter indicates which code analyzers to apply. exclude-path=/.pio/libdeps Ignore dependency libraries To configure analyzers, you need to edit the platformio.ini configuration file like this: The needed dependency is installed by the following command in the terminal: pio lib install "Adafruit PWM Servo Driver Library" Configuring analyzers and starting a check Suitable options are available by the link. * CLI> platformio lib search "header:Adafruit_PWMServoDriver.h" * Looking for Adafruit_PWMServoDriver.h dependency? Check our library registry! Src/AP_Utils.h:10:37: fatal error: Adafruit_PWMServoDriver.h: In file included from src\servo_test.cpp:20:0: However, PlatformIO will help you find them in its repository. During the build process, some errors might occur indicating the lack of required third-party libraries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |