mirror of https://github.com/ARMmbed/mbed-os.git
Move KDS to its own directory
parent
ad58ec47e0
commit
084c93b3b9
|
@ -14,9 +14,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from exporters import Exporter
|
|
||||||
from os.path import splitext, basename
|
from os.path import splitext, basename
|
||||||
|
|
||||||
|
from tools.export.exporters import Exporter
|
||||||
|
|
||||||
|
|
||||||
class KDS(Exporter):
|
class KDS(Exporter):
|
||||||
NAME = 'Kinetis Design Studio'
|
NAME = 'Kinetis Design Studio'
|
||||||
|
@ -42,6 +43,6 @@ class KDS(Exporter):
|
||||||
'libraries': libraries,
|
'libraries': libraries,
|
||||||
'symbols': self.toolchain.get_symbols()
|
'symbols': self.toolchain.get_symbols()
|
||||||
}
|
}
|
||||||
self.gen_file('kds_%s_project.tmpl' % self.target.lower(), ctx, '.project')
|
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/%s_cproject.tmpl' % self.target.lower(), ctx, '.cproject')
|
||||||
self.gen_file('kds_launch.tmpl', ctx, '%s.launch' % self.project_name)
|
self.gen_file('kds/launch.tmpl', ctx, '%s.launch' % self.project_name)
|
Loading…
Reference in New Issue