Commit Graph

1086 Commits

Author SHA1 Message Date
Ivan Kravets 029e66cd06 PyLint fixes 2022-07-02 19:19:48 +03:00
Ivan Kravets b006f53010 PyLint: Fix "useless-object-inheritance" 2022-07-02 19:03:25 +03:00
Ivan Kravets 19d518fc4c Fix PyLint: Consider explicitly re-raising 2022-07-02 18:37:57 +03:00
Ivan Kravets f01cd7570c Fix handling of unknown targets when processing pre/post actions 2022-07-01 20:14:58 +03:00
Ivan Kravets ffebfd4376 Drop deprecated "program" target 2022-07-01 19:44:14 +03:00
Ivan Kravets e4264a6a51 Make $PROGPATH configurable 2022-07-01 19:38:51 +03:00
Ivan Kravets d85bc0f7f8 Make $PROGPATH configurable 2022-07-01 19:29:07 +03:00
Ivan Kravets 6bec593b93 Simplify output from the clean target 2022-06-29 22:17:30 +03:00
Ivan Kravets 3363b3a516 Significantly improved support for Pre & Post Actions 2022-06-28 19:36:49 +03:00
Ivan Kravets 1f096fe03f Fixed "non-existent variable ''projenv''" when ESP-IDF is used // Resolve #4329 2022-06-28 14:28:52 +03:00
Ivan Kravets 99b5204802 Fixed a "PermissionError" on Windows when running "clean" or "cleanall" targets // Resolve #4331 2022-06-27 20:12:04 +03:00
Ivan Kravets 1ea6d47110 Initialize unit testing target once per project builder 2022-06-25 22:44:35 +03:00
Ivan Kravets 284ccc9e8a Remove ProjectAsLibBuilder's singleton 2022-06-25 20:53:08 +03:00
Ivan Kravets 655eedd7b0 Export Unit Testing flags only to the project build environment 2022-06-25 20:20:13 +03:00
Ivan Kravets 300b7b2138 Minor improvements to the ProjectAsLibBuilder 2022-06-25 20:10:18 +03:00
Ivan Kravets 86c4bd69d2 Fixed an issue with the LDF when recursively scanning dependencies in the "chain" mode 2022-06-24 21:17:26 +03:00
Ivan Kravets dd63c8002a Make "MatchSourceFiles' configurable for source extensions 2022-06-24 21:09:44 +03:00
Ivan Kravets a76933990c Remove generic targets 2022-06-23 14:20:27 +03:00
Ivan Kravets 9ae67fdad9 Fixed an issue on Windows OS when flags were wrapped to the temporary file while generating compilation database 2022-06-20 14:49:39 +03:00
Ivan Kravets 58d533a3bb Prefer Black Magic GDB for uploading // Issue #4023 2022-06-18 14:06:24 +03:00
Ivan Kravets f68c18d1e5 Fixed an issue when the build_unflags option was not applied to the ASPPFLAGS scope 2022-06-17 18:58:21 +03:00
Ivan Kravets db6b8a6dbc Fixed an issue when `build_unflags operation ignores a flag value // Resolve #4309 2022-06-17 14:25:39 +03:00
Ivan Kravets 5afa0a955e PyLint fix 2022-06-17 13:58:26 +03:00
Ivan Kravets 7a01da7039 Added `env.StringifyMacro(value)` helper function for the Advanced Scripting 2022-06-17 12:25:52 +03:00
Ivan Kravets 50cbc4d4e2 Allowed to Import("projenv") in a library extra script // Resolve #4305 2022-06-16 13:04:38 +03:00
Ivan Kravets e12bc9fe5f Do not resolve dependencies from the project "src" folder when the test_build_src option is not enabled 2022-06-15 18:05:55 +03:00
Ivan Kravets 4bc3e3cf95 Restructure "device" module 2022-06-10 14:01:42 +03:00
Ivan Kravets 1b17234c41 Fixed an issue when a custom "pio test --project-config" was not handled properly // Resolve #4299 2022-06-02 18:05:41 +03:00
Ivan Kravets b02335a294 Allow to implement own "FindInoNodes" method // Resolve #4297 2022-06-01 14:11:10 +03:00
Ivan Kravets 2564b9eb78 Move http module to the root 2022-05-30 20:29:35 +03:00
Ivan Kravets a19c4dbcda Show a warning when testing an empty project without a test suite // Resolve #4278 2022-05-28 22:09:14 +03:00
Ivan Kravets 87dffa36b8 Improved support for user inputs 2022-05-26 22:29:51 +03:00
Ivan Kravets bd052d0ce0 Show a warning when testing an empty project without a test suite // Resolve #4278 2022-05-26 19:55:23 +03:00
Ivan Kravets 460a983ab2 Do not export empty scopes to the build environment 2022-05-26 19:15:15 +03:00
Ivan Kravets ea94f65159 Minor improvements 2022-05-26 19:11:33 +03:00
Ivan Kravets 6f6460fd4e Minor improvements 2022-05-26 19:10:58 +03:00
Ivan Kravets 5f812409d4 Fixed an issue with debugging assembly files without preprocessor (".s") 2022-05-25 19:23:24 +03:00
Ivan Kravets e27c1c39e4 Remove debug messages 2022-05-19 18:38:17 +03:00
Ivan Kravets 06ed9ba77d Fixed an issue when "build_src_flags" were applied outside project scope // Resolve #4277 2022-05-19 17:55:27 +03:00
Ivan Kravets 0c4c4ac657 Use globals() instead of sys.modules 2022-05-18 23:14:15 +03:00
Ivan Kravets b764a2220f Improved support for the renamed configuration options // Resolve #4270 2022-05-17 13:33:25 +03:00
Ivan Kravets 7a100fb0b0 Use device finder for automatic detection of upload port 2022-05-15 13:46:44 +03:00
Ivan Kravets d22b479bd3 Regroup device command 2022-05-14 18:21:44 +03:00
Ivan Kravets af5a820862 Rename "load_project_ide_data" to the "load_build_metadata" 2022-05-14 16:29:41 +03:00
Ivan Kravets 79b2bfdefe Fix an issue with multiple symbol definitions when framework uses own Unity // Resolve #4259 2022-05-12 15:34:50 +03:00
Ivan Kravets 3f46a97b6b Fix LDF lib resolving 2022-05-07 16:44:11 +03:00
Ivan Kravets 3989979ca3 Pass extra arguments to the native program with a new "pio run --program-arg" option // Resolve #4246 2022-05-07 16:22:05 +03:00
Ivan Kravets f19058df65 Try to resolve paths if the common part is not found 2022-05-06 19:40:00 +03:00
Ivan Kravets c4388a6904 Fixed an issue when LDF ignores build_src_flags in the “deep+” mode // Resolve #4253 2022-05-06 10:31:34 +03:00
Ivan Kravets 16021d0df7 Added support for "Test Hierarchies" // Issue #4135 2022-04-29 20:46:43 +03:00