[SOLVED] Create Package from Solution does not include .h files

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

  • [SOLVED] Create Package from Solution does not include .h files

    As best I can tell right clicking on the solution and selecting "Create Package from Solution..." creates a archive of the solution that can then be extracted either as a backup or on another machine to re-create the complete solution environment. I attempted to do so and found that while all the files that are shown in the solution/project browser were included none of the include (.h) files were. I am using the nordic licensed version and the template files I have used do not explicitly have the include files as part of the project. What is the correct solution to make this work? Is there a semi-automated way to add those missing files to the project/solution so that a complete archive is created?

    Thanks!

    --Ken
  • Hello Ken,

    The emArchive functionality will only add files that are in the same folder as the emProject file or deeper.
    Everything else currently will not be added as we have no way of knowing if the target PC where the archive is reopened will have the same path depth available as the original setup.

    So currently you would have to make sure manually that all files are in the project folder.

    In future it is planned to expand Embedded Studio so that the copying of "external" sources that are outside the project folder will happen automatically before creating the archive.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.