Using NCS 3.0.2 I have multiple build variants of my project, based on the same custom PCB but with different parts fitted, and different functionality. So I have create different build configs with custom dts files - this works OK.
I would like to add some of my own custom config entries, so I'm trying to use a Kconfig fragment, but whatever I try I get a "ignoring malformed text" error
Here's an example:
config FOO bool "foobar" default n
Cwarning: ignoring malformed line 'config FOO_BAR' Cwarning: ignoring malformed line ' bool "foobar"' Cwarning: ignoring malformed line ' default n'
Where am I going wrong...?