what's the difference between prj.conf and prj_minimal.conf?

Dear,

       I saw exmaple "peripheral_lbs" have 2 .conf file.

Would you teach me what's the difference between prj.conf and prj_minimal.conf in ncs v1.6.1?

Parents
  • Hi,

    Using prj_minimal.conf as configuration file will build the sample with minimal configuration, reducing both code size and RAM usage. If you compare the two files you will see that prj_minimal.conf disables a lot of things, such as drivers and peripherals, console, and generally features that are not needed, as well as optimizing the size of things. This adds support for devices with less flash and RAM, such as nRF52810 and nRF52811 devices, but it can also be used for other devices if you want to reduce code size and RAM usage and you do not need anything that is disabled.

    Best regards,

    Marte

Reply
  • Hi,

    Using prj_minimal.conf as configuration file will build the sample with minimal configuration, reducing both code size and RAM usage. If you compare the two files you will see that prj_minimal.conf disables a lot of things, such as drivers and peripherals, console, and generally features that are not needed, as well as optimizing the size of things. This adds support for devices with less flash and RAM, such as nRF52810 and nRF52811 devices, but it can also be used for other devices if you want to reduce code size and RAM usage and you do not need anything that is disabled.

    Best regards,

    Marte

Children
Related