From 864b349430868807d08329de3210baa405f752f4 Mon Sep 17 00:00:00 2001 From: 0xc0170 Date: Mon, 25 Apr 2016 08:54:38 +0100 Subject: [PATCH] uvision - get_toolchain method regression fix uvision uses default_toolchain, thus exporter needs to provide a method to distinguish between ARM and uARM. Fixes #1686 --- workspace_tools/export/uvision4.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workspace_tools/export/uvision4.py b/workspace_tools/export/uvision4.py index 619edfbece..148126438a 100644 --- a/workspace_tools/export/uvision4.py +++ b/workspace_tools/export/uvision4.py @@ -44,6 +44,8 @@ class Uvision4(Exporter): # target is not supported yet continue + def get_toolchain(self): + return TARGET_MAP[self.target].default_toolchain def generate(self): """ Generates the project files """