Changelog
Big refactoring release with a couple new features.
Core
New
.ioc
config inspection feature – such files can now be parsed and analyzed by stm32pio:- check recommended options like "Couple .c/.h files" and so on
- find potential mismatches between PlatformIO/CubeMX board/MCU
- Adopt suggested
board_build.stm32cube.custom_config_header
PlatformIO option (#26) - Preserve a comment header of
platformio.ini
file after patching
Changes
- Lighten the core
Stm32pio
class:- take out all methods bodies into separate modules and make the class mostly a context container
- get rid of
instance_options
in constructor
- Logging:
from_subprocess=True
flag can now be used directly, withoutextra
argument- Special logging cases is now listed in enum
LogPipe
now accumulates data only when explicitly said to, also the algorithm is more efficient
CLI
New
- Utilize new
inspect_ioc
feature forgenerate
,pio_init
,patch
andnew
commands
Changes
- Improved wording/statements
- All shebangs are now referring to
python
instead ofpython3
- Remove redundant
try...except
in__main__.py
Meta
Changes
- Actualized docs, schemas, issues
- Adopt RST docstring style (partially)