Ivan Kravets
8c8a94fc71
Run config option validation even in raw mode
2021-10-26 15:41:41 +03:00
Ivan Kravets
1174958e8b
Add project.helpers.get_project_all_lib_dirs API (used by platformio-node-helpers)
2021-10-26 14:36:18 +03:00
Ivan Kravets
6399de7a66
Removed deprecated project.helpers API
2021-10-26 14:35:28 +03:00
Ivan Kravets
c0f2275b61
Restore ProjectConfig.get_optional_dir API, "platformio-node-helpers" depends on it
2021-10-26 14:34:32 +03:00
Ivan Kravets
852c252302
Added support for custom device monitor filters // Resolve #3924
2021-10-25 15:18:18 +03:00
Ivan Kravets
7d7480c120
Show human-readable message when infinite recursion is detected while processing "Interpolation of Values" // Resolve #3883
2021-10-24 22:21:15 +03:00
Ivan Kravets
78182fea0a
Disabled resolving of SCons variables when preprocessing "Interpolation of Values" // Resolve #3933
2021-10-24 21:27:25 +03:00
Ivan Kravets
4839fe37a3
Improved PlatformIO directory interpolation (${platformio.***_dir}) in “platformio.ini” configuration file // Resolve #3934
2021-10-24 18:19:40 +03:00
Ivan Kravets
5b091b602f
Fixed a “TypeError” issue when extending configuration option in “platformio.ini” with the multi-line default value // Resolve #4082
2021-10-20 15:35:01 +03:00
Ivan Kravets
d819617d2b
Specify encoding for "open()" functions
2021-08-28 13:10:07 +03:00
Mikhail
7dc8463da9
Fix charmap error ( #3998 )
...
* Fix charmap error
Fix charmap error on cyrilic in platformio.ini file #3493
* Update config.py
Co-authored-by: Ivan Kravets <me@ikravets.com >
2021-07-07 18:25:55 +03:00
Ivan Kravets
fbcae11cd0
Fix project generator
2021-06-22 14:28:04 +03:00
Ivan Kravets
61d6cd3c18
Apply black formatter
2021-04-28 19:58:50 +03:00
Ivan Kravets
eb2cd001b6
Use private "_idedata" target when fetching data for debugging
2021-04-24 18:01:35 +03:00
Ivan Kravets
b35c5a22bb
Fix a broken support for custom configuration file for pio debug command // Resolve #3922
2021-04-11 22:21:01 +03:00
Ivan Kravets
34b4f8265a
Debug unit tests created with PlatformIO Unit Testing solution // Resolve #948
2021-03-19 20:25:30 +02:00
Ivan Kravets
eebdf04357
Load "idedata" configuration from a dumped file
2021-03-19 13:46:27 +02:00
Ivan Kravets
b0c3e22a52
Configure a custom pattern to determine when debugging server is started with a new debug_server_ready_pattern option
2021-03-19 12:30:16 +02:00
Ivan Kravets
a78db17784
Drop support for Python 2
2021-03-19 00:21:44 +02:00
Ivan Kravets
c0357daf01
Remove Python 2 code
2021-03-17 21:08:06 +02:00
Ivan Kravets
0a8b66ee95
Configure a custom debug adapter speed using a new debug_speed option // Resolve #3799
2021-01-26 21:21:41 +02:00
Ivan Kravets
5a1b0e19b2
Initialize a new project or update existing passing working environment name and its options // Resolve #3686
2020-10-29 22:59:48 +02:00
Ivan Kravets
5cc21511ad
Show owner name for packages
2020-09-02 16:07:16 +03:00
Ivan Kravets
80c1774a19
Docs: PlatformIO Core 5.0: new commands, migration guide, other improvements
2020-08-28 14:08:26 +03:00
Ivan Kravets
0eb8895959
Add support for “globstar/**” (recursive) pattern
2020-05-26 14:25:28 +03:00
Valerii Koval
c03f93521b
Refactor PIO Check feature ( #3478 )
...
* Add new option --skip-packages for check command
Check tools might fail if they're not able to preprocess source
files, for example, Cppcheck uses a custom preprocessor that is
not able to parse complex preprocessor code in zephyr framework).
Instead user can specify this option to skip headers included from
packages and only check project sources.
* Fix toolchain built-in include paths order
C++ and fixed directories should have higher priority
* Refactor check feature
The main purpose is to prepare a more comprehensive build environment.
It's crucial for cppcheck to be able to check complex frameworks like
zephyr, esp-idf, etc. Also detect a special case when cppcheck fails to check
the entire project (e.g. a syntax error due to custom preprocessor)
* Add new test for check feature
Tests ststm32 platform all tools and the main frameworks
* Update check tools to the latest available versions
* Test check tools and Zephyr framework only with Python 3
* Tidy up code
* Add history entry
2020-04-26 00:10:41 +03:00
Ivan Kravets
108b892e30
Control device monitor output with filters and text transformations
2020-03-12 14:28:54 +02:00
Ivan Kravets
59e1c88726
Fixed an issue when `"libArchive": false` in "library.json" does not work // Resolve #3403
2020-03-06 00:37:48 +02:00
Ivan Kravets
36a2228220
Fixed "TypeError: unsupported operand type(s)" when system environment variable is used by project configuration parser // Resolve #3377
2020-02-13 13:34:34 +02:00
Ivan Kravets
2763853d8d
Fixed an issue when no error is raised if referred parameter (interpolation) is missing in a project configuration file // Resolve #3279
2020-02-08 19:10:48 +02:00
Ivan Kravets
73ce3c94e9
Initial support for `Project Manager // Resolve #3335
2020-02-06 23:32:43 +02:00
Ivan Kravets
81960ce051
Fix test
2020-02-06 17:41:35 +02:00
Ivan Kravets
09b3df5520
Fixed a "UnicodeDecodeError" when listing built-in libraries on macOS with Python 2.7 // Resolve #3370
2020-02-05 22:25:06 +02:00
Ivan Kravets
880d5bb8b0
Fix project saving
2020-01-25 20:47:10 +02:00
Ivan Kravets
e5aa71e4e1
Fix config saving when PY2 is used
2020-01-25 15:47:45 +02:00
Ivan Kravets
ba441ca77c
Remove double blank lines when saving project config // Resolve #3293
2020-01-24 22:15:33 +02:00
Valerii Koval
46a9c1b6b2
Add initial support for PVS-Studio check tool ( #3357 )
...
* Add initial support for PVS-Studio check tool
* Enable all available PVS-Studio analyzers by default
* Add tests for PVS-Studio check tool
* Improve handling check tool extra flags that contain colon symbol
2020-01-23 12:57:54 +02:00
Valerii Koval
5bdec19f31
Add new debug_build_flags option ( #3355 )
...
This will allow users to override default debug flags for example in cases when
the final binary built in debug mode is too large to be loaded on target
2020-01-22 20:41:42 +02:00
Ivan Kravets
c57f68aee3
Change order between board/framework for configuration file
2019-12-17 15:22:02 +02:00
Ivan Kravets
49ceadc6ad
Move exceptions to their components
2019-11-28 16:15:54 +02:00
Ivan Kravets
47469e8759
Fix issue when None value is passed to config.set
2019-11-27 18:08:32 +02:00
Ivan Kravets
2fbe33bca0
Move "Board" Options to "Platform
2019-11-26 14:44:54 +02:00
Ivan Kravets
5b1c6daa2a
Fix a space in config header
2019-11-16 23:09:18 +02:00
Ivan Kravets
f1d20f591a
Sync docs
2019-11-12 13:41:54 +02:00
Ivan Kravets
703b29a05e
Fixed missed descriptions for project options
2019-11-11 23:19:47 +02:00
Ivan Kravets
95c1b0214c
Rename "check_pattern" to "check_patterns"
2019-11-07 15:24:47 +02:00
Ivan Kravets
bcf09964ab
Better formatting for multi-line values in config option
2019-11-06 00:03:08 +02:00
Ivan Kravets
83110326f4
Rename "check_pattern" option
2019-11-05 12:02:12 +02:00
Ivan Kravets
7345d3ea19
Improve dump of config data
2019-11-05 00:17:39 +02:00
Ivan Kravets
3289e84b21
Refactor PIO Check from "check_filters" to "check_patterns"
2019-11-04 18:22:28 +02:00