Skip to content

Commit 084c93b

Browse files
committed
Move KDS to its own directory
1 parent ad58ec4 commit 084c93b

File tree

8 files changed

+5
-4
lines changed

8 files changed

+5
-4
lines changed

tools/export/kds.py renamed to tools/export/kds/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
"""
17-
from exporters import Exporter
1817
from os.path import splitext, basename
1918

19+
from tools.export.exporters import Exporter
20+
2021

2122
class KDS(Exporter):
2223
NAME = 'Kinetis Design Studio'
@@ -42,6 +43,6 @@ def generate(self):
4243
'libraries': libraries,
4344
'symbols': self.toolchain.get_symbols()
4445
}
45-
self.gen_file('kds_%s_project.tmpl' % self.target.lower(), ctx, '.project')
46-
self.gen_file('kds_%s_cproject.tmpl' % self.target.lower(), ctx, '.cproject')
47-
self.gen_file('kds_launch.tmpl', ctx, '%s.launch' % self.project_name)
46+
self.gen_file('kds/%s_project.tmpl' % self.target.lower(), ctx, '.project')
47+
self.gen_file('kds/%s_cproject.tmpl' % self.target.lower(), ctx, '.cproject')
48+
self.gen_file('kds/launch.tmpl', ctx, '%s.launch' % self.project_name)
File renamed without changes.

0 commit comments

Comments
 (0)