1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
The LibrePilot open source project was founded in July 2015. It focuses on research and development of software and hardware to be used in a variety of applications including vehicle control and stabilization, unmanned autonomous vehicles and robotics.
Go to file
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
androidgcs OP-825 Fix null reference and race condition when shutting down service 2013-02-10 01:20:11 +00:00
androidgcstests OP-825 Add connection tests for TCP and USB 2013-02-10 01:18:24 +00:00
artwork Merge branch 'next' into revo 2012-09-26 00:43:02 -05:00
flight pios_debug: use PIOS_INCLUDE_DEBUG_CONSOLE to DEBUG_PRINTF(level, ...) 2013-03-24 13:05:51 +02:00
ground Merge remote-tracking branch 'origin/amorale/01-directory_move_sanity_simposix' into next 2013-03-23 14:37:19 +01:00
hardware Add hardware files 2012-10-16 22:52:45 +11:00
make Makefile: fix mk files, now both CC and PipX are buildable using common defs 2013-03-24 13:05:50 +02:00
matlab Merge remote-tracking branch 'op-public/next' into revo-next 2012-08-20 21:22:02 -04:00
package Merge remote-tracking branch 'origin/revo-fixes' into amorale/revo-merge 2013-01-19 20:23:48 +01:00
shared/uavobjectdefinition Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next 2013-03-23 15:33:18 +01:00
.gitignore Merge remote-tracking branch 'op-public/next' into revo-next 2012-10-20 13:56:18 -04:00
.gitmodules In the attitude loop need to check all the queues even if unused or the event 2012-02-07 08:46:34 -06:00
CREDITS.txt Merge remote-tracking branch 'origin/master' into next 2012-12-21 14:12:32 +02:00
HISTORY.txt Merge remote-tracking branch 'origin/master' into next 2012-12-21 14:12:32 +02:00
KNOWN_ISSUES.txt [OP-769] Add to KNOWN_ISSUES.txt 2012-12-21 14:13:05 +02:00
LICENSE.txt Test commiting to reworked SVN, add lic file back but under trunk. 2011-02-27 10:16:35 +00:00
Makefile Makefile: pass TOPDIR to sub-make to overcome Windows filename problem 2013-03-24 13:04:09 +02:00
MILESTONES.txt Merge remote-tracking branch 'origin/rel-12.10.2' into next 2012-11-29 17:31:50 +02:00
OPLicenseTemplate.txt OP-686 Added code to disable wizard buttons during firmware upgrade procedure. Re-factored some code and fixed some minor bugs. 2012-11-19 01:29:14 +02:00