Commit Graph

941 Commits

Author SHA1 Message Date
Ivan Kravets 601989c5ff Escape "\" char in GDB console output 2019-10-24 16:56:28 +03:00
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 6218b773fd Better support for file contents writing // Issue #2796 2019-10-17 18:48:59 +03:00
valeros 31d4a5c72e Add collective stats info about project components to check report 2019-10-17 13:42:00 +03:00
Ivan Kravets 27fc19d6b3 Switch to Marshmallow ODM framework 2019-10-17 00:17:16 +03:00
Ivan Kravets af1a0f3587 Allow to build a manifest parser from directory 2019-10-01 00:11:31 +03:00
Ivan Kravets 703912fdc9 Strict manifest validation when submitting to Registry, more tests for manifest model 2019-09-30 23:45:03 +03:00
Ivan Kravets 744881da59 Refactor DataModel with a strict type declaration 2019-09-30 19:44:03 +03:00
Ivan Kravets 5f55c18373 Introduce DataModel, package manifest parser and base manifest model 2019-09-30 17:59:06 +03:00
Ivan Kravets cd2a4ea535 Update copyrights 2019-09-27 17:21: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 392fe1cbd0 Move Run to the root 2019-09-24 00:12:21 +03:00
Ivan Kravets aa955819b0 Move PIO Check to the root 2019-09-23 23:44:42 +03:00
Ivan Kravets b1f190a7f8 Move PIO Unit Testing to the root 2019-09-23 23:44:28 +03:00
Ivan Kravets 5453df94e4 Move PIO Unified Debugger to the root 2019-09-23 23:27:55 +03:00
Ivan Kravets 7b314b58a4 Move PIO Home to the root of source code 2019-09-23 23:23:11 +03:00
Ivan Kravets 7c41c7c2f3 Introduce Black to automate code formatting 2019-09-23 23:13:48 +03:00
Ivan Kravets 5e144a2c98 Add PIO Check to changelog 2019-09-23 21:57:31 +03:00
Thomas Bleijendaal 123963f760 UTF8 decoding should ignore invalid characters (#3026)
Some boards, like ESP32 based boards, give some unintelligible data when connecting to them via Serial. This is sometimes data that is send with the wrong baud rate (hard baked into the boot loader), or something else. It's hard to prevent this from happening. When a build is uploaded to the ESP board for unit testing, the decoding of the incoming stream should not fail the test due to some garbled content. Since the read data is validated on line 95, any garbage is automatically ignored and only outputted to the console.
2019-09-16 21:02:07 +03:00
Ivan Kravets 96567dea4d PyLint fix 2019-09-08 23:44:18 +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 2c242944c7 Fixed default PIO Unified Debugger configuration for J-Link probe 2019-09-02 16:48:33 +03:00
Ivan Kravets 55a44aecc3 Remove debug code 2019-08-27 20:26:44 +03:00
Ivan Kravets 81fc1c9010 Fixed an issue with PIO Unified Debugger on Windows when debug server is piped 2019-08-27 20:23:03 +03:00
Ivan Kravets cba2f4d7b6 Remove ProjectConfig cache when "platformio.ini" was modified outside 2019-08-25 18:37:14 +03:00
Ivan Kravets 0e56a155f8 Fixed an issue when printing settings and file path contains non-ASCII chars // Resolve #2934 2019-08-22 14:21:54 +03:00
Ivan Kravets c6de3ebea0 Refactor "humanize_duration_time" to "00:00:00.000" format 2019-08-20 16:49:18 +03:00
Ivan Kravets 1dc15326c9 Export ProjectConfig instance to templates generator // Issue #2824 2019-08-18 11:06:52 +03:00
Ivan Kravets 5ea3f2bbc6 Use board ID when InternetIsOffline for getting resent projects // Resolve #2866 2019-08-17 23:58:05 +03:00
Ivan Kravets 08103cfc59 Improve settings printing 2019-08-17 23:57:12 +03:00
Simon Arlott 0587f5b964 Add __attribute__((unused)) to generated test code (#2906)
Without this, the compiler will generate unused parameter warnings in
the native version:

test/output_export.cpp: In function ‘void output_start(unsigned int)’:
test/output_export.cpp:6:32: error: unused parameter ‘baudrate’ [-Werror=unused-parameter]
 void output_start(unsigned int baudrate)
                                ^~~~~~~~
cc1plus: all warnings being treated as errors
2019-08-17 21:07:37 +03:00
Ivan Kravets 0677bcecb9 Improve printing of tabulated results 2019-08-17 20:55:16 +03:00
Ivan Kravets 9023358d9e YAPF=0.28.0 2019-08-17 17:54:31 +03:00
Ivan Kravets 3edf7e6ca8 Fixed an issue with PIO Home's "No JSON object could be decoded" // Resolve #2823 2019-08-15 21:44:07 +03:00
Ivan Kravets 6a90388649 Move FS related helpers to fs.py module 2019-08-12 19:44:37 +03:00
Ivan Kravets 5505c6c0e3 Switch Energia's projects to Arduino framework 2019-07-21 22:31:39 +03:00
Ivan Kravets 6d7854d113 Session based IDE integration with PIO Home 2019-07-19 12:59:50 +03:00
Ivan Kravets aebe891895 Skip modified homeState 2019-07-18 14:17:30 +03:00
Ivan Kravets 6ea49910d5 Fixed an issue when "debug", "home", "run", and "test" commands were not shown in "platformio --help" CLI 2019-07-18 00:19:30 +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 71c4201487 Do not save unnecessary data for PIO Home 2019-07-16 14:15:48 +03:00
Ivan Kravets 425c1fb0a8 Do not shutdown PIO Home Server for "upgrade" operations // Resolve #2784 2019-07-15 18:19:40 +03:00
Ivan Kravets 6f2779fe5d Remove unnecessary code 2019-07-15 14:46:23 +03:00
Ivan Kravets b51f2ae722 Fixed an issue with incorrect escaping of Windows slashes for PIO Unified Debugger 2019-07-15 14:20:14 +03:00
Ivan Kravets 5e73348263 Print debug tool name in debugging session 2019-07-11 14:09:15 +03:00
Ivan Kravets f81b1089c1 Control a number of parallel build jobs with a new -j, --jobs option 2019-07-10 13:00:51 +03:00
Ivan Kravets d003dffc5a Fixed an issue with broken internal call for PIO Account // Resolve #2748 2019-07-10 00:20:23 +03:00