Files
OpenCellular/board/zinger/debug.h
Vincent Palatin 130a2d6a9a Add a charger board
Using minimal runtime to fit the charger flash and RAM size.

It is currently more an experiment than the final layout written in the
stone.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BRANCH=none
BUG=none
TEST=run on STM32F051 Discovery with
limited RAM and Flash to mimic STM32F031.

Change-Id: I10ee1decfd1f1448edbc909f0e997367921c4b53
Reviewed-on: https://chromium-review.googlesource.com/189405
Reviewed-by: Vic Yang <victoryang@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
2014-03-23 23:35:23 +00:00

17 lines
423 B
C

/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Synchronous UART debug printf */
#ifndef __BOARD_ZINGER_DEBUG_H
#define __BOARD_ZINGER_DEBUG_H
#ifdef CONFIG_DEBUG_PRINTF
void debug_printf(const char *format, ...);
#else
#define debug_printf(...)
#endif
#endif /* __BOARD_ZINGER_DEBUG_H */