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

This commit is contained in:
Damien George 2015-04-16 14:27:56 +00:00
parent 044c473de2
commit a86d40ccd4
2 changed files with 10 additions and 2 deletions

View File

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

View File

@ -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;
}