Skip to content

2.1.2

Latest
Compare
Choose a tag to compare
@ussserrr ussserrr released this 07 Oct 14:49
c751948

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, without extra 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 for generate, pio_init, patch and new commands

Changes

  • Improved wording/statements
  • All shebangs are now referring to python instead of python3
  • Remove redundant try...except in __main__.py

Meta

Changes

  • Actualized docs, schemas, issues
  • Adopt RST docstring style (partially)