Skip to content

Commit beb9c6f

Browse files
committed
Move simplicity to its own dir
1 parent 70aaaa9 commit beb9c6f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tools/export/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# limitations under the License.
1717

1818
from tools.export import codered, ds5_5, iar, makefile
19-
from tools.export import embitz, coide, kds, simplicityv3, atmelstudio
19+
from tools.export import embitz, coide, kds, simplicity, atmelstudio
2020
from tools.export import sw4stm32, e2studio, zip, cmsis, uvision, cdt
2121
from tools.targets import TARGET_NAMES
2222

@@ -33,7 +33,7 @@
3333
'embitz' : embitz.EmBitz,
3434
'coide' : coide.CoIDE,
3535
'kds' : kds.KDS,
36-
'simplicityv3' : simplicityv3.SimplicityV3,
36+
'simplicityv3' : simplicity.SimplicityV3,
3737
'atmelstudio' : atmelstudio.AtmelStudio,
3838
'sw4stm32' : sw4stm32.Sw4STM32,
3939
'e2studio' : e2studio.E2Studio,

tools/export/simplicityv3.py renamed to tools/export/simplicity/__init__.py

Lines changed: 3 additions & 2 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 split,splitext, basename
1918

19+
from tools.export.exporters import Exporter
20+
2021
class Folder:
2122
def __init__(self, name):
2223
self.name = name
@@ -191,4 +192,4 @@ def generate(self):
191192
print("\t" + bpath.name + "\n")
192193
'''
193194

194-
self.gen_file('simplicityv3_slsproj.tmpl', ctx, '%s.slsproj' % self.project_name)
195+
self.gen_file('simplicity/slsproj.tmpl', ctx, '%s.slsproj' % self.project_name)

0 commit comments

Comments
 (0)