Ivan Kravets
db8f027f30
Refactor platform-related calls to PlatformFactory.from_env
2023-07-12 18:28:20 +03:00
valeros
39b61d50e6
Fix issues reported by Pylint
2023-07-12 10:39:50 +03:00
valeros
f85c3081fe
Minor improvements for firmware memory footprint analysis
...
- Added section name to the section data so that a dev-platform can apply a regex to determine section location in memory
- Performance improvement by analyzing memory location of a firmware section only once
2023-07-11 22:12:54 +03:00
Ivan Kravets
68e62c7137
Expose sizedata API
2023-07-10 17:41:21 +03:00
Ivan Kravets
bf8f1e9efb
Remove redundant code
2023-07-07 22:48:09 +03:00
Ivan Kravets
ff221b103a
Resolved an issue that caused generated projects for PlatformIO IDE for VSCode to break when the `-iprefix` compiler flag was used
2023-07-07 22:36:43 +03:00
Ivan Kravets
837ea85c3c
Resolved an issue that resulted in unresolved absolute toolchain paths when generating the "compile_commands.json" // Resolve #4684
2023-07-06 13:53:14 +03:00
Ivan Kravets
9585e2a3e3
Fixed handling of `-include` flag // Resolve #4683
2023-07-06 13:42:19 +03:00
Ivan Kravets
109c537d86
Fixed handling of `-include` flag // Resolve #4683
2023-07-06 11:40:30 +03:00
Ivan Kravets
01ab1fa4c0
Resolved a critical issue related to the usage of the `-include` flag // Resolve #4682
2023-07-03 18:37:57 +03:00
Ivan Kravets
f219f35ac8
Updated the "pio project metadata" command to return C/C++ flags as parsed Unix shell arguments
2023-06-20 20:55:00 +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
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
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