diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-10-16 10:58:47 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-10-19 13:45:49 -0700 |
commit | 4c8553dfb13d8046a32b833321826aade31a0264 (patch) | |
tree | 5fe32dcaa4d4884895cafd8237f93b79f2ce2a07 /chip/stm32/build.mk | |
parent | 979440a583ad4e3de8b4c29e7a0861206eb271aa (diff) | |
download | chrome-ec-4c8553dfb13d8046a32b833321826aade31a0264.tar.gz |
stm32: add synchronous debug printf
Allow use of a synchronous debug printf instead of using the
full console task to save space. This can be turned on with
CONFIG_DEBUG_PRINTF, and will provide essentially a one-way
console for debugging. This is essentially expanding upon
the debug_printf work done for zinger.
BUG=chrome-os-partner:41959
BRANCH=none
TEST=tested with following CLs on glados_pd by verifying we
get a one-way console.
Change-Id: If028b5d873261890de5b270bbc00e06bdcaa7431
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/306782
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/stm32/build.mk')
-rw-r--r-- | chip/stm32/build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk index 1c1df1a789..53b48b6ab5 100644 --- a/chip/stm32/build.mk +++ b/chip/stm32/build.mk @@ -50,6 +50,7 @@ chip-$(CHIP_FAMILY_STM32F0)+=flash-f.o chip-$(CHIP_FAMILY_STM32F3)+=flash-f.o endif chip-$(CONFIG_ADC)+=adc-$(CHIP_FAMILY).o +chip-$(CONFIG_DEBUG_PRINTF)+=debug_printf.o chip-$(CONFIG_PWM)+=pwm.o chip-$(CONFIG_USB)+=usb.o usb-$(CHIP_FAMILY).o usb_endpoints.o chip-$(CONFIG_USB_CONSOLE)+=usb_console.o |