Commit Graph

179 Commits

Author SHA1 Message Date
Ivan Kravets
e57871cab7 Print a building mode 2019-11-03 22:22:40 +02:00
Ivan Kravets
a7f8838d9a Format code 2019-10-31 18:52:13 +02:00
Ivan Kravets
234585dc97 Fixed an issue with project generator when `src_build_flags` were not respected // Resolve #3137 2019-10-24 16:39:11 +03:00
Ivan Kravets
9da19fbf54 Use isolated SCons sign DB per Python interpreter 2019-10-16 12:09:53 +03:00
Ivan Kravets
ab5650f84b Use max line length hooks for all systems 2019-10-02 23:46:42 +03:00
Ivan Kravets
1b74f380a6 Refactor appending of debugging flags 2019-09-27 17:22:21 +03:00
Ivan Kravets
536a9566da Feature/pio size data (#3056)
* Add initial support for detailed memory usage report

* Tidy up sizedata target

* Add toolchain to environment paths

* Make sizedata target a bit more readable
2019-09-27 14:18:35 +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
b7bc4401eb Use isolated SCons DB per build environment 2019-09-08 14:01:41 +03:00
Ivan Kravets
ed39a755bc Update to semantic_version 2.8.0 2019-08-29 13:49:52 +03:00
Ivan Kravets
883a97a38c Fixed an issue when --upload-port CLI flag does not override declared upload_port option in "platformio.ini" 2019-08-28 19:56:09 +03:00
Ivan Kravets
9023358d9e YAPF=0.28.0 2019-08-17 17:54:31 +03:00
Ivan Kravets
6a90388649 Move FS related helpers to fs.py module 2019-08-12 19:44:37 +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
1ccc526960 Revert "Revert back "Look firstly in built-in library storages""
This reverts commit 4ae302762a.
2019-06-13 13:08:53 +03:00
Ivan Kravets
4ae302762a Revert back "Look firstly in built-in library storages" 2019-06-13 00:42:10 +03:00
Ivan Kravets
d5c98e4f27 Look firstly in built-in library storages for a missing dependency instead of PlatformIO Registry // Resolve #1654 2019-06-12 22:02:59 +03:00
Ivan Kravets
4416c12747 Fix numerous issues related to "UnicodeDecodeError" and international locales, or when project path contains non-ASCII chars // Resolve #2100 2019-06-03 17:44:41 +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
4af615a49c Maintain renamed options when reading configuration file 2019-06-01 16:58:14 +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
33d16bfcf0 Use named context meta vars for unit testing 2019-05-31 15:47:25 +03:00
Ivan Kravets
1598c8197e Fix "clean" target 2019-05-30 23:33:57 +03:00
Ivan Kravets
1dbaed5beb Implement "silent" mode for config.validate() 2019-05-30 21:26:51 +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
19725fec04 Add options to override default locations used by PlatformIO Core // Resolve #1615 2019-05-24 20:49:05 +03:00
Ivan Kravets
a6e5a0c7f5 Fix an issue for Project Generator when include path search order is inconsistent to what passed to the compiler // Resolve #2509 2019-05-24 16:06:27 +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
e7d75d1412 Remove debug code 2019-05-21 21:47:20 +03:00
Ivan Kravets
f29a74042f Drop support for "lib_extra_dirs" in "platformio" section 2019-05-20 21:12:45 +03:00
Ivan Kravets
5fe4de626b Implement unified project workspace storage ".pio" // Resolve #1778 2019-05-20 17:01:54 +03:00
Ivan Kravets
971049b41c Move process related helpers to "proc" module 2019-05-16 21:03:15 +03:00
Ivan Kravets
5e1a931145 Switch Python or Platform dependent code to "compat" module 2019-05-10 17:50:08 +03:00
Ivan Kravets
07a2a49d93 Refactor project helpers 2019-05-07 22:13:21 +03:00
Ivan Kravets
7ddd22209f Enable PyLint "import-error" 2019-05-07 21:16:42 +03:00
Ivan Kravets
a60c57ac58 Initial support for Python 3.5+ // Resolve #895 Resolve #1365 2018-12-26 20:54:29 +02:00
Ivan Kravets
080369f597 Make "print" compatible between Py2 & Py3 2018-10-27 20:22:11 +03:00
Ivan Kravets
f54d32843a Add "debug" target, update docs for "uploads" option // Resolve #1833 2018-09-06 02:25:28 +03:00
Ivan Kravets
d448a0ec5c Switch docs to HTTPS 2018-08-15 19:44:02 +03:00
Ivan Kravets
bf23d85005 Merge branch 'hotfix/v3.5.5' into develop
* hotfix/v3.5.5:
  Add "test_build_project_src" option for PIO Unit Testing
2018-07-20 02:05:01 +03:00
Ivan Kravets
903b41b336 Add "test_build_project_src" option for PIO Unit Testing 2018-07-20 02:04:40 +03:00
Ivan Kravets
bfc94d36e3 Introduce "Program Memory Usage" 2018-06-04 14:09:48 +03:00
Ivan Kravets
9ba5dc0a60 Override any option from board manifest in Project Configuration File "platformio.ini" // Resolve #1612 2018-05-26 01:02:52 +03:00
Ivan Kravets
19003ea51b Simplify configuration for PIO Unit Testing 2018-05-14 22:13:42 -07:00
Ivan Kravets
366efacd81 Prepend upload flags instead of "append" 2018-05-05 21:15:50 +03:00
Ivan Kravets
73b1d9ccd5 Configure a custom path to SVD file using "debug_svd_path" option 2018-05-01 21:09:32 +03:00
Ivan Kravets
979a6a80f0 Fix issue which did not allow to override runtime build environment using extra POST script 2018-03-20 19:24:05 +02:00
Ivan Kravets
105cd0fa71 Use custom object suffix only for Arduino/Energia frameworks 2018-03-07 23:35:03 +02:00