Build configuration

Hi,

I'm new to embedded development but have experience in desktop C/C++ development mostly with Visual Studio.

I'm struggling to get my head around how I would create different build configurations.

I have 2 boards, a nrf54l15dk and a Xiao nrf52840.

I want to have debug and release configurations for both boards where for example the release builds disable the serial and other hardware to reduce power usage and optimise the build for speed.

I've been though the beginner and intermidiate tutorials so I'm aware of the kconfig and devicetree files but I'm sturggling to put it all together.

So far I've created some build configurations and overlays with the understanding that the overlays can be used to disable hardware.

Any pointers are appreciated.

Regards.

Related