@modular-circuit/transpiler 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -0
- package/dist/index.mjs +13 -0
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1085,6 +1085,19 @@ var SpiLinkTester = class extends CompositePortLinkConverterBase {
|
|
|
1085
1085
|
meta_port: device.mosi
|
|
1086
1086
|
}))
|
|
1087
1087
|
]
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
name: "CS_OR_SS",
|
|
1091
|
+
ports: [
|
|
1092
|
+
{
|
|
1093
|
+
parent: controller,
|
|
1094
|
+
meta_port: controller.CS_OR_SS
|
|
1095
|
+
},
|
|
1096
|
+
...peripherals.map((device) => ({
|
|
1097
|
+
parent: device,
|
|
1098
|
+
meta_port: device.CS_OR_SS
|
|
1099
|
+
}))
|
|
1100
|
+
]
|
|
1088
1101
|
}
|
|
1089
1102
|
];
|
|
1090
1103
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1045,6 +1045,19 @@ var SpiLinkTester = class extends CompositePortLinkConverterBase {
|
|
|
1045
1045
|
meta_port: device.mosi
|
|
1046
1046
|
}))
|
|
1047
1047
|
]
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
name: "CS_OR_SS",
|
|
1051
|
+
ports: [
|
|
1052
|
+
{
|
|
1053
|
+
parent: controller,
|
|
1054
|
+
meta_port: controller.CS_OR_SS
|
|
1055
|
+
},
|
|
1056
|
+
...peripherals.map((device) => ({
|
|
1057
|
+
parent: device,
|
|
1058
|
+
meta_port: device.CS_OR_SS
|
|
1059
|
+
}))
|
|
1060
|
+
]
|
|
1048
1061
|
}
|
|
1049
1062
|
];
|
|
1050
1063
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modular-circuit/transpiler",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Intermediate representation of the modular circuit",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"elkjs": "^0.11.0",
|
|
30
30
|
"js-base64": "^3.7.7",
|
|
31
31
|
"jszip": "^3.10.1",
|
|
32
|
-
"@modular-circuit/
|
|
33
|
-
"@modular-circuit/perc": "0.2.
|
|
34
|
-
"@modular-circuit/
|
|
35
|
-
"@modular-circuit/
|
|
32
|
+
"@modular-circuit/electronics-model": "0.2.9",
|
|
33
|
+
"@modular-circuit/perc": "0.2.13",
|
|
34
|
+
"@modular-circuit/ir": "0.2.7",
|
|
35
|
+
"@modular-circuit/utils": "0.2.7"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"clean": "rimraf dist",
|