Commit Graph

555 Commits

Author SHA1 Message Date
Ivan Kravets 04ebdf428b Move "match_src_files" to FS module 2019-08-12 20:32:26 +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 affa54e5fc Fix an issue when lib_compat_mode = strict does not ignore libraries incompatible with a project framework 2019-07-04 16:46:54 +03:00
Ivan Kravets 4123aa4c23 Look in for "lib_deps" in all declared library storages // Resolve #2708 2019-06-28 13:27:05 +03:00
Ivan Kravets 17fa5f77d5 Fix LDF recursive behaviour 2019-06-23 21:23:19 +03:00
Ivan Kravets c0a9ae5c70 Better handling of library.properties "architectures" meta data 2019-06-23 21:21:34 +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 1339924c2e Print installation progress for "lib_deps" after LDF banner 2019-06-13 19:54:40 +03:00
Ivan Kravets 46eab99888 Typo fix 2019-06-13 18:31:03 +03:00
Ivan Kravets 461d71c2c7 Look firstly in built-in library storages for a missing dependency instead of PlatformIO Registry // Resolve #1654 2019-06-13 18:22:36 +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 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 f873bd41f8 Better printing of relative path for removed objects 2019-06-05 16:47:02 +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 c5177efd0b Minor fixes 2019-06-01 22:24:38 +03:00
Ivan Kravets 6257480d0d Print platform package details, such as version, VSC source and commit // Resolve #2155 2019-06-01 19:44:45 +03:00
Ivan Kravets 33d16bfcf0 Use named context meta vars for unit testing 2019-05-31 15:47:25 +03:00
Ivan Kravets 61db0f1d6a YAPF 0.27.0 2019-05-30 23:42:15 +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 3df01405a1 Remove unused Python imports 2019-05-27 22:25:22 +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 b38c57bcf9 Fix an issue when `-U in build_flags does not remove macro previously defined via -D` flag // Resolve #2508 2019-05-24 14:57:59 +03:00
Ivan Kravets 9a95b0df56 Fix handling custom includeDir and srcDir for library.json // Resolve #2518 2019-05-24 01:15:47 +03:00
Ivan Kravets 8643f0454e Move "glob_escape" and "get_file_contents" helpers to "compat" module 2019-05-17 13:18:15 +03:00
Ivan Kravets 899de600e4 Fix broken "util.string_types" 2019-05-16 21:11:21 +03:00
Ivan Kravets 971049b41c Move process related helpers to "proc" module 2019-05-16 21:03:15 +03:00
Ivan Kravets 834206ff20 Move Python or Platform dependent code to "compat" module 2019-05-10 17:26:10 +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 94e580bf4e Override default source and include directories for a library via "library.json" manifest using "includeDir" and "srcDir" fields 2019-05-04 13:36:27 +03:00
Ivan Kravets 137a5d1c42 Improve debugging in debug_load_mode = modified and fix an issue with useless project rebuilding 2019-04-23 00:49:53 +03:00
Ivan Kravets 21a36f8ee9 Fix UnicodeEncodeError when converting INO to CPP 2019-04-18 16:20:01 +03:00
Ivan Kravets cf13ec4035 Fix an "IndexError: list index out of range" for Arduino sketch preprocessor // Resolve #2268 2019-04-01 18:50:40 +03:00
Ivan Kravets c141189883 Append configuration settings from "mbed_lib.json" to "mbed_config.h" // Resolve #2164 2019-03-24 23:54:53 +02:00
Ivan Kravets cae708f2d7 Fix an issue with incorrect order of project "include" and "src" paths in `CPPPATH` // Resolve #1914 2019-03-23 17:44:01 +02:00
Ivan Kravets 3a77bed0d4 Fix an issue when PlatformIO Build System does not pick up "mbed_lib.json" files from libraries // Resolve #2164 2019-03-23 14:24:43 +02:00
Ivan Kravets d9e6111ac3 Fix error with conflicting declaration of a prototype (Arduino sketch preprocessor) 2019-03-20 18:49:20 +02:00
Ivan Kravets 3f52a6d5ba YAPF 0.26.0 2019-03-07 12:36:17 +02:00
Ivan Kravets aa2bc4a63b Implement "get_file_contents" helper 2018-12-27 14:48:22 +02:00
Ivan Kravets a60c57ac58 Initial support for Python 3.5+ // Resolve #895 Resolve #1365 2018-12-26 20:54:29 +02:00
Ivan Kravets fabaadec60 Fix an issue with incorrect detecting of compatibility (LDF) between generic library and Arduino or ARM mbed frameworks 2018-12-22 22:30:23 +02:00
Ivan Kravets b874359482 Ignore *.asm and *.ASM files when building Arduino-based library (compatibility with Arduino builder) 2018-12-12 02:49:42 +02:00
Ivan Kravets 4a17a9b5b3 Improved IntelliSense for PlatformIO IDE for VSCode via passing extra compiler information for C/C++ Code Parser 2018-11-21 15:00:13 +02:00
Ivan Kravets a2b0b2893b LDF: Stop handling "define" and "undef" when condition fails; handle CPP files in "chain+" and "deep+" modes // Resolve #1930 2018-11-21 00:52:34 +02:00
Ivan Kravets 23af9c9027 Fix an issue when Library Dependency Finder (LDF) finds spurious dependencies in `chain+ and deep+` modes // Resolve #1930 2018-11-19 22:29:53 +02:00
Ivan Kravets 7322df26ad Fix an issue when Library Dependency Finder (LDF) does not handle project src_filter // Resolve #1905 2018-11-19 19:06:56 +02:00