Move simplicity to its own dir

pull/3601/head
Jimmy Brisson 2017-01-17 12:30:18 -06:00
parent 70aaaa9367
commit beb9c6f4ec
3 changed files with 5 additions and 4 deletions

View File

@ -16,7 +16,7 @@
# limitations under the License.
from tools.export import codered, ds5_5, iar, makefile
from tools.export import embitz, coide, kds, simplicityv3, atmelstudio
from tools.export import embitz, coide, kds, simplicity, atmelstudio
from tools.export import sw4stm32, e2studio, zip, cmsis, uvision, cdt
from tools.targets import TARGET_NAMES
@ -33,7 +33,7 @@ EXPORTERS = {
'embitz' : embitz.EmBitz,
'coide' : coide.CoIDE,
'kds' : kds.KDS,
'simplicityv3' : simplicityv3.SimplicityV3,
'simplicityv3' : simplicity.SimplicityV3,
'atmelstudio' : atmelstudio.AtmelStudio,
'sw4stm32' : sw4stm32.Sw4STM32,
'e2studio' : e2studio.E2Studio,

View File

@ -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
limitations under the License.
"""
from exporters import Exporter
from os.path import split,splitext, basename
from tools.export.exporters import Exporter
class Folder:
def __init__(self, name):
self.name = name
@ -191,4 +192,4 @@ class SimplicityV3(Exporter):
print("\t" + bpath.name + "\n")
'''
self.gen_file('simplicityv3_slsproj.tmpl', ctx, '%s.slsproj' % self.project_name)
self.gen_file('simplicity/slsproj.tmpl', ctx, '%s.slsproj' % self.project_name)