From 2f751039fc06f77134b4ad38763468a25c498a4a Mon Sep 17 00:00:00 2001 From: hjjeon0608 Date: Fri, 15 May 2015 11:28:46 +0900 Subject: [PATCH] add some files --- workspace_tools/muts_all.json | 7 +++++++ workspace_tools/targets.py | 16 +++++++++++++++- workspace_tools/test_spec.json | 5 +++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 workspace_tools/muts_all.json create mode 100644 workspace_tools/test_spec.json diff --git a/workspace_tools/muts_all.json b/workspace_tools/muts_all.json new file mode 100644 index 0000000000..ea7cb6e0e0 --- /dev/null +++ b/workspace_tools/muts_all.json @@ -0,0 +1,7 @@ +{ + "1" : {"mcu": "WIZwiki_W7500", + "port":"COM29", + "disk":"E:\\", + "peripherals": [] + } +} diff --git a/workspace_tools/targets.py b/workspace_tools/targets.py index 4de30c80a9..93c8b630ec 100755 --- a/workspace_tools/targets.py +++ b/workspace_tools/targets.py @@ -69,8 +69,19 @@ class Target: def init_hooks(self, hook, toolchain_name): pass +##WIZnet - +class WIZwiki_W7500(Target): + def __init__(self): + Target.__init__(self) + self.core = "Cortex-M0" + self.extra_labels = ['WIZNET', 'W7500x', 'WIZwiki_W7500'] + self.supported_toolchains = ["ARM", "uARM",] + self.default_toolchain = "ARM" + self.supported_form_factors = ["ARDUINO"] + + + ### NXP ### # This class implements the post-link patching step needed by LPC targets @@ -1201,6 +1212,9 @@ class EFM32HG_STK3400(Target): # Get a single instance for each target TARGETS = [ + ### WIZnet ### + WIZwiki_W7500(), + ### NXP ### LPC11C24(), LPC11U24(), diff --git a/workspace_tools/test_spec.json b/workspace_tools/test_spec.json new file mode 100644 index 0000000000..a4818818ae --- /dev/null +++ b/workspace_tools/test_spec.json @@ -0,0 +1,5 @@ +{ + "targets": { + "WIZwiki_W7500" : ["ARM", "uARM"] + } +}