cc3200: Get bootloader compiling with latest overhaul of printf code.

pull/1185/head
Damien George 2015-04-16 14:27:56 +00:00
rodzic 044c473de2
commit a86d40ccd4
2 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -60,8 +60,7 @@ BOOT_MAIN_SRC_S = \
bootmgr/runapp.s
BOOT_PY_SRC_C = $(addprefix py/,\
pfenv.c \
pfenv_printf.c \
mpprint.c \
)
BOOT_STM_SRC_C = $(addprefix stmhal/,\

Wyświetl plik

@ -347,3 +347,12 @@ int main (void) {
}
}
//*****************************************************************************
//! The following stub function is needed to link mp_vprintf
//*****************************************************************************
#include "py/qstr.h"
const byte *qstr_data(qstr q, mp_uint_t *len) {
*len = 0;
return NULL;
}