[SOLVED] Calling Python script from Embedded Studio

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Calling Python script from Embedded Studio

    Hi,
    I have a Python script that generates a header file with date/time info. This is included in my project.
    Is it possible to configure Segger Embedded Studio to execute the python script before a build or do I need to call the build from within the script?
  • Under [Project Options]->[User Build Step]->[Pre-Build Command] You can run a batch script that can then call the python script. We do this but as a post build command.
    Images
    • Screenshot from 2019-02-06 10-53-44.png

      75.91 kB, 1,162×274, viewed 959 times