Commit Graph

154 Commits

Author SHA1 Message Date
Ivan Kravets 9c7cc87c5f Move command related modules to "commands" package 2019-10-23 16:05:27 +03:00
Ivan Kravets 065607b68c Disable PyLint's "import-outside-toplevel" 2019-10-18 15:41:52 +03:00
Ivan Kravets be9aaf8902 Be compatible with Python 3.8, on Windows skip HOME and check for USERPROFILE 2019-10-17 20:57:40 +03:00
Ivan Kravets 55d905a0d0 Add a new RPC method "project.config_call" for Home API 2019-10-12 20:00:12 +03:00
Ivan Kravets 4366719ed2 Restore missed project helpers needed by "platformio-node-helpers" 2019-10-10 14:50:34 +03:00
Ivan Kravets d2abac9b18 Fixed an issue when configuration file options partly ignored when `--project-conf` // Resolve #3034 (#3055)
* Fixed an issue when configuration file options partly ignored when using custom ``--project-conf`` // Resolve #3034

* Py2 compatible makedirs

* Fix circle dependency

* Fix broken import in test examples

* Fix history

* Remove YAPF markers

* PyLint fix

* Fix invalid project conf path

* Move PIO Core to the root on Windows, issue with long CPPPATHs

* Respect global PLATFORMIO_BUILD_CACHE_DIR env var

* Fix Appveyor paths

* Minor changes
2019-09-27 14:13:53 +03:00
Ivan Kravets 7c41c7c2f3 Introduce Black to automate code formatting 2019-09-23 23:13:48 +03:00
Ivan Kravets c720933d34 Refactor PIO Check 2019-09-08 23:33:25 +03:00
Ivan Kravets f61d03ec8f PIO Check (#2982) 2019-09-08 18:04:41 +03:00
Ivan Kravets fe237f15aa Implement "extends" for project configuration // Resolve #2953 2019-08-31 23:39:41 +03:00
Ivan Kravets f966eeb604 Fixed an issue with project generator for CLion IDE when 2 environments were used // Resolve #2824 2019-08-30 16:40:44 +03:00
Ivan Kravets 4a6d5e8395 Added support for multi-environment PlatformIO project for CLion IDE // Resolve #2824 Resolve #2944 2019-08-29 16:26:51 +03:00
Ivan Kravets 83bf34fb77 Extend "load_project_ide_data" API to return IDE data for more than one environment 2019-08-29 16:01:36 +03:00
Ivan Kravets 9fa424ea9b Remove ProjectConfig from cache on saving 2019-08-28 22:43:34 +03:00
Ivan Kravets cba2f4d7b6 Remove ProjectConfig cache when "platformio.ini" was modified outside 2019-08-25 18:37:14 +03:00
Ivan Kravets e0ec4ff435 Encode PIO Core version before hashing // Resolve #2916 2019-08-17 21:06:15 +03:00
Ivan Kravets 8059e04499 Improved computing of project check sum (structure, configuration) and avoid unnecessary rebuilding 2019-07-16 15:47:33 +03:00
Ivan Kravets 69de40c409 Fix an issue when empty multiple values for project option were not casted to list // Resolve #2734 2019-07-02 12:21:06 +03:00
Ivan Kravets fbdfe31f17 Shared cache directory for the build derived files // Resolve #2674 2019-06-15 18:53:13 +03:00
Ivan Kravets 68a3b3f9e7 Custom platform_packages per a build environment with an option to override default // Resolve #1367 2019-06-07 17:22:02 +03:00
Ivan Kravets 5c8c10e7d3 Do not check that lib_extra_dirs exist // Resolve #2624 2019-06-04 13:55:11 +03:00
Ivan Kravets d09964a897 Use common IDE data loading for IDE and DEBUG 2019-06-03 19:20:10 +03:00
Ivan Kravets e269c91d26 Improve compatibility with hashlib Py2/Py3 2019-06-03 13:30:35 +03:00
Ivan Kravets d0b3c5ee86 Switch between Build Configurations (release and debug) with a new project configuration option build_type // Resolve #2184 2019-06-02 14:11:31 +03:00
Ivan Kravets 23a2022f04 Add support for PLATFORMIO_DEFAULT_ENVS system environment variable // Resolve #1967 2019-06-01 22:43:44 +03:00
Ivan Kravets 4af615a49c Maintain renamed options when reading configuration file 2019-06-01 16:58:14 +03:00
Ivan Kravets 6186b425d4 Typo fix 2019-06-01 15:38:55 +03:00
Ivan Kravets c038074489 Override default development platform upload command with a custom // Resolve #2599 2019-06-01 14:36:07 +03:00
Ivan Kravets d25f1ddc21 Add project folder prefix to $PROJECT_HASH 2019-05-31 21:47:50 +03:00
Ivan Kravets 5011e47709 Added support for "shared_dir" 2019-05-31 21:18:37 +03:00
Ivan Kravets bae21f1cdd Allow to pass multiple load commands to PIO Unified Debugger 2019-05-31 14:45:48 +03:00
Ivan Kravets 5f9fd9260e New project configuration parser with a strict options typing 2019-05-31 14:45:01 +03:00
Ivan Kravets 61db0f1d6a YAPF 0.27.0 2019-05-30 23:42:15 +03:00
Ivan Kravets 0570fc6c48 Don't override custom "core_dir" on Windows platform 2019-05-30 21:56:55 +03:00
Ivan Kravets 1dbaed5beb Implement "silent" mode for config.validate() 2019-05-30 21:26:51 +03:00
Ivan Kravets 346579b93c Improve type converting for config options 2019-05-30 17:34:44 +03:00
Ivan Kravets 0ce2343836 Do not pass project settings as SCons arguments // Resolve #1637 2019-05-30 17:08:00 +03:00
Ivan Kravets 3cc4af1723 Refactor project config options 2019-05-30 16:38:04 +03:00
Ivan Kravets a84195bb5a Add user-definable monitor options to platformio.ini // Resolve #2165 2019-05-25 21:49:51 +03:00
Ivan Kravets 19725fec04 Add options to override default locations used by PlatformIO Core // Resolve #1615 2019-05-24 20:49:05 +03:00
Ivan Kravets 70a5d32925 Add "--save" flag to "platformio lib install" command // Resolve #1028 2019-05-23 19:39:04 +03:00
Ivan Kravets 21e2ac6695 Use isolated library dependency storage per project build environment // Resolve #1696 2019-05-23 00:23:24 +03:00
Ivan Kravets f29a74042f Drop support for "lib_extra_dirs" in "platformio" section 2019-05-20 21:12:45 +03:00
Ivan Kravets c46643f0fd Custom project "***_dir" options declared in “platformio” section of “platformio.ini” have higher priority than Environment variables 2019-05-20 17:07:59 +03:00
Ivan Kravets 5fe4de626b Implement unified project workspace storage ".pio" // Resolve #1778 2019-05-20 17:01:54 +03:00
Ivan Kravets 834206ff20 Move Python or Platform dependent code to "compat" module 2019-05-10 17:26:10 +03:00
Ivan Kravets b710bbd80e Allow to skip ProjectConfig option validation with new "validate_options" argument 2019-05-10 15:47:45 +03:00
Ivan Kravets 71f606912a Implement ProjectConfig.getlist() 2019-05-09 14:14:19 +03:00
Ivan Kravets 4f98a3fd42 Share common (global) options between declared build environments using "[env]" section // Resolve #1643 Resolve #790 2019-05-08 20:19:39 +03:00
Ivan Kravets 07a2a49d93 Refactor project helpers 2019-05-07 22:13:21 +03:00