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?
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?
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
Dear Marte,
Thanks for your information.
Would you teach me how to select to use prj.conf or prj_minimal.conf?
Hi,
You must set prj_minimal.conf as DCONF_FILE py providing it as a CMake option. How to do this is in the different build environments in v1.6.1 is explained here: Providing CMake options.
Best regards,
Marte