On Fri, Jul 24, 2020 at 12:26 PM Fotis Panagiotopoulos <f.j.pa...@gmail.com> wrote:
> Hello, > > So, I have set up my workspace now, and I have NuttX running properly on my > custom board. > I have another question though, regarding how to set things up for > development. > > Usually I have at least 2 build configurations: one for debugging, one for > releases etc. > > Debug builds have assertions enabled, optimizations disabled, various > checks enabled etc etc, while release builds the do the opposite. > > How is this best to be handled by NuttX? Should I have various > configuration files to load each time, or is there a better way? I keep two config files, one for debug, one for release. Very similar except for the kinds of debugging options you mentioned. Nathan