Hello everyone. I need to use a custom firmware on my copter with px4 flow. So I’m compiling the firmware with .waf usung ubuntu. (I can’t do it in the online configurator, because I need to change the code in several files). But when I upload the firmware on flight controller, the optical flow parameters are missing, so, as I understood, there is not enough memory for them
The main question is: how can I NOT INCLUDE some parameters while compiling with .waf?
If I add one line of code here: “define AP_OPTICALFLOW_ENABLED 1”
If I change the “define AP_OPTICALFLOW_ENABLED 0” to “define AP_OPTICALFLOW_ENABLED 1” in hwdef.h it is changed back and the compilation crashes with many errors.