Commit Graph

2508 Commits

Author SHA1 Message Date
Ivan Kravets 9954900a0e Return back LINKFLAGS for debug mode 2019-10-03 18:16:55 +03:00
Ivan Kravets a7855ae664 ManifestParser: init from dir using name of file in remote url if provided 2019-10-03 16:14:51 +03:00
Ivan Kravets 76865a1730 ManifetPatrser fixes (#3080)
* Skip broken examples declaration

* Allow dots in keywords

* Allow "+" in keywords
2019-10-03 14:55:04 +03:00
Ivan Kravets 8febdc19ea ManifestParser: normalize example names 2019-10-03 12:47:41 +03:00
Ivan Kravets 85a814c21a Allow dot in manifest example name 2019-10-03 10:33:11 +03:00
Ivan Kravets ab5650f84b Use max line length hooks for all systems 2019-10-02 23:46:42 +03:00
Ivan Kravets e6ea4cb613 PackageManifest: Ignore hidden files for examples 2019-10-02 20:42:01 +03:00
Ivan Kravets bbd694c5ea ManifestParse: automatically generate examples from package dir 2019-10-02 17:54:59 +03:00
Ivan Kravets 7ba2a7cd3d Bump version to 4.1.0b2 2019-10-02 13:33:12 +03:00
Ivan Kravets a1ed99962c Better handling of non-dict values passed to DataModel 2019-10-02 12:34:50 +03:00
Ivan Kravets c2970631a5 Add "--force" for git update // Issue #3060 2019-10-02 12:34:20 +03:00
Ivan Kravets d38c843574 Fixed an issue when installing a package using custom Git tag and submodules were not updated correctly // Resolve #3060 2019-10-02 11:52:14 +03:00
Ivan Kravets a2213a1aa4 Change "examples" field in package manifest to ListOf(ExampleModel) 2019-10-02 11:04:29 +03:00
Ivan Kravets dee2d2c538 Add manifest parsers for platform.json and package.json 2019-10-01 22:03:23 +03:00
Ivan Kravets 5b77adccb1 DataModels: fix issue when traversing using model fields 2019-10-01 18:10:48 +03:00
Ivan Kravets a82c4666d4 DataModel: add support for DictOfType, extend base manifest with ExampelsModel 2019-10-01 17:37:11 +03:00
Ivan Kravets df6a8da290 DataModel: add support for silent validation and "get_exceptions" API 2019-10-01 16:13:25 +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 2137eb1794 Do not append debug flags to linker stage 2019-09-30 13:27:34 +03:00
Ivan Kravets 3dcf1784fb Update PIO Remote to 2.5.5 2019-09-27 19:36:49 +03:00
Ivan Kravets 9a3dcd3daa PY2 fix with absolute import 2019-09-27 18:53:58 +03:00
Ivan Kravets 1b74f380a6 Refactor appending of debugging flags 2019-09-27 17:22:21 +03:00
Ivan Kravets cd2a4ea535 Update copyrights 2019-09-27 17:21:35 +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 3d5c1411c0 Fix PyLint for PY2 2019-09-24 00:28:23 +03:00
Ivan Kravets ca29b4e370 Fixed "DeprecationWarning: the imp module is deprecated in favour of importlib" PY2/PY3 2019-09-24 00:17:08 +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
Ivan Kravets 61b6eea52c New "--no-ansi" flag for PIO Core 2019-09-23 20:51:02 +03:00
Ivan Kravets 6531dcbc78 Allow to skip checking of unpacked data 2019-09-16 21:38:47 +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 1e26feb566 Bump version to 4.1.0b1 2019-09-09 23:34:44 +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 b7bc4401eb Use isolated SCons DB per build environment 2019-09-08 14:01:41 +03:00
Ivan Kravets 7a07a2e63e Generate `.ccls` LSP file for Emacs 2019-09-03 15:31:33 +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 af049eecc9 Bump version to 4.1.0a1 2019-08-31 23:40:28 +03:00
Ivan Kravets fe237f15aa Implement "extends" for project configuration // Resolve #2953 2019-08-31 23:39:41 +03:00
Ivan Kravets e7da3d7f5f Bump version to 4.0.4a1 2019-08-30 16:41:17 +03:00