Releases
v0.9
New: tested with Python3 version of PlatformIO
New: __main__.py
file (to run the app as module (python -m stm32pio
))
New: 'init' subcommand (initialize the project only, useful for the preliminary tweaking)
New: introducing the OOP pattern: we have now a Stm32pio
class representing a single project (project path as a main identifier)
New: projects now have a config file stm32pio.ini
where the user can set the variety of parameters
New: state
property calculating the estimated project state on every request to itself (beta). It is the concept for future releases
New: STM32CubeMX is now started more silently (without a splash screen)
New: add integration and CLI tests (sort of)
New: testing with different Python versions using pyenv (3.6+ target)
New: run_editor
test is now preliminary automatically check whether an editor is installed on the machine
New: more typing annotations
Fixed: the app has been failed to start as python app.py
(modify sys.path
to fix)
Changed: main
function is now fully modular: can be run from anywhere with given CLI arguments (will be piped forward to be parsed via argparse
)
Changed: rename stm32pio.py
-> app.py
(stm32pio is the name of the package as a whole)
Changed: rename util.py
-> lib.py
(means main library)
Changed: logging is now more modular: we do not set global basicConfig
and specify separated loggers for each module instead
Changed: more clear description of steps to do for each user subcommand by the code
Changed: get rid of print
calls leaving only logging messages (easy to turn on/off the console output in the outer code)
Changed: re-imagined API behavior: where to raise exceptions, where to return values and so on
Changed: more clean API, e.g. move out the board resolving procedure from the pio_init
method and so on
Changed: test fixture is now moved out from the repo and is deployed temporarily on every test run
Changed: set-up and tear-down stages are now done using unittest
API
Changed: actualized .ioc
file for the latest STM32CubeMX version (5.4.0 at the moment)
Changed: improved help, docs, comments
You can’t perform that action at this time.