I have a base application, that will go into different product variants. I'd like to have a variant where some of the CUBEMX code is not compiled. As an example, one build where USB or Ethernet code is not included, because there won't even be HW on ...