diff --git a/webinstall/build.yaml b/webinstall/build.yaml index 7af2679..f955239 100644 --- a/webinstall/build.yaml +++ b/webinstall/build.yaml @@ -40,6 +40,8 @@ types: type: frame key: m5groovei2c#grv# label: "M5 I2C Groove Units" + target: resource + resource: i2cbus children: - label: "M5 ENV3" type: checkbox @@ -682,7 +684,7 @@ resources: default: &esp32default serial: 2 can: 1 - i2c: 1 + i2cbus: 2 gpio: 1 config: diff --git a/webinstall/cibuild.js b/webinstall/cibuild.js index c20660e..26443b0 100644 --- a/webinstall/cibuild.js +++ b/webinstall/cibuild.js @@ -686,7 +686,7 @@ class PipelineInfo{ let allowed=allowedResources[ak]; if (allowed === undefined) allowed=1; if (resList.length > allowed){ - errors+=" more than "+allowed+" "+k+" device(s) used"; + errors+=" more than "+allowed+" device(s) of type "+k+" used"; } }