]> git.gir.st - tmk_keyboard.git/blob - tmk_core/tool/mbed/mbed-sdk/workspace_tools/export/zip.py
Merge commit '1fe4406f374291ab2e86e95a97341fd9c475fcb8'
[tmk_keyboard.git] / tmk_core / tool / mbed / mbed-sdk / workspace_tools / export / zip.py
1 """
2 mbed SDK
3 Copyright (c) 2011-2013 ARM Limited
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 """
17 from exporters import Exporter
18 from os.path import basename
19
20
21 class ZIP(Exporter):
22 NAME = 'ZIP'
23
24 TARGETS = [
25 ]
26
27 USING_MICROLIB = [
28 ]
29
30 FILE_TYPES = {
31 'c_sources':'1',
32 'cpp_sources':'8',
33 's_sources':'2'
34 }
35
36 def get_toolchain(self):
37 return 'uARM' if (self.target in self.USING_MICROLIB) else 'ARM'
38
39 def generate(self):
40 return True
41
Imprint / Impressum