Skip to content

Commit a86d40c

Browse files
committed
cc3200: Get bootloader compiling with latest overhaul of printf code.
1 parent 044c473 commit a86d40c

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

cc3200/bootmgr/bootloader.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ BOOT_MAIN_SRC_S = \
6060
bootmgr/runapp.s
6161

6262
BOOT_PY_SRC_C = $(addprefix py/,\
63-
pfenv.c \
64-
pfenv_printf.c \
63+
mpprint.c \
6564
)
6665

6766
BOOT_STM_SRC_C = $(addprefix stmhal/,\

cc3200/bootmgr/main.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,3 +347,12 @@ int main (void) {
347347
}
348348
}
349349

350+
//*****************************************************************************
351+
//! The following stub function is needed to link mp_vprintf
352+
//*****************************************************************************
353+
#include "py/qstr.h"
354+
355+
const byte *qstr_data(qstr q, mp_uint_t *len) {
356+
*len = 0;
357+
return NULL;
358+
}

0 commit comments

Comments
 (0)