@mchp-mcc/scf-pic8-pwm-v2 4.2.8 → 4.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mchp-mcc/scf-pic8-pwm-v2",
3
- "version": "4.2.8",
3
+ "version": "4.2.9",
4
4
  "scf": {
5
5
  "reducer": "auto",
6
6
  "creator": "output/creator.js",
@@ -105,8 +105,8 @@
105
105
  "profile": "jest profile",
106
106
  "build-run-dir-future": "node config/extract-run-directory-future.js",
107
107
  "release": "yarn build && yarn test && node -e 'require(\"./config/scf-project-scripts\").releaseProject()'",
108
- "test:itf:all": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC16F1773|PIC16F1779\"",
109
- "test:itf:dev": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC18F57K42|PIC16F1773\"",
108
+ "test:itf:all": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC16LF1566|PIC16LF1567\"",
109
+ "test:itf:dev": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC16LF1566\"",
110
110
  "postprocess": "node config/appendPrototype.js"
111
111
  },
112
112
  "husky": {
@@ -151,7 +151,7 @@
151
151
  "@microchip/basic_pin": "^1.0.2",
152
152
  "@microchip/fosc-hz": "^0.1.2",
153
153
  "@microchip/osc-clocks": "^0.2.0",
154
- "@microchip/pin-standard": "^0.4.1",
154
+ "@microchip/pin-standard": "^0.6.0",
155
155
  "@microchip/scf-common": "^3.21.0",
156
156
  "@microchip/scf-device": "^8.9.0",
157
157
  "@microchip/scf-integration-test": "^1.0.0",
@@ -169,15 +169,15 @@
169
169
  "@babel/preset-env": "^7.9.6",
170
170
  "@babel/preset-react": "^7.9.4",
171
171
  "@babel/preset-typescript": "^7.9.0",
172
- "@mchp-mcc/pic-8bit": "^5.17.2-dev.2",
173
- "@mchp-mcc/pic-8bit-types": "^5.17.2-dev.2",
172
+ "@mchp-mcc/pic-8bit": "^5.19.1-dev.2",
173
+ "@mchp-mcc/pic-8bit-types": "^5.19.1-dev.2",
174
174
  "@microchip/ccl-itf": "^1.6.0",
175
175
  "@microchip/initializer-system": "^0.5.5",
176
- "@microchip/melody-automodule-interface": "^1.10.0",
176
+ "@microchip/melody-automodule-interface": "^1.10.3",
177
177
  "@microchip/pic-8bit-types": "^5.0.1",
178
178
  "@microchip/run-directory": "^4.2.3",
179
- "@microchip/scf-automodule": "^5.10.1",
180
- "@microchip/scf-automodule-impl": "^1.12.0",
179
+ "@microchip/scf-automodule": "^5.10.4",
180
+ "@microchip/scf-automodule-impl": "^1.12.3",
181
181
  "@microchip/scf-autoview": "^3.32.4",
182
182
  "@microchip/scf-project-scripts": "^1.0.0",
183
183
  "@types/core-js": "^2.5.1",
@@ -14,6 +14,7 @@ import { getAutoSdlHelp } from "@microchip/scf-automodule-impl/lib/autoModule/Co
14
14
  import { getPinsLogic } from "../generated_module/src/pins/PCPHelper";
15
15
  import { MyImports } from "../generated_module/src/types";
16
16
  import { getCFunctionValidator, PatternValidator } from "@microchip/scf-validators/lib";
17
+ import { QueryAdapterKey, intf_args } from "@microchip/pin-standard/lib/pin-standard";
17
18
 
18
19
  export const getDerivedData = (dataModel: AppModel): DerivedData => {
19
20
  if (dataModel) {
@@ -88,6 +89,7 @@ class MyDerivedData implements DerivedData {
88
89
  importName: this.friendlyImportName,
89
90
  componentNameValidator: this.componentNameValidator,
90
91
  getCustomUiErrors: this.getCustomUiErrors,
92
+ pin_standard_args: this.getPinstandardArgs,
91
93
  };
92
94
  };
93
95
 
@@ -128,6 +130,17 @@ class MyDerivedData implements DerivedData {
128
130
  }
129
131
  };
130
132
 
133
+ private readonly getPinstandardArgs = (): intf_args => {
134
+ const args: intf_args = {
135
+ queryAdapters: ["pps", "apfcon"],
136
+ queryAdapterMap: {
137
+ [QueryAdapterKey.ALLPINS]: "^PWM[0-9]{0,1}$",
138
+ },
139
+ };
140
+
141
+ return args;
142
+ };
143
+
131
144
  private overrideDefaultOptions = (componentName: string): any[] => {
132
145
  switch (componentName) {
133
146
  case "timerSelection": {