The difference between prj.conf and prj_release.conf

Since I encountered some issues, I would like to confirm the differences between these two files once again.

Apart from debug messages, can prj.conf be used for the final product release?

Are there any other important considerations, such as BIN file encryption or similar matters?

Parents
  • Hi,

    Since I encountered some issues, I would like to confirm the differences between these two files once again.

    prj.conf is used by default. prj_release.conf is used if you use the FILE_SUFFIX "release". See Custom configurations.

    Apart from debug messages, can prj.conf be used for the final product release?

    prj_release.conf is just a way to show that your own project can use a separate file for release.

    Are there any other important considerations, such as BIN file encryption or similar matters?

    There are a lot of considerations, but most depend on your project requirements, so I can not give one solution that covers all scenarios.

    Here are a couple of things that I think are a good idea to do:

    1. Remember to add DFU so you can update your product in the field!

    2. Properly test the device before releasing it!

    3. Back up the build directory from your release build, sometimes you need this later.

    4. Enable APPROTECT.

    Regards,
    Sigurd Hellesvik

  • Here are the things I originally wanted to confirm:

    1. Can prj.conf be used for mass production?
    2. Will it be vulnerable to malicious access or modification?

    The APPROTECT feature you suggested seems to address the second issue. How can I enable APPROTECT?

Reply Children
Related