Skip to content
Snippets Groups Projects
Commit 415c97b8 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Changed config file extension from .cfg into .yaml

parent 4044d5da
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ class Peripheral:
class PeripheralLibrary:
def __init__(self, rootDir, fileName='peripheral.cfg'):
def __init__(self, rootDir, fileName='peripheral.yaml'):
"""Store the dictionaries from all fileName files in rootDir."""
self.rootDir = rootDir
self.fileName = fileName # all peripheral files have the same fileName
......@@ -248,7 +248,7 @@ class System(Peripheral):
Peripheral.__init__(self, None, 1, None)
self.filePathName = filePathName
self.rootDir = os.environ['RADIOHDL'] + "/tools/oneclick/prestudy/YAML"
self.peri_lib = PeripheralLibrary( self.rootDir, "peripheral.cfg")
self.peri_lib = PeripheralLibrary( self.rootDir, "peripheral.yaml")
self.peripherals = []
if filePathName==None:
......
......@@ -23,13 +23,13 @@
###############################################################################
import peripheral
import os
from common import *
import common as cm
rootDir = os.environ['RADIOHDL'] + "/tools/oneclick/prestudy/YAML"
#peri_lib = peripheral.PeripheralLibrary( rootDir, "peripheral.cfg")
#peri_lib = peripheral.PeripheralLibrary( rootDir, "peripheral.yaml")
system = peripheral.System( rootDir + "/system.cfg")
system = peripheral.System( rootDir + "/system.yaml")
system.display_system()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment