mirror of
https://github.com/drasko/codezero.git
synced 2026-03-01 02:03:29 +01:00
Name of example container changed to Baremetal
This commit is contained in:
@@ -12,7 +12,7 @@ class Container:
|
||||
self.name = None
|
||||
self.type = None
|
||||
self.id = id
|
||||
self.example_id = 0
|
||||
self.baremetal_id = 0
|
||||
self.pager_lma = 0
|
||||
self.pager_vma = 0
|
||||
self.pager_size = 0
|
||||
@@ -173,9 +173,9 @@ class configuration:
|
||||
dirname = val[1:-1].lower()
|
||||
self.containers[id].dirname = dirname
|
||||
self.containers[id].name = dirname
|
||||
elif param[:len("EXAMPLE_APP")] == "EXAMPLE_APP":
|
||||
elif param[:len("BAREMETAL_APP")] == "BAREMETAL_APP":
|
||||
param1 = param.split("_", 1)
|
||||
self.containers[id].example_id = param1[1][-1:]
|
||||
self.containers[id].baremetal_id = param1[1][-1:]
|
||||
elif param[:len("CAP_")] == "CAP_":
|
||||
prefix, param_rest = param.split('_', 1)
|
||||
prepare_capability(self.containers[id], param_rest, val)
|
||||
@@ -186,8 +186,8 @@ class configuration:
|
||||
self.containers[id].type = "linux"
|
||||
elif param2 == "POSIX":
|
||||
self.containers[id].type = "posix"
|
||||
elif param2 == "EXAMPLES":
|
||||
self.containers[id].type = "examples"
|
||||
elif param2 == "BAREMETAL":
|
||||
self.containers[id].type = "baremetal"
|
||||
elif param2 == "TEST":
|
||||
self.containers[id].type = "test"
|
||||
# Extract parameters for containers
|
||||
|
||||
Reference in New Issue
Block a user