From 13247426f9cb29e55703d63588feb515b0b2ed70 Mon Sep 17 00:00:00 2001 From: Willie Walker Date: Thu, 30 Mar 2017 15:22:57 -0400 Subject: [PATCH] Fix mbed-cli issue #468. Add LPCTargetCode.lpc_patch to POST_BINARY_WHITELIST. --- tools/export/embitz/__init__.py | 3 ++- tools/export/gnuarmeclipse/__init__.py | 1 + tools/export/makefile/__init__.py | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/export/embitz/__init__.py b/tools/export/embitz/__init__.py index e75bc835c3..08ae1a971c 100644 --- a/tools/export/embitz/__init__.py +++ b/tools/export/embitz/__init__.py @@ -20,7 +20,8 @@ from tools.export.exporters import Exporter, filter_supported POST_BINARY_WHITELIST = set([ - "TEENSY3_1Code.binary_hook" + "TEENSY3_1Code.binary_hook", + "LPCTargetCode.lpc_patch" ]) diff --git a/tools/export/gnuarmeclipse/__init__.py b/tools/export/gnuarmeclipse/__init__.py index 30b4b6eb1e..7968252227 100644 --- a/tools/export/gnuarmeclipse/__init__.py +++ b/tools/export/gnuarmeclipse/__init__.py @@ -61,6 +61,7 @@ u = UID() POST_BINARY_WHITELIST = set([ "TEENSY3_1Code.binary_hook", "MCU_NRF51Code.binary_hook", + "LPCTargetCode.lpc_patch" ]) class GNUARMEclipse(Exporter): diff --git a/tools/export/makefile/__init__.py b/tools/export/makefile/__init__.py index 0df1a58a31..866a2dd8de 100644 --- a/tools/export/makefile/__init__.py +++ b/tools/export/makefile/__init__.py @@ -37,7 +37,8 @@ class Makefile(Exporter): POST_BINARY_WHITELIST = set([ "MCU_NRF51Code.binary_hook", - "TEENSY3_1Code.binary_hook" + "TEENSY3_1Code.binary_hook", + "LPCTargetCode.lpc_patch" ]) def generate(self):