- nRF52840 + SoftDevice S140 BLE firmware - Piezo ultrasound TX driver (2MHz, 8ch MUX) - ICM42670P IMU 6-axis driver - Echo AFE chain (ADA2200 + ADC121S051) - BLE NUS command parser (mpa/mpc/mdc/mec/maa/msp) - FDS flash config storage - pc_firm parser and ADC driver included Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
328 B
C
15 lines
328 B
C
// file: debug_print.h
|
|
#ifndef DEBUG_PRINT_H
|
|
#define DEBUG_PRINT_H
|
|
|
|
#define ENABLE_PRINTF 1 // Set to 0 to disable globally
|
|
|
|
#if ENABLE_PRINTF
|
|
#include "SEGGER_RTT.h"
|
|
#define DBG_PRINTF(...) SEGGER_RTT_printf(0, __VA_ARGS__)
|
|
#else
|
|
#define DBG_PRINTF(...) // Do nothing
|
|
#endif
|
|
|
|
#endif // DEBUG_PRINT_H
|