Move print/debug files to quantum (#12069)
* move print/debug files to quantum * Update commentsxap
parent
3f419dc872
commit
34de7ca224
@ -0,0 +1,9 @@ |
||||
PRINTF_PATH = $(LIB_PATH)/printf
|
||||
|
||||
VPATH += $(PRINTF_PATH)
|
||||
SRC += $(PRINTF_PATH)/printf.c
|
||||
QUANTUM_SRC +=$(QUANTUM_DIR)/logging/print.c
|
||||
OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_FLOAT
|
||||
OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_EXPONENTIAL
|
||||
OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_LONG_LONG
|
||||
OPT_DEFS += -DPRINTF_DISABLE_SUPPORT_PTRDIFF_T
|
@ -1,9 +0,0 @@ |
||||
PRINTF_PATH = $(LIB_PATH)/printf
|
||||
|
||||
TMK_COMMON_SRC += $(PRINTF_PATH)/printf.c
|
||||
TMK_COMMON_SRC += $(COMMON_DIR)/printf.c
|
||||
TMK_COMMON_DEFS += -DPRINTF_DISABLE_SUPPORT_FLOAT
|
||||
TMK_COMMON_DEFS += -DPRINTF_DISABLE_SUPPORT_EXPONENTIAL
|
||||
TMK_COMMON_DEFS += -DPRINTF_DISABLE_SUPPORT_LONG_LONG
|
||||
TMK_COMMON_DEFS += -DPRINTF_DISABLE_SUPPORT_PTRDIFF_T
|
||||
VPATH += $(PRINTF_PATH)
|
@ -1,23 +0,0 @@ |
||||
/*
|
||||
Copyright 2011 Jun Wako <wakojun@gmail.com> |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 2 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
#include "uart.h" |
||||
#include "sendchar.h" |
||||
|
||||
int8_t sendchar(uint8_t c) { |
||||
uart_putchar(c); |
||||
return 0; |
||||
} |
Loading…
Reference in new issue