@mchp-mcc/dspic33a-flash 1.0.1 → 1.0.3
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/Changelog.md +12 -0
- package/Readme.md +12 -0
- package/lib/generated_module/src/index.js +2 -2
- package/output/autoCreator.js +1 -4377
- package/output/autoCreator.js.map +1 -1
- package/output/autoProcessor.js +1 -4379
- package/output/autoProcessor.js.map +1 -1
- package/output/creator.js +1 -10497
- package/output/creator.js.map +1 -1
- package/output/flash-a-core-ftl/flash_types.h.ftl +1 -1
- package/output/moduleConfig.json +1 -0
- package/output/processor.js +1 -10497
- package/output/processor.js.map +1 -1
- package/package.json +57 -14
- package/src/GeneratorModel.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mchp-mcc/dspic33a-flash",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"scf": {
|
|
5
5
|
"reducer": "auto",
|
|
6
6
|
"creator": "output/creator.js",
|
|
@@ -12,7 +12,50 @@
|
|
|
12
12
|
"displayName": "Flash",
|
|
13
13
|
"category": "Peripherals/Memory/",
|
|
14
14
|
"autoProcessor": "output/autoProcessor.js",
|
|
15
|
-
"autoCreator": "output/autoCreator.js"
|
|
15
|
+
"autoCreator": "output/autoCreator.js",
|
|
16
|
+
"prototype": {
|
|
17
|
+
"payload": null,
|
|
18
|
+
"imports": {
|
|
19
|
+
"nvm_ctrl_32bit_upb_v1": {
|
|
20
|
+
"interfaceId": {
|
|
21
|
+
"name": "nvm_ctrl_32bit_upb_v1",
|
|
22
|
+
"version": "1.0.0"
|
|
23
|
+
},
|
|
24
|
+
"isRequired": true
|
|
25
|
+
},
|
|
26
|
+
"system_16bit_initializer": {
|
|
27
|
+
"interfaceId": {
|
|
28
|
+
"name": "system-16bit-initializer",
|
|
29
|
+
"version": "^1.0.0"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"config_16bit_interface": {
|
|
33
|
+
"interfaceId": {
|
|
34
|
+
"name": "config-16bit-interface",
|
|
35
|
+
"version": "^1.0.0"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"interrupt_service": {
|
|
39
|
+
"interfaceId": {
|
|
40
|
+
"name": "interrupt-16bit-interface",
|
|
41
|
+
"version": "^1.0.0"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"exports": {
|
|
46
|
+
"flash_interface": {
|
|
47
|
+
"interfaces": [
|
|
48
|
+
{
|
|
49
|
+
"interfaceId": {
|
|
50
|
+
"name": "flash-interface",
|
|
51
|
+
"version": "1.3.1"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"isEntryPoint": false
|
|
58
|
+
}
|
|
16
59
|
},
|
|
17
60
|
"scf-automodule": {
|
|
18
61
|
"peripheral": {
|
|
@@ -36,12 +79,12 @@
|
|
|
36
79
|
"test": "jest",
|
|
37
80
|
"create-auto-module": "gulp create-auto-module --gulpfile config/gulpfile.js --cwd .",
|
|
38
81
|
"build-run-dir": "node config/extract-run-directory.js",
|
|
39
|
-
"build-latest-run-dir": "yarn add @microchip/run-directory &&
|
|
82
|
+
"build-latest-run-dir": "yarn add @microchip/run-directory && node config/extract-run-directory.js",
|
|
40
83
|
"dist": "gulp dist --gulpfile config/gulpfile.js --cwd .",
|
|
41
84
|
"lint:nofix": "eslint \"./src/**/*.{ts,tsx}\" --quiet",
|
|
42
85
|
"lint": "tsc --noEmit && yarn lint:nofix --fix",
|
|
43
86
|
"updateProject": "node config/create-auto-module.js --updateProject=true",
|
|
44
|
-
"update-auto-module": "yarn add @microchip/scf-automodule -D && yarn updateProject",
|
|
87
|
+
"update-auto-module": "yarn add @microchip/scf-automodule -D && yarn upgrade @microchip/melody-automodule-interface && yarn updateProject",
|
|
45
88
|
"postprocess": "node config/appendPrototype.js"
|
|
46
89
|
},
|
|
47
90
|
"husky": {
|
|
@@ -81,26 +124,26 @@
|
|
|
81
124
|
"@microchip/interrupt-16bit-interface": "^1.1.1",
|
|
82
125
|
"@microchip/pin-standard": "^0.6.0",
|
|
83
126
|
"@microchip/pins-interface": "^1.0.1",
|
|
84
|
-
"@microchip/scf-common": "^3.22.
|
|
127
|
+
"@microchip/scf-common": "^3.22.9",
|
|
85
128
|
"@microchip/scf-device": "^8.11.1",
|
|
86
129
|
"@microchip/scf-integration-test": "^1.0.0",
|
|
87
130
|
"@microchip/scf-interface": "^1.4.0",
|
|
88
|
-
"@microchip/scf-register-view-helper": "^2.
|
|
131
|
+
"@microchip/scf-register-view-helper": "^2.8.1",
|
|
89
132
|
"@microchip/system-16bit-initializer": "^1.0.0"
|
|
90
133
|
},
|
|
91
134
|
"devDependencies": {
|
|
92
135
|
"@babel/core": "^7.9.6",
|
|
93
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
136
|
+
"@babel/plugin-proposal-class-properties": "^7.10.1",
|
|
94
137
|
"@babel/preset-env": "^7.9.6",
|
|
95
138
|
"@babel/preset-react": "^7.9.4",
|
|
96
139
|
"@babel/preset-typescript": "^7.9.0",
|
|
97
140
|
"@mchp-mcc/pic-16bit-types": "5.13.0-dev.13",
|
|
98
141
|
"@microchip/initializer-system": "^0.5.3",
|
|
99
|
-
"@microchip/melody-automodule-interface": "^1.
|
|
142
|
+
"@microchip/melody-automodule-interface": "^1.15.7",
|
|
100
143
|
"@microchip/pic-8bit-types": "^4.1.5",
|
|
101
144
|
"@microchip/run-directory": "^4.3.2",
|
|
102
|
-
"@microchip/scf-automodule": "^5.
|
|
103
|
-
"@microchip/scf-automodule-impl": "^1.
|
|
145
|
+
"@microchip/scf-automodule": "^5.15.0",
|
|
146
|
+
"@microchip/scf-automodule-impl": "^1.17.0",
|
|
104
147
|
"@microchip/scf-autoview": "^3.32.5",
|
|
105
148
|
"@microchip/scf-project-scripts": "^1.0.0",
|
|
106
149
|
"@types/core-js": "^2.5.1",
|
|
@@ -125,7 +168,7 @@
|
|
|
125
168
|
"eslint-loader": "^4.0.2",
|
|
126
169
|
"eslint-plugin-prettier": "^3.1.3",
|
|
127
170
|
"eslint-plugin-react": "^7.20.0",
|
|
128
|
-
"fork-ts-checker-webpack-plugin": "^
|
|
171
|
+
"fork-ts-checker-webpack-plugin": "^8.0.0",
|
|
129
172
|
"fs": "^0.0.1-security",
|
|
130
173
|
"gulp": "^4.0.2",
|
|
131
174
|
"gulp-changed": "^4.0.2",
|
|
@@ -138,16 +181,16 @@
|
|
|
138
181
|
"jest": "^24.8.0",
|
|
139
182
|
"jest-html-reporter": "^2.5.0",
|
|
140
183
|
"jest-pnp-resolver": "^1.2.1",
|
|
141
|
-
"lint-staged": "^10.
|
|
184
|
+
"lint-staged": "^10.2.2",
|
|
142
185
|
"pnp-webpack-plugin": "^1.5.0",
|
|
143
186
|
"prettier": "^2.0.5",
|
|
144
187
|
"ts-jest": "^24.0.2",
|
|
145
188
|
"ts-pnp": "^1.1.2",
|
|
146
189
|
"typescript": "~4.5.5",
|
|
147
|
-
"webpack": "^
|
|
190
|
+
"webpack": "^5.92.1",
|
|
148
191
|
"webpack-cli": "^3.3.4",
|
|
149
192
|
"webpack-merge": "^4.2.2",
|
|
150
|
-
"webpack-stream": "^
|
|
193
|
+
"webpack-stream": "^7.0.0",
|
|
151
194
|
"yargs": "^13.2.4"
|
|
152
195
|
},
|
|
153
196
|
"description": "- Download & Install [nodejs](https://nodejs.org/en/download/)\r - Download & Install npm\r - Setup node & npm in enviroment path",
|
package/src/GeneratorModel.ts
CHANGED
|
@@ -31,7 +31,7 @@ class GeneratorModel {
|
|
|
31
31
|
//The template data is now responsible for getting all the information for the ftl's
|
|
32
32
|
const generatableItems = {
|
|
33
33
|
generatePLIBVersion: true,
|
|
34
|
-
PLIBVersion: "1.0.
|
|
34
|
+
PLIBVersion: "1.0.3",
|
|
35
35
|
disclaimer: "/*disclaimer*/",
|
|
36
36
|
generateInterfaceContent: derivedData.enableInterfaceDefinitionGeneration(),
|
|
37
37
|
moduleNameUpperCase: this.dataModel.getName().toLocaleUpperCase(),
|