Commit Graph

217 Commits

Author SHA1 Message Date
Ivan Kravets 023b58e9f0 Fix PyLint warnings 2024-09-23 16:02:07 +03:00
Ivan Kravets 7606dd4faf Minor improvements // Issue #4710 2024-02-16 17:06:50 +02:00
Ivan Kravets aa06d21abe Resolved an issue with the hexlify filter in the device monitor command // Resolve #4732 2024-02-15 22:28:09 +02:00
Ivan Kravets 353f440335 Addressed an issue where passing a relative path to the pio project init // Resolve #4847 2024-02-07 13:36:21 +02:00
Song Yadong 255e91b51c fix a typo (#4845) 2024-01-29 08:54:18 +02:00
Ivan Kravets adf94843ea Apply formatting 2024-01-27 14:01:42 +02:00
Ivan Kravets f31f9fa616 Expanded support for SCons variables declared in the legacy format `${SCONS_VARNAME}` // Resolve #4828 2024-01-11 21:33:01 +02:00
Ivan Kravets adab425c6d Expanded support for SCons variables declared in the legacy format `${SCONS_VARNAME}` // Resolve #4828 2024-01-11 19:23:26 +02:00
Ivan Kravets b181406a1f Resolve an issue where custom debug configurations were being inadvertently overwritten in VSCode's `launch.json` // Resolve #4810 2023-12-31 14:54:57 +02:00
Ivan Kravets 51bf17515e Revert back normalizing platformio.*_dir option 2023-12-09 13:18:03 +02:00
Ivan Kravets 204a60dd52 Parse only $PROJECT_HASH legacy built-in variable 2023-12-09 13:06:20 +02:00
Ivan Kravets f382aae66b Do not normalize platformio.***_dir path when validating 2023-12-09 13:05:30 +02:00
Ivan Kravets 127b422d25 Rectified an issue where ${platformio.name} erroneously represented None as the default project name // Resolve #4717 2023-12-08 19:38:50 +02:00
Ivan Kravets 8c61f0f6b6 Enhanced the handling of built-in variables during interpolation // Resolve #4695 2023-12-08 19:12:00 +02:00
valeros 2ee8214485 Use CC location for resolving toolchain path in VSCode template
VSCode uses the "packagetoolchainBinDir" option to find the objdump
binary and if GDB is shipped separately from the toolchain package then
VSCode will fail to launch a debug session due to missing objdump
2023-08-14 15:57:00 +03:00
Ivan Kravets 6e75dc0d57 Remove unnecessary files 2023-08-11 12:46:19 +03:00
Ivan Kravets db8f027f30 Refactor platform-related calls to PlatformFactory.from_env 2023-07-12 18:28:20 +03:00
Ivan Kravets 01423a7659 Revert back ProjectConfigDirsMixin (PIO Core 3.x depends on it) 2023-07-04 15:36:19 +03:00
Ivan Kravets e022b67161 Import PlatformioException (espressif32 dev-platform monitor depends on it) 2023-06-21 16:31:05 +03:00
Dawid Nowak 31218060db ProjectOptionValueError: displays the config option description (#4674)
ProjectOptionValueError: display the config option description

It gives a bit more context of the problem for the user.

Example message with the description included:

`Error: Invalid value: 'invalid_debug_mode' is not one of 'always', 'modified', 'manual'. for option `debug_load_mode` (Allows one to control when PlatformIO should load debugging firmware to the end target) in section [env:nodemcu]`

Co-authored-by: Ivan Kravets <me@ikravets.com>
2023-06-21 13:49:22 +03:00
Ivan Kravets e25b170b34 Show error name when raising UserSideException 2023-06-21 13:47:45 +03:00
Ivan Kravets 326ebcf593 Support -std=gnu++2a and similar standards // Issue #3653 2023-06-21 12:45:28 +03:00
Dawid Nowak 8b604c1a03 fix typo in a method name (#4672) 2023-06-20 21:03:57 +03:00
Ivan Kravets f219f35ac8 Updated the "pio project metadata" command to return C/C++ flags as parsed Unix shell arguments 2023-06-20 20:55:00 +03:00
Ivan Kravets 4d89593b05 Removed PlatformIO IDE for Atom from the documentation as Atom has been deprecated 2023-06-20 17:53:37 +03:00
Ivan Kravets 3881a8c677 Removed PlatformIO IDE for Atom from the documentation as Atom has been deprecated 2023-06-20 14:47:20 +03:00
Ivan Kravets e9cf551101 Added a new --lint option to the pio project config command // Resolve #4644 2023-06-20 14:25:30 +03:00
Ivan Kravets 292dc3fd71 Update user-related exceptions to UserSideException 2023-06-19 11:40:40 +03:00
Ivan Kravets 355f5afab9 * Optimized project integration templates to address the issue of long paths on Windows // Resolve #4652 2023-06-08 15:03:42 +03:00
Ivan Kravets 4ae24a619f Implement anonymous session mechanism to respect user privacy 2023-06-06 14:14:38 +03:00
Ivan Kravets 63ca19541f Enhance the parsing of the platformio.ini to provide comprehensive diagnostic information 2023-05-31 20:15:36 +03:00
Ivan Kravets eb20f3410a Minor fixes 2023-05-04 23:13:10 +03:00
Ivan Kravets f840577066 Remove unnecessary logging 2023-05-03 22:26:12 +03:00
Ivan Kravets d728e0e873 Introduced a new --sample-code option to the pio project init command 2023-05-03 11:21:49 +03:00
Ivan Kravets 981266646c Force drive letter to lower case when calculating project checksum on Windows // Resolve #4600 2023-04-24 18:24:35 +03:00
Ivan Kravets 82d380d895 Improve docs for "build_flags" 2023-04-21 11:40:54 +03:00
Ivan Kravets 9344f3cd81 Revert "Improved support for projects located on Windows network drives // Issue #3417"
This reverts commit a0c959be28.
2023-04-21 11:25:48 +03:00
Ivan Kravets a0c959be28 Improved support for projects located on Windows network drives // Issue #3417 2023-04-20 19:34:15 +03:00
Ivan Kravets 743fc8e636 Improved support for projects located on Windows network drives // Resolve #3417 2023-04-20 18:57:22 +03:00
Ivan Kravets 97a7cdd2a2 Check simultaneous use of monitor_raw and monitor_filters 2023-04-18 21:35:22 +03:00
Ivan Kravets 66fe55668e Resolved an issue where the incorrect debugging environment was generated for VSCode in "Auto" mode // Resolve #4597 2023-04-12 22:21:51 +03:00
Ivan Kravets 269d5e0a3e Added validation for project working environment names 2023-03-20 15:00:22 -06:00
Ivan Kravets a24cf50413 Minor fixes 2023-03-18 23:13:24 -06:00
Valerii Koval d9ff250f82 Improved file filtering for the Static Analysis feature (#4570)
* Improved file filtering for the Static Analysis feature

* Better handling of legacy "check_patterns" option

* Rename "check_src_filter" to plural form to better represent functionality

* Move to plural forms of filter variables
2023-03-19 00:45:59 +02:00
Ivan Kravets 1af508272b Format code with Black 23.1.0 2023-02-02 17:46:03 +02:00
Ivan Kravets 2fbd766fd9 Remove debug code 2023-01-14 19:43:31 +02:00
Ivan Kravets fb5e99473f Fixed an issue when extends does not override options in the right order // Resolve #4462 2023-01-14 19:40:53 +02:00
Ivan Kravets 42f1197de8 Added a new "name" configuration option to customize a project name // Resolve #4498 2023-01-14 17:17:26 +02:00
Ivan Kravets 17360b0ed2 Show the real error message instead of "Can not remove temporary directory" when "platform.ini" is broken // Resolve #4480 2023-01-13 19:56:08 +02:00
Ivan Kravets bf7fb15941 Made assets (templates, "99-platformio-udev.rules") part of Python’s module // Resolve #4458 2022-11-18 19:51:19 +02:00