Clone of official tools
Diff: export/kds.py
- Revision:
- 31:8ea194f6145b
- Parent:
- 30:f12ce67666d0
--- a/export/kds.py Mon Aug 29 11:56:59 2016 +0100 +++ b/export/kds.py Wed Jan 04 11:58:24 2017 -0600 @@ -1,6 +1,6 @@ """ mbed SDK -Copyright (c) 2011-2013 ARM Limited +Copyright (c) 2011-2016 ARM Limited Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ TARGETS = [ 'K64F', + 'HEXIWEAR', 'K22F', ] @@ -34,13 +35,13 @@ libraries.append(l[3:]) ctx = { - 'name': self.program_name, + 'name': self.project_name, 'include_paths': self.resources.inc_dirs, 'linker_script': self.resources.linker_script, 'object_files': self.resources.objects, 'libraries': libraries, - 'symbols': self.get_symbols() + 'symbols': self.toolchain.get_symbols() } self.gen_file('kds_%s_project.tmpl' % self.target.lower(), ctx, '.project') self.gen_file('kds_%s_cproject.tmpl' % self.target.lower(), ctx, '.cproject') - self.gen_file('kds_launch.tmpl', ctx, '%s.launch' % self.program_name) + self.gen_file('kds_launch.tmpl', ctx, '%s.launch' % self.project_name)