1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-04 12:24:11 +01:00
LibrePilot/flight/targets/RevoMini/System
Oleg Semyonov ce4b2f4446 pios_debug: use PIOS_INCLUDE_DEBUG_CONSOLE to DEBUG_PRINTF(level, ...)
Inconsistent use of debug macros in board definition files resulted in
BU compilation error. It was attempted to use PIOS_COM_SendFormattedStringNonBlocking()
directly even if PIOS_COM was not included (like for BootloaderUpdater).

So this function in pios_debug.c was replaced by DEBUG_PRINTF() macro.
The macro itself is defined in pios_debug.h file. Its definitions are
removed from board files. And to use it one has to define in pios_config.h:

#define PIOS_INCLUDE_DEBUG_CONSOLE
#define DEBUG_LEVEL <number>

in addition to PIOS_INCLUDE_COM with aux port.

Conflicts:
	flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h
	flight/PiOS/Boards/STM32F4xx_RevoMini.h
2013-03-24 13:05:51 +02:00
..
inc pios_debug: use PIOS_INCLUDE_DEBUG_CONSOLE to DEBUG_PRINTF(level, ...) 2013-03-24 13:05:51 +02:00
alarms.c rename: move board-specific dirs into flight/targets 2013-01-28 01:52:44 +02:00
cm3_fault_handlers.c rename: move board-specific dirs into flight/targets 2013-01-28 01:52:44 +02:00
dcc_stdio.c rename: move board-specific dirs into flight/targets 2013-01-28 01:52:44 +02:00
pios_board_sim.c rename: move board-specific dirs into flight/targets 2013-01-28 01:52:44 +02:00
pios_board.c Merge remote-tracking branch 'origin/amorale/02_os-stac_logfs-unittests' into next 2013-03-23 15:13:05 +01:00
pios_usb_board_data.c rename: move board-specific dirs into flight/targets 2013-01-28 01:52:44 +02:00
revolution.c rename: move board-specific dirs into flight/targets 2013-01-28 01:52:44 +02:00