Commit Graph

1128 Commits

Author SHA1 Message Date
Ivan Kravets
6f0b1fbb91 Resolved an issue where multiple targets were not executed sequentially // Resolve #4604 2023-04-25 22:32:18 +03:00
Ivan Kravets
c8eea40dd0 Better handling "clean" & "monitor" targets 2023-04-25 20:47:04 +03:00
Ivan Kravets
b991d9f25c Do not normalize path to abs if directory does not exist 2023-04-21 12:52:39 +03:00
Ivan Kravets
82d380d895 Improve docs for "build_flags" 2023-04-21 11:40:54 +03:00
Ivan Kravets
9344f3cd81 Revert "Improved support for projects located on Windows network drives // Issue #3417"
This reverts commit a0c959be28.
2023-04-21 11:25:48 +03:00
Ivan Kravets
6ee9cc04fb Minor SCons optimizations 2023-04-20 22:29:00 +03:00
Ivan Kravets
a0c959be28 Improved support for projects located on Windows network drives // Issue #3417 2023-04-20 19:34:15 +03:00
Ivan Kravets
743fc8e636 Improved support for projects located on Windows network drives // Resolve #3417 2023-04-20 18:57:22 +03:00
Ivan Kravets
58a1d5d96e Revert "InoToCpp: add ':' to arguments regexp" (#4595)
Revert "InoToCpp: add ':' to arguments regexp (#4586)"

This reverts commit 71bb84f3f2.
2023-04-12 14:18:33 +03:00
Max Prokhorov
71bb84f3f2 InoToCpp: add ':' to arguments regexp (#4586)
InoToCpp: allow ':' in arguments
2023-04-07 22:58:08 +03:00
Ivan Kravets
62e9589851 Use the built-in SCons "compile_db" tool 2023-03-26 14:36:51 -06:00
Ivan Kravets
4b446b0d72 Fixed an issue when "build_cache_dir" was not honored across different environments // Resolve #4574 2023-03-20 15:40:24 -06:00
Ivan Kravets
f2d206ca54 Fixed "RuntimeError: deque mutated during iteration" 2023-03-18 12:40:11 -06:00
Ivan Kravets
1af508272b Format code with Black 23.1.0 2023-02-02 17:46:03 +02:00
Ivan Kravets
188c65ef7b Show detailed library dependency tree only in the verbose mode // Resolve #4517 2023-01-29 14:34:54 +02:00
Ivan Kravets
b2a04f265e Code cleanup 2023-01-29 14:34:06 +02:00
Ivan Kravets
15d53c95c0 Prevent shell injection when converting INO file to CPP // Resolve #4532 2023-01-27 21:06:13 +02:00
Ivan Kravets
8835a03cd9 Rename "InternetIsOffline" exception to "InternetConnectionError" 2023-01-27 20:49:59 +02:00
Ivan Kravets
7e6cb84c87 Add "env.IsCleanTarget()" to the Build API 2022-11-18 15:44:49 +02:00
Ivan Kravets
158aabbdf2 Improved caching of build metadata in debug mode 2022-08-24 12:54:35 +03:00
Ivan Kravets
847fdd4deb Fixed an issue when the "cleanall" target removes dependencies from all working environments // Resolve #4386 2022-08-10 15:05:31 +03:00
Ivan Kravets
e2f0d96f09 Formatting 2022-08-09 15:46:19 +03:00
Ivan Kravets
dfffd5e97b Warn about calling “env.BuildSources” in a POST-type script // Resolve #4385 2022-08-08 17:39:36 +03:00
Ivan Kravets
8c13d13f80 Added support for accepting the original FileNode environment in a “callback” function when using Build Middlewares // Resolve #4380 2022-08-08 16:51:19 +03:00
Benedikt Kleiner
32d501bed1 optionally pass env to AddBuildMiddleware callback (#4380) 2022-08-08 15:22:42 +03:00
Ivan Kravets
59902abd09 Keep support for legacy "IDE_EXTRA_DATA" // Resolve #4379 2022-08-04 10:48:37 +03:00
Ivan Kravets
5e8eb77090 Rename "platformio" conflicted tool/module name to "piobuild" 2022-08-01 19:49:24 +03:00
Ivan Kravets
a0493e6ac4 Handle both extra IDE data: IDE_EXTRA_DATA & INTEGRATION_EXTRA_DATA 2022-08-01 19:48:27 +03:00
Ivan Kravets
4d755f2692 Remove deprecated "absolute_import" 2022-08-01 19:47:27 +03:00
Ivan Kravets
fa0de1dad4 Switch to the official PROGPATH 2022-07-30 12:16:32 +03:00
Ivan Kravets
6653c02487 Use the cached "BUILD_TYPE" from env 2022-07-30 12:15:49 +03:00
Ivan Kravets
7c9e0393f8 Improved device port finder when using dual channel UART converter // Resolve #4367 2022-07-29 19:37:59 +03:00
Ivan Kravets
9ddf73baa6 Fixed an issue when escaping macros/defines for IDE integration // Resolve #4360 2022-07-29 17:18:21 +03:00
Ivan Kravets
699da0a8fb Prefer global env when generating integration data 2022-07-29 14:58:11 +03:00
Ivan Kravets
842679c32b Export a "PIO_UNIT_TESTING" macro to the project source files and dependent libraries in the Unit Testing mode 2022-07-14 14:45:31 +03:00
Ivan Kravets
dcc02c3e14 Revert "Use generic MISSING helper"
This reverts commit 31a24e1652.
2022-07-12 22:06:29 +03:00
smarq8
6627fd5790 fix compat mode when no framework (#4346)
fix strict compat mode when no framework
2022-07-09 22:50:02 +03:00
Ivan Kravets
d24702eb29 Fixed an issue with endless scanning of project dependencies // Resolve #4349 2022-07-09 21:42:47 +03:00
Ivan Kravets
7637286efa Improve detecting of common builder by paths 2022-07-09 21:36:37 +03:00
Ivan Kravets
31a24e1652 Use generic MISSING helper 2022-07-09 19:25:04 +03:00
Ivan Kravets
4c2aca4956 Show "TimeoutError" only in the verbose mode when can not find a serial port 2022-07-08 15:18:52 +03:00
Ivan Kravets
6134db8e81 Fixed an issue when library dependencies were installed for the incompatible project environment // Resolve #4338 2022-07-04 18:50:06 +03:00
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