Skip to content

Rework of platformIO scripts in order to have a GUI to load examples easily. (#6)

Luiz Fernando Lavado Villa requested to merge examples_MR into main
  • [Feature] Dynamically add PlatformIO actions to download sample depending on targets list in pre_target_samples.py.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • Major script improvement : Example pulling is now done pre-build. There is no more requirements of having a main successfully compiling in order to build an example.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • Major changes : Scripts for examples now expect to download a platformIO library Examples metadata are provided through unified library.json

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Feature] Added an Expert Mode action to hide or reveal Zephyr environment.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Fix] Expert mode is now toggled only when action is launched from GUI

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Feature] Added a magic button for owntech bootloader recovery using ST bootloader.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Recovery] Fixed script - Now correctly sign and find zephyr.bin

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • Added multi-OS support for recovery script.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Bug-Fix] #3 (closed) monitor for bootloader_stlink environment now working by changing zephyr,console choosen property with a pre script.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • Commented out "bare-stlink" environment - changed location of GuiConfig and STlink bootloader flashing to OwnTech group.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Bug-Fix] All the owntech examples library was being compiled when building. Added a Middleware that excludes all owntech_examples files from the build.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Feature] Added auto-detection of app.overlay and app.conf in src/ folder

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Bug-fix] Example script is now correctly dependent on the presence of owntech_examples library.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Feature] Added the possibility to have a lib.conf file for each library.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Bug-fix] bootloader now handles exception if dfu-util is not installed on the machine

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • [Bug-Fix] Changed always_build to False, so that when building an example, flash does not rebuild

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • Updated .gitignore to ignore libraries.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • Suppressed unecessary build operation - Now showing success

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • pio_extra.ini now handles tool-dfuutil as a pre-requisite. No need to check its presence in pre_recovery.py. Also suppressed middleware_skip_examples.py as src_filter can be added in library.json instead.

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • Updated .gitignore to exclude .vscode/settings.json

Signed-off-by: Jean Alinei jean.alinei@laas.fr

  • Added URL of the official examples library with latest release.

Signed-off-by: Jean Alinei jean.alinei@laas.fr


Signed-off-by: Jean Alinei jean.alinei@laas.fr

Merge request reports