I’m working on an I2C magnetometer driver and see a few “DEVICE_DEBUG” messages in the code, which seems to map to PX4_LOG_NAMED_COND in px4_log.h
see src/drivers/magenetometer/hmc5883.cpp line 411 as an example of DEVICE_DEBUG
I’m connected to the Nuttx console using an FTDI cable. How do I build and upload my firmware so I can access these debug messages? It looks like px4_log.h looks at “DEBUG_BUILD” being defined but I don’t see where I set that anywhere.
I also don’t have these messages being written to a log on the sd card, either.