@mchp-mcc/scf-pic8-osc-v1 4.3.1 → 4.3.2

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 ADDED
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ ## [4.3.2] - 2022-02-07
5
+
6
+ ### Bug Fixes
7
+ - **CC8SCRIP-6647** :- OSCCON2 & OSCSTAT (Read Only Registers) are being written in CLOCK_Initialize()
package/Readme.md CHANGED
@@ -1,4 +1,20 @@
1
+ # Clock Control (Oscillator Module)
2
+
3
+ ## Overview
4
+ The oscillator module contains multiple clock sources and selection features that allow it to be used in a wide range
5
+ of applications while maximizing performance and minimizing power consumption.
6
+ Clock sources can be supplied either internally or externally.
7
+
8
+ ## Generated Files
9
+ This driver generates the following files:
10
+ * ./mcc_generated_files/system/src/clock.c => A driver file initializes the clock registers
11
+ * ./mcc_generated_files/system/clock.h => A driver file containing the Clock initialization prototype
12
+
13
+
1
14
  # Changelog
15
+ All notable changes to this project will be documented in this file.
16
+
17
+ ## [4.3.2] - 2022-02-07
2
18
 
3
- ## [4.3.1]
4
- - Initial release version.
19
+ ### Bug Fixes
20
+ - **CC8SCRIP-6647** :- OSCCON2 & OSCSTAT (Read Only Registers) are being written in CLOCK_Initialize()
@@ -1,22 +1,13 @@
1
1
  /**
2
- @Generated ${moduleNameUpperCase} Source File
3
-
4
- @Company:
5
- Microchip Technology Inc.
6
-
7
- @File Name:
8
- clock.c
9
-
10
- @Summary:
11
- This is the clock.c file generated using ${productName}
12
-
13
- @Description:
14
- This header file provides implementations for driver APIs for all modules selected in the GUI.
15
- Generation Information :
16
- Driver Version : 2.00
17
- The generated drivers are tested against the following:
18
- Compiler : ${compiler}
19
- MPLAB : ${tool}
2
+ * CLOCK Generated Driver Source File
3
+ *
4
+ * @file clock.c
5
+ *
6
+ * @ingroup clockdriver
7
+ *
8
+ * @brief This is the generated driver implementation file for the CLOCK.
9
+ *
10
+ * @version Driver Version 2.0.2
20
11
  */
21
12
 
22
13
  ${disclaimer}
@@ -28,8 +19,10 @@ void CLOCK_Initialize(void)
28
19
  {
29
20
  // Set the ${moduleNameUpperCase} module to the options selected in the user interface.
30
21
  <#list initRegisters?values as reg>
22
+ <#if reg.name != "OSCCON2" && reg.name != "OSCSTAT" >
31
23
  // ${reg.comment}
32
24
  ${reg.name} = ${reg.valueAsHex};
25
+ </#if>
33
26
  </#list>
34
27
  }
35
28
  /**
@@ -1,22 +1,14 @@
1
1
  /**
2
- @Generated ${productName} Header File
3
-
4
- @Company:
5
- Microchip Technology Inc.
6
-
7
- @File Name:
8
- clock.h
9
-
10
- @Summary:
11
- This is the clock.h file generated using ${productName}
12
-
13
- @Description:
14
- This header file provides implementations for driver APIs for all modules selected in the GUI.
15
- Generation Information :
16
- Driver Version : 2.00
17
- The generated drivers are tested against the following:
18
- Compiler : ${compiler}
19
- MPLAB : ${tool}
2
+ * CLOCK Generated Driver Header File
3
+ *
4
+ * @file clock.h
5
+ *
6
+ * @defgroup clockdriver Clock Driver
7
+ *
8
+ * @brief This is the generated header file for the Clock driver.
9
+ *
10
+ * @version Driver Version 2.0.2
11
+ *
20
12
  */
21
13
 
22
14
  ${disclaimer}
@@ -28,6 +20,12 @@ ${disclaimer}
28
20
  #define _XTAL_FREQ ${deviceFrequency}
29
21
  #endif
30
22
 
23
+ /**
24
+ * @ingroup clockdriver
25
+ * @brief Initializes all the INTERNAL OSCILLATOR sources and clock switch configurations.
26
+ * @param None
27
+ * @return None
28
+ */
31
29
  void CLOCK_Initialize(void);
32
30
 
33
31
  #endif /* CLOCK_H */
package/output/creator.js CHANGED
@@ -1901,10 +1901,10 @@ process.umask = function() { return 0; };
1901
1901
  /*!**********************!*\
1902
1902
  !*** ./package.json ***!
1903
1903
  \**********************/
1904
- /*! exports provided: name, version, scf, scf-automodule, license, scripts, husky, lint-staged, files, repository, publishConfig, jest, dependencies, devDependencies, description, main, author, default */
1904
+ /*! exports provided: name, version, scf, scf-automodule, jenkinsPipeline, license, scripts, husky, lint-staged, files, repository, jest, dependencies, devDependencies, description, main, author, default */
1905
1905
  /***/ (function(module) {
1906
1906
 
1907
- module.exports = JSON.parse("{\"name\":\"@mchp-mcc/scf-pic8-osc-v1\",\"version\":\"4.3.1\",\"scf\":{\"reducer\":\"auto\",\"creator\":\"output/creator.js\",\"processor\":\"output/processor.js\",\"views\":{\"main\":\"auto\"},\"displayName\":\"Clock Control\",\"category\":\"System\",\"nullPrototype\":\"output/nullPrototype.json\"},\"scf-automodule\":{\"peripheral\":{\"deviceName\":\"PIC18F47Q43\",\"interfaceId\":{\"name\":\"scf-pic8-osc-v1\",\"version\":\"any\"},\"instance\":\"any\"},\"mode\":\"standard\",\"hookPaths\":{\"processor\":\"generated_module/src/processor.tsx\",\"creator\":\"generated_module/src/creator.tsx\"},\"shouldNotifyOnDeploy\":false},\"license\":\"SEE LICENSE IN LICENSE.txt\",\"scripts\":{\"build\":\"gulp build --gulpfile config/gulpfile.js --cwd .\",\"start\":\"gulp start --gulpfile config/gulpfile.js --cwd .\",\"test\":\"jest\",\"create-auto-module\":\"gulp create-auto-module --gulpfile config/gulpfile.js --cwd .\",\"get-latest-auto-module\":\"yarn add @microchip/scf-automodule -D\",\"build-run-dir\":\"node config/extract-run-directory.js\",\"build-latest-run-dir\":\"yarn add @microchip/run-directory && yarn build-run-dir\",\"dist\":\"gulp dist --gulpfile config/gulpfile.js --cwd .\",\"lint:nofix\":\"eslint \\\"./src/**/*.{ts,tsx}\\\" --quiet\",\"lint\":\"tsc --noEmit && yarn lint:nofix --fix\",\"updateProject\":\"node config/create-auto-module.js --updateProject=true\",\"build-dev\":\"gulp build --gulpfile config/gulpfile.js --buildDev --cwd .\",\"update-auto-module\":\"yarn add @microchip/scf-automodule -D && yarn updateProject\",\"build-prod\":\"gulp build --gulpfile config/gulpfile.js --production --cwd .\",\"build-run-dir-future\":\"node config/extract-run-directory-future.js\",\"profile\":\"jest profile\",\"release\":\"yarn build && yarn test && node -e 'require(\\\"./config/scf-project-scripts\\\").releaseProject()'\",\"test:itf:all\":\"node ./node_modules/@mchp-mcc/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run\",\"test:itf:dev\":\"node ./node_modules/@mchp-mcc/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=osc.major.test.ts --df=.*Q43\"},\"husky\":{\"hooks\":{\"pre-commit\":\"tsc --noEmit && lint-staged\"}},\"lint-staged\":{\"./src/**/*.{ts,tsx}\":[\"eslint --fix\"]},\"files\":[\"output/**/*\",\"config.json\",\"src/**/*\"],\"repository\":{\"type\":\"git\",\"url\":\"git+ssh://git@https://bitbucket.microchip.com/scm/cc8scrip/scf-pic8-osc-v1.git\"},\"publishConfig\":{\"registry\":\"https://artifacts.microchip.com/artifactory/api/npm/npm/\"},\"jest\":{\"testPathIgnorePatterns\":[\"/node_modules/\",\"/run/\",\"/generated_module/examples/\",\"/lib/\",\"/tests/itf/\"],\"modulePathIgnorePatterns\":[\"<rootDir>/run\"],\"preset\":\"ts-jest\",\"collectCoverage\":true},\"dependencies\":{\"@microchip/api-prefix-registration\":\"^0.1.0\",\"@microchip/basic_pin\":\"^1.0.2\",\"@microchip/config-request\":\"^2.0.2\",\"@microchip/fosc-hz\":\"^0.3.0\",\"@microchip/scf-automodule-interface\":\"^0.16.5\",\"@microchip/scf-common\":\"^3.10.0\",\"@microchip/scf-device\":\"^8.2.0\",\"@microchip/scf-integration-test\":\"^1.0.0\",\"@microchip/scf-interface\":\"^1.4.0\",\"@microchip/scf-register-view-helper\":\"^2.4.0\"},\"devDependencies\":{\"@babel/core\":\"^7.9.6\",\"@babel/plugin-proposal-class-properties\":\"^7.5.0\",\"@babel/preset-env\":\"^7.9.6\",\"@babel/preset-react\":\"^7.9.4\",\"@babel/preset-typescript\":\"^7.9.0\",\"@mchp-mcc/avr-8bit\":\"^4.2.6\",\"@mchp-mcc/ccl-itf\":\"^0.2.11\",\"@mchp-mcc/pic-8bit\":\"^5.4.1\",\"@mchp-mcc/pic-8bit-types\":\"^5.4.1\",\"@microchip/config-device\":\"^1.1.1\",\"@microchip/initializer-system\":\"^0.5.4\",\"@microchip/interrupt-vectored\":\"^1.2.0\",\"@microchip/osc-clocks\":\"^0.2.0\",\"@microchip/pic-8bit-types\":\"^5.0.1\",\"@microchip/pin-standard\":\"^0.2.14\",\"@microchip/run-directory\":\"^2.4.14\",\"@microchip/run-directory-future\":\"^1.1.17\",\"@microchip/scf-automodule\":\"^4.14.2\",\"@microchip/scf-autoview\":\"^3.17.0\",\"@microchip/scf-project-scripts\":\"^1.0.0\",\"@microchip/scf-server\":\"^1.5.10\",\"@types/core-js\":\"^2.5.1\",\"@types/enzyme\":\"^3.9.3\",\"@types/jest\":\"^24.0.14\",\"@types/node\":\"^12.0.10\",\"@types/properties-reader\":\"^0.0.1\",\"@types/semver\":\"^7.1.0\",\"@typescript-eslint/eslint-plugin\":\"^3.2.0\",\"@typescript-eslint/parser\":\"^3.6.0\",\"babel-eslint\":\"^10.1.0\",\"babel-loader\":\"^8.0.6\",\"babel-plugin-named-asset-import\":\"^0.3.2\",\"babel-preset-react-app\":\"^9.0.0\",\"del\":\"^4.1.1\",\"eslint\":\"^7.4.0\",\"eslint-config-prettier\":\"^6.11.0\",\"eslint-friendly-formatter\":\"^4.0.1\",\"eslint-loader\":\"^4.0.2\",\"eslint-plugin-prettier\":\"^3.1.3\",\"eslint-plugin-react\":\"^7.20.0\",\"fork-ts-checker-webpack-plugin\":\"^1.3.7\",\"fs\":\"^0.0.1-security\",\"gulp\":\"^4.0.2\",\"gulp-changed\":\"^4.0.2\",\"gulp-cli\":\"^2.2.0\",\"gulp-if\":\"^3.0.0\",\"gulp-typescript\":\"^5.0.1\",\"hard-source-webpack-plugin\":\"^0.13.1\",\"husky\":\"^4.2.4\",\"is-wsl\":\"^2.1.0\",\"jest\":\"^24.8.0\",\"jest-html-reporter\":\"^2.5.0\",\"jest-pnp-resolver\":\"^1.2.1\",\"lint-staged\":\"^10.1.3\",\"pnp-webpack-plugin\":\"^1.5.0\",\"prettier\":\"^2.0.5\",\"ts-jest\":\"^24.0.2\",\"ts-pnp\":\"^1.1.2\",\"typescript\":\"^4.0.5\",\"webpack\":\"^4.34.0\",\"webpack-cli\":\"^3.3.4\",\"webpack-merge\":\"^4.2.2\",\"webpack-stream\":\"^5.2.1\",\"yargs\":\"^13.2.4\"},\"description\":\"- Download & Install [nodejs](https://nodejs.org/en/download/)\\r - Download & Install npm\\r - Setup node & npm in enviroment path\",\"main\":\"lib/generated_module/src/index.js\",\"author\":\"\"}");
1907
+ module.exports = JSON.parse("{\"name\":\"@mchp-mcc/scf-pic8-osc-v1\",\"version\":\"4.3.2\",\"scf\":{\"reducer\":\"auto\",\"creator\":\"output/creator.js\",\"processor\":\"output/processor.js\",\"views\":{\"main\":\"auto\"},\"displayName\":\"Clock Control\",\"category\":\"System\",\"nullPrototype\":\"output/nullPrototype.json\"},\"scf-automodule\":{\"peripheral\":{\"deviceName\":\"PIC18F47Q43\",\"interfaceId\":{\"name\":\"scf-pic8-osc-v1\",\"version\":\"any\"},\"instance\":\"any\"},\"mode\":\"standard\",\"hookPaths\":{\"processor\":\"generated_module/src/processor.tsx\",\"creator\":\"generated_module/src/creator.tsx\"},\"shouldNotifyOnDeploy\":false},\"jenkinsPipeline\":\"MCU8_DS_PIPELINE_1XY\",\"license\":\"SEE LICENSE IN LICENSE.txt\",\"scripts\":{\"build\":\"gulp build --gulpfile config/gulpfile.js --cwd .\",\"start\":\"gulp start --gulpfile config/gulpfile.js --cwd .\",\"test\":\"jest\",\"create-auto-module\":\"gulp create-auto-module --gulpfile config/gulpfile.js --cwd .\",\"get-latest-auto-module\":\"yarn add @microchip/scf-automodule -D\",\"build-run-dir\":\"node config/extract-run-directory.js\",\"build-latest-run-dir\":\"yarn add @microchip/run-directory && yarn build-run-dir\",\"dist\":\"gulp dist --gulpfile config/gulpfile.js --cwd .\",\"lint:nofix\":\"eslint \\\"./src/**/*.{ts,tsx}\\\" --quiet\",\"lint\":\"tsc --noEmit && yarn lint:nofix --fix\",\"updateProject\":\"node config/create-auto-module.js --updateProject=true\",\"build-dev\":\"gulp build --gulpfile config/gulpfile.js --buildDev --cwd .\",\"update-auto-module\":\"yarn add @microchip/scf-automodule -D && yarn updateProject\",\"build-prod\":\"gulp build --gulpfile config/gulpfile.js --production --cwd .\",\"build-run-dir-future\":\"node config/extract-run-directory-future.js\",\"profile\":\"jest profile\",\"release\":\"yarn build && yarn test && node -e 'require(\\\"./config/scf-project-scripts\\\").releaseProject()'\",\"test:itf:all\":\"node ./node_modules/@mchp-mcc/ccl-itf/lib/index.js --sp=tests/itf --rd=run --df=\\\"PIC18F57Q43|PIC16F18877|PIC16LF18875|PIC18F16Q40|PIC18F16Q41|PIC18F47Q10\\\"\",\"test:itf:dev\":\"node ./node_modules/@mchp-mcc/ccl-itf/lib/index.js --sp=tests/itf --rd=run --sf=osc.major.test.ts --df=\\\"PIC18F57Q43|PIC16F18877|PIC16LF18875|PIC18F16Q40|PIC18F16Q41|PIC18F47Q10\\\"\"},\"husky\":{\"hooks\":{\"pre-commit\":\"tsc --noEmit && lint-staged\"}},\"lint-staged\":{\"./src/**/*.{ts,tsx}\":[\"eslint --fix\"]},\"files\":[\"output/**/*\",\"config.json\",\"src/**/*\"],\"repository\":{\"type\":\"git\",\"url\":\"git+ssh://git@https://bitbucket.microchip.com/scm/cc8scrip/scf-pic8-osc-v1.git\"},\"jest\":{\"testPathIgnorePatterns\":[\"/node_modules/\",\"/run/\",\"/generated_module/examples/\",\"/lib/\",\"/tests/itf/\"],\"modulePathIgnorePatterns\":[\"<rootDir>/run\"],\"preset\":\"ts-jest\",\"collectCoverage\":true,\"coverageThreshold\":{\"./src\":{\"branches\":80,\"functions\":80,\"lines\":80,\"statements\":80}}},\"dependencies\":{\"@microchip/api-prefix-registration\":\"^0.1.0\",\"@microchip/basic_pin\":\"^1.0.2\",\"@microchip/config-request\":\"^2.0.2\",\"@microchip/fosc-hz\":\"^0.3.0\",\"@microchip/scf-automodule-interface\":\"^0.16.5\",\"@microchip/scf-common\":\"^3.10.0\",\"@microchip/scf-device\":\"^8.2.0\",\"@microchip/scf-integration-test\":\"^1.0.0\",\"@microchip/scf-interface\":\"^1.4.0\",\"@microchip/scf-register-view-helper\":\"^2.4.0\",\"babel-jest\":\"^27.0.6\"},\"devDependencies\":{\"@babel/core\":\"^7.9.6\",\"@babel/plugin-proposal-class-properties\":\"^7.5.0\",\"@babel/preset-env\":\"^7.9.6\",\"@babel/preset-react\":\"^7.9.4\",\"@babel/preset-typescript\":\"^7.9.0\",\"@mchp-mcc/avr-8bit\":\"^4.2.6\",\"@mchp-mcc/ccl-itf\":\"^0.2.13\",\"@mchp-mcc/pic-8bit\":\"^5.4.5-dev2\",\"@mchp-mcc/pic-8bit-types\":\"^5.4.1\",\"@microchip/config-device\":\"^1.1.1\",\"@microchip/initializer-system\":\"^0.5.4\",\"@microchip/interrupt-vectored\":\"^1.2.0\",\"@microchip/osc-clocks\":\"^0.2.0\",\"@microchip/pic-8bit-types\":\"^5.0.1\",\"@microchip/pin-standard\":\"^0.2.14\",\"@microchip/run-directory\":\"^2.4.28\",\"@microchip/run-directory-future\":\"^1.1.17\",\"@microchip/scf-automodule\":\"^4.14.5\",\"@microchip/scf-autoview\":\"^3.17.0\",\"@microchip/scf-project-scripts\":\"^1.0.0\",\"@microchip/scf-server\":\"^1.5.10\",\"@types/core-js\":\"^2.5.1\",\"@types/enzyme\":\"^3.9.3\",\"@types/jest\":\"^24.0.14\",\"@types/node\":\"^12.0.10\",\"@types/properties-reader\":\"^0.0.1\",\"@types/semver\":\"^7.1.0\",\"@typescript-eslint/eslint-plugin\":\"^3.2.0\",\"@typescript-eslint/parser\":\"^3.6.0\",\"babel-eslint\":\"^10.1.0\",\"babel-loader\":\"^8.0.6\",\"babel-plugin-named-asset-import\":\"^0.3.2\",\"babel-preset-react-app\":\"^9.0.0\",\"del\":\"^4.1.1\",\"eslint\":\"^7.4.0\",\"eslint-config-prettier\":\"^6.11.0\",\"eslint-friendly-formatter\":\"^4.0.1\",\"eslint-loader\":\"^4.0.2\",\"eslint-plugin-prettier\":\"^3.1.3\",\"eslint-plugin-react\":\"^7.20.0\",\"fork-ts-checker-webpack-plugin\":\"^1.3.7\",\"fs\":\"^0.0.1-security\",\"gulp\":\"^4.0.2\",\"gulp-changed\":\"^4.0.2\",\"gulp-cli\":\"^2.2.0\",\"gulp-if\":\"^3.0.0\",\"gulp-typescript\":\"^5.0.1\",\"hard-source-webpack-plugin\":\"^0.13.1\",\"husky\":\"^4.2.4\",\"is-wsl\":\"^2.1.0\",\"jest\":\"^27.0.6\",\"jest-html-reporter\":\"^2.5.0\",\"jest-pnp-resolver\":\"^1.2.1\",\"lint-staged\":\"^10.1.3\",\"pnp-webpack-plugin\":\"^1.5.0\",\"prettier\":\"^2.0.5\",\"ts-jest\":\"^27.0.3\",\"ts-pnp\":\"^1.1.2\",\"typescript\":\"^4.0.5\",\"webpack\":\"^4.34.0\",\"webpack-cli\":\"^3.3.4\",\"webpack-merge\":\"^4.2.2\",\"webpack-stream\":\"^5.2.1\",\"yargs\":\"^13.2.4\"},\"description\":\"- Download & Install [nodejs](https://nodejs.org/en/download/)\\r - Download & Install npm\\r - Setup node & npm in enviroment path\",\"main\":\"lib/generated_module/src/index.js\",\"author\":\"\"}");
1908
1908
 
1909
1909
  /***/ }),
1910
1910
 
@@ -322,7 +322,9 @@ var AppModel = /*#__PURE__*/function () {
322
322
  };
323
323
 
324
324
  this.getAssignedImport = function (importName) {
325
- if (_this.prototype.imports[importName] && _microchip_scf_common_lib_Processor__WEBPACK_IMPORTED_MODULE_0__["isAssigned"](_this.prototype.imports[importName])) {
325
+ var _this$prototype$impor;
326
+
327
+ if (((_this$prototype$impor = _this.prototype.imports) === null || _this$prototype$impor === void 0 ? void 0 : _this$prototype$impor[importName]) && _microchip_scf_common_lib_Processor__WEBPACK_IMPORTED_MODULE_0__["isAssigned"](_this.prototype.imports[importName])) {
326
328
  return _this.prototype.imports[importName];
327
329
  }
328
330
 
@@ -1672,19 +1674,30 @@ var createAutoViewPayloads = function createAutoViewPayloads(model, config) {
1672
1674
 
1673
1675
 
1674
1676
  var components = model.getAutoModuleAppModel().getAllComponents();
1677
+ var isGroupHidden = {};
1675
1678
  (_values2 = Object(_Utils__WEBPACK_IMPORTED_MODULE_4__["values"])(components !== null && components !== void 0 ? components : {})) === null || _values2 === void 0 ? void 0 : _values2.forEach(function (entry) {
1676
- var _entry$component$tabs;
1679
+ var _component$tabs$index, _component$tabs;
1680
+
1681
+ var component = entry.component;
1682
+ var tabIndex = (_component$tabs$index = (_component$tabs = component.tabs) === null || _component$tabs === void 0 ? void 0 : _component$tabs.indexOf(tab)) !== null && _component$tabs$index !== void 0 ? _component$tabs$index : -1;
1683
+ if (tabIndex === -1) return;
1684
+ var isComponentGroupHidden = isGroupHidden[component.group] === undefined || isGroupHidden[component.group] === true;
1677
1685
 
1678
- if (((_entry$component$tabs = entry.component.tabs) === null || _entry$component$tabs === void 0 ? void 0 : _entry$component$tabs.indexOf(tab)) == -1) return;
1686
+ if (isComponentGroupHidden) {
1687
+ var _ref, _component$uiBehavior;
1679
1688
 
1680
- if (entry.component.category === "table") {
1681
- var table = entry.component;
1689
+ var isHidden = (_ref = ((_component$uiBehavior = component.uiBehavior) === null || _component$uiBehavior === void 0 ? void 0 : _component$uiBehavior["ui:widget"]) === "hidden") !== null && _ref !== void 0 ? _ref : false;
1690
+ isGroupHidden[component.group] = isHidden;
1691
+ }
1692
+
1693
+ if (component.category === "table") {
1694
+ var table = component;
1682
1695
  var tableCols = table.columns;
1683
1696
  var colNames = Object.keys(tableCols);
1684
1697
  var columns = [];
1685
1698
  var defaultColumnWidth = Object(_tables_tables__WEBPACK_IMPORTED_MODULE_5__["calculateColumnWidth"])(tableCols);
1686
1699
  colNames.forEach(function (name) {
1687
- var _ref, _tableCols$name$heade, _ref2, _tableCols$name$dataA, _tableCols$name;
1700
+ var _ref2, _tableCols$name$heade, _ref3, _tableCols$name$dataA, _tableCols$name;
1688
1701
 
1689
1702
  var isColEditable = !tableCols[name].readonly;
1690
1703
  columns.push({
@@ -1693,17 +1706,23 @@ var createAutoViewPayloads = function createAutoViewPayloads(model, config) {
1693
1706
  columnWidth: tableCols[name].columnWidth ? tableCols[name].columnWidth + "%" : defaultColumnWidth,
1694
1707
  width: tableCols[name].width ? tableCols[name].width + "%" : defaultColumnWidth,
1695
1708
  dataSort: tableCols[name].isSortable,
1696
- headerAlign: (_ref = (_tableCols$name$heade = tableCols[name].headerAlign) !== null && _tableCols$name$heade !== void 0 ? _tableCols$name$heade : tableCols[name].dataAlign) !== null && _ref !== void 0 ? _ref : "left",
1697
- dataAlign: (_ref2 = (_tableCols$name$dataA = tableCols[name].dataAlign) !== null && _tableCols$name$dataA !== void 0 ? _tableCols$name$dataA : tableCols[name].headerAlign) !== null && _ref2 !== void 0 ? _ref2 : "left",
1709
+ headerAlign: (_ref2 = (_tableCols$name$heade = tableCols[name].headerAlign) !== null && _tableCols$name$heade !== void 0 ? _tableCols$name$heade : tableCols[name].dataAlign) !== null && _ref2 !== void 0 ? _ref2 : "left",
1710
+ dataAlign: (_ref3 = (_tableCols$name$dataA = tableCols[name].dataAlign) !== null && _tableCols$name$dataA !== void 0 ? _tableCols$name$dataA : tableCols[name].headerAlign) !== null && _ref3 !== void 0 ? _ref3 : "left",
1698
1711
  tdStyle: Object(_tables_tables__WEBPACK_IMPORTED_MODULE_5__["getCellStyle"])(tableCols[name].readonly),
1699
1712
  headerText: (_tableCols$name = tableCols[name]) === null || _tableCols$name === void 0 ? void 0 : _tableCols$name["columnTip"]
1700
1713
  });
1701
1714
  });
1702
1715
  uiSchema[table.group] = _objectSpread(_objectSpread({}, uiSchema[table.group]), {}, _defineProperty({}, table.name, Object(_tables_tables__WEBPACK_IMPORTED_MODULE_5__["getTableUiSchema"])(table, columns)));
1703
1716
  } else {
1704
- uiSchema[entry.component.group] = _objectSpread(_objectSpread({}, uiSchema[entry.component.group]), {}, _defineProperty({}, entry.component.name, _objectSpread(_objectSpread({}, getUiBehavior(entry.component)), getUiSchemaExportArg(entry.component.name))));
1717
+ uiSchema[component.group] = _objectSpread(_objectSpread({}, uiSchema[component.group]), {}, _defineProperty({}, component.name, _objectSpread(_objectSpread({}, getUiBehavior(component)), getUiSchemaExportArg(component.name))));
1705
1718
  }
1706
1719
  });
1720
+
1721
+ for (var group in isGroupHidden) {
1722
+ if (isGroupHidden[group]) {
1723
+ uiSchema[group] = _objectSpread(_objectSpread({}, uiSchema[group]), {}, _defineProperty({}, "ui:widget", "hidden"));
1724
+ }
1725
+ }
1707
1726
  }
1708
1727
 
1709
1728
  return uiSchema;
@@ -1746,8 +1765,6 @@ var createAutoViewPayloads = function createAutoViewPayloads(model, config) {
1746
1765
 
1747
1766
  var components = model.getAutoModuleAppModel().getAllComponents();
1748
1767
  (_values4 = Object(_Utils__WEBPACK_IMPORTED_MODULE_4__["values"])(components)) === null || _values4 === void 0 ? void 0 : _values4.forEach(function (entry) {
1749
- var _deviceMeta$hasSdlSup;
1750
-
1751
1768
  var component = entry.component;
1752
1769
  if (component.tabs.indexOf(tab) == -1) return;
1753
1770
 
@@ -1761,13 +1778,18 @@ var createAutoViewPayloads = function createAutoViewPayloads(model, config) {
1761
1778
 
1762
1779
  var actions = component.category === "import" ? getDependencySelectorActions(component) : getActions(component);
1763
1780
  var transformErrors = model.getDerivedFunction("getCustomUiErrors", component.name);
1764
- var deviceMeta = model.getImportValue("device_meta");
1765
- var hasSdlSupport = (_deviceMeta$hasSdlSup = deviceMeta === null || deviceMeta === void 0 ? void 0 : deviceMeta.hasSdlSupport) !== null && _deviceMeta$hasSdlSup !== void 0 ? _deviceMeta$hasSdlSup : false;
1766
1781
 
1767
- if (component.sdlHelp && hasSdlSupport) {
1768
- var _model$getDerivedFunc9;
1782
+ if (model.getImports()) {
1783
+ var _deviceMeta$hasSdlSup;
1784
+
1785
+ var deviceMeta = model.getImportValue("device_meta");
1786
+ var hasSdlSupport = (_deviceMeta$hasSdlSup = deviceMeta === null || deviceMeta === void 0 ? void 0 : deviceMeta.hasSdlSupport) !== null && _deviceMeta$hasSdlSup !== void 0 ? _deviceMeta$hasSdlSup : false;
1769
1787
 
1770
- scfUiSchema[component.group][component.name]["helpKeyword"] = (_model$getDerivedFunc9 = model.getDerivedFunction("getHelpUrl", component.name, component.sdlHelp.url)) !== null && _model$getDerivedFunc9 !== void 0 ? _model$getDerivedFunc9 : Object(_ContextualHelp__WEBPACK_IMPORTED_MODULE_6__["getAutoSdlHelp"])(model, component.name, component.sdlHelp.url);
1788
+ if (component.sdlHelp && hasSdlSupport) {
1789
+ var _model$getDerivedFunc9;
1790
+
1791
+ scfUiSchema[component.group][component.name]["helpKeyword"] = (_model$getDerivedFunc9 = model.getDerivedFunction("getHelpUrl", component.name, component.sdlHelp.url)) !== null && _model$getDerivedFunc9 !== void 0 ? _model$getDerivedFunc9 : Object(_ContextualHelp__WEBPACK_IMPORTED_MODULE_6__["getAutoSdlHelp"])(model, component.name, component.sdlHelp.url);
1792
+ }
1771
1793
  }
1772
1794
 
1773
1795
  if (component.category === "table") {
@@ -2037,18 +2059,18 @@ var createAutoViewPayloads = function createAutoViewPayloads(model, config) {
2037
2059
  var uiBehavior = {};
2038
2060
 
2039
2061
  if (component.uiBehavior) {
2040
- var _getKeys4, _component$uiBehavior;
2062
+ var _getKeys4, _component$uiBehavior2;
2041
2063
 
2042
- (_getKeys4 = Object(_Utils__WEBPACK_IMPORTED_MODULE_4__["getKeys"])((_component$uiBehavior = component.uiBehavior) !== null && _component$uiBehavior !== void 0 ? _component$uiBehavior : {})) === null || _getKeys4 === void 0 ? void 0 : _getKeys4.forEach(function (key) {
2043
- var _component$uiBehavior2, _component$uiBehavior3;
2064
+ (_getKeys4 = Object(_Utils__WEBPACK_IMPORTED_MODULE_4__["getKeys"])((_component$uiBehavior2 = component.uiBehavior) !== null && _component$uiBehavior2 !== void 0 ? _component$uiBehavior2 : {})) === null || _getKeys4 === void 0 ? void 0 : _getKeys4.forEach(function (key) {
2065
+ var _component$uiBehavior3, _component$uiBehavior4;
2044
2066
 
2045
2067
  switch (key) {
2046
2068
  case "readonly":
2047
- uiBehavior["ui:readonly"] = (_component$uiBehavior2 = component.uiBehavior) === null || _component$uiBehavior2 === void 0 ? void 0 : _component$uiBehavior2[key];
2069
+ uiBehavior["ui:readonly"] = (_component$uiBehavior3 = component.uiBehavior) === null || _component$uiBehavior3 === void 0 ? void 0 : _component$uiBehavior3[key];
2048
2070
  break;
2049
2071
 
2050
2072
  default:
2051
- uiBehavior[key] = (_component$uiBehavior3 = component.uiBehavior) === null || _component$uiBehavior3 === void 0 ? void 0 : _component$uiBehavior3[key];
2073
+ uiBehavior[key] = (_component$uiBehavior4 = component.uiBehavior) === null || _component$uiBehavior4 === void 0 ? void 0 : _component$uiBehavior4[key];
2052
2074
  break;
2053
2075
  }
2054
2076
  });
@@ -2132,11 +2154,11 @@ var createAutoViewPayloads = function createAutoViewPayloads(model, config) {
2132
2154
  var interrupt = interrupts === null || interrupts === void 0 ? void 0 : interrupts[interruptsKey];
2133
2155
 
2134
2156
  if (interrupt) {
2135
- var _ref3, _interruptComponent$c, _interruptComponent$c2, _interruptComponent$c3;
2157
+ var _ref4, _interruptComponent$c, _interruptComponent$c2, _interruptComponent$c3;
2136
2158
 
2137
2159
  var interruptComponent = model.getComponent(interruptsKey.toLowerCase());
2138
2160
  var interruptCompVal = typeof (interruptComponent === null || interruptComponent === void 0 ? void 0 : interruptComponent.value) === "boolean" ? (interruptComponent === null || interruptComponent === void 0 ? void 0 : interruptComponent.value) ? "enabled" : "disabled" : interruptComponent === null || interruptComponent === void 0 ? void 0 : interruptComponent.value;
2139
- registerView.withInterruptValue(interrupt, (_ref3 = interruptCompVal !== null && interruptCompVal !== void 0 ? interruptCompVal : interrupt.defaultValue) !== null && _ref3 !== void 0 ? _ref3 : "disabled").withInterruptOptions(interrupt, (_interruptComponent$c = interruptComponent === null || interruptComponent === void 0 ? void 0 : (_interruptComponent$c2 = interruptComponent.component) === null || _interruptComponent$c2 === void 0 ? void 0 : (_interruptComponent$c3 = _interruptComponent$c2["defaultValue"]) === null || _interruptComponent$c3 === void 0 ? void 0 : _interruptComponent$c3.options) !== null && _interruptComponent$c !== void 0 ? _interruptComponent$c : ["enabled", "disabled"]);
2161
+ registerView.withInterruptValue(interrupt, (_ref4 = interruptCompVal !== null && interruptCompVal !== void 0 ? interruptCompVal : interrupt.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : "disabled").withInterruptOptions(interrupt, (_interruptComponent$c = interruptComponent === null || interruptComponent === void 0 ? void 0 : (_interruptComponent$c2 = interruptComponent.component) === null || _interruptComponent$c2 === void 0 ? void 0 : (_interruptComponent$c3 = _interruptComponent$c2["defaultValue"]) === null || _interruptComponent$c3 === void 0 ? void 0 : _interruptComponent$c3.options) !== null && _interruptComponent$c !== void 0 ? _interruptComponent$c : ["enabled", "disabled"]);
2140
2162
  }
2141
2163
  }
2142
2164
 
@@ -3806,6 +3828,20 @@ function overrideDefaultsAndFilterRows(rowChanged, initialFormData, columns, tab
3806
3828
  function createTableUids(component, tab, model, tableState) {
3807
3829
  var table = component;
3808
3830
  var dynamicTableData = model === null || model === void 0 ? void 0 : model.getDerivedFunction(component.name, component, model, tab);
3831
+
3832
+ if (dynamicTableData) {
3833
+ var uidMap = {};
3834
+ var rowNum = 0;
3835
+ dynamicTableData.forEach(function (entry) {
3836
+ var uid = entry === null || entry === void 0 ? void 0 : entry.uid;
3837
+
3838
+ if (uid !== undefined) {
3839
+ uidMap[uid] = rowNum++;
3840
+ }
3841
+ });
3842
+ return uidMap;
3843
+ }
3844
+
3809
3845
  var rowData = table["rowData"];
3810
3846
 
3811
3847
  if (!dynamicTableData && rowData) {
@@ -6382,10 +6418,10 @@ process.umask = function() { return 0; };
6382
6418
  /*!**********************!*\
6383
6419
  !*** ./package.json ***!
6384
6420
  \**********************/
6385
- /*! exports provided: name, version, scf, scf-automodule, license, scripts, husky, lint-staged, files, repository, publishConfig, jest, dependencies, devDependencies, description, main, author, default */
6421
+ /*! exports provided: name, version, scf, scf-automodule, jenkinsPipeline, license, scripts, husky, lint-staged, files, repository, jest, dependencies, devDependencies, description, main, author, default */
6386
6422
  /***/ (function(module) {
6387
6423
 
6388
- module.exports = JSON.parse("{\"name\":\"@mchp-mcc/scf-pic8-osc-v1\",\"version\":\"4.3.1\",\"scf\":{\"reducer\":\"auto\",\"creator\":\"output/creator.js\",\"processor\":\"output/processor.js\",\"views\":{\"main\":\"auto\"},\"displayName\":\"Clock Control\",\"category\":\"System\",\"nullPrototype\":\"output/nullPrototype.json\"},\"scf-automodule\":{\"peripheral\":{\"deviceName\":\"PIC18F47Q43\",\"interfaceId\":{\"name\":\"scf-pic8-osc-v1\",\"version\":\"any\"},\"instance\":\"any\"},\"mode\":\"standard\",\"hookPaths\":{\"processor\":\"generated_module/src/processor.tsx\",\"creator\":\"generated_module/src/creator.tsx\"},\"shouldNotifyOnDeploy\":false},\"license\":\"SEE LICENSE IN LICENSE.txt\",\"scripts\":{\"build\":\"gulp build --gulpfile config/gulpfile.js --cwd .\",\"start\":\"gulp start --gulpfile config/gulpfile.js --cwd .\",\"test\":\"jest\",\"create-auto-module\":\"gulp create-auto-module --gulpfile config/gulpfile.js --cwd .\",\"get-latest-auto-module\":\"yarn add @microchip/scf-automodule -D\",\"build-run-dir\":\"node config/extract-run-directory.js\",\"build-latest-run-dir\":\"yarn add @microchip/run-directory && yarn build-run-dir\",\"dist\":\"gulp dist --gulpfile config/gulpfile.js --cwd .\",\"lint:nofix\":\"eslint \\\"./src/**/*.{ts,tsx}\\\" --quiet\",\"lint\":\"tsc --noEmit && yarn lint:nofix --fix\",\"updateProject\":\"node config/create-auto-module.js --updateProject=true\",\"build-dev\":\"gulp build --gulpfile config/gulpfile.js --buildDev --cwd .\",\"update-auto-module\":\"yarn add @microchip/scf-automodule -D && yarn updateProject\",\"build-prod\":\"gulp build --gulpfile config/gulpfile.js --production --cwd .\",\"build-run-dir-future\":\"node config/extract-run-directory-future.js\",\"profile\":\"jest profile\",\"release\":\"yarn build && yarn test && node -e 'require(\\\"./config/scf-project-scripts\\\").releaseProject()'\",\"test:itf:all\":\"node ./node_modules/@mchp-mcc/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run\",\"test:itf:dev\":\"node ./node_modules/@mchp-mcc/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=osc.major.test.ts --df=.*Q43\"},\"husky\":{\"hooks\":{\"pre-commit\":\"tsc --noEmit && lint-staged\"}},\"lint-staged\":{\"./src/**/*.{ts,tsx}\":[\"eslint --fix\"]},\"files\":[\"output/**/*\",\"config.json\",\"src/**/*\"],\"repository\":{\"type\":\"git\",\"url\":\"git+ssh://git@https://bitbucket.microchip.com/scm/cc8scrip/scf-pic8-osc-v1.git\"},\"publishConfig\":{\"registry\":\"https://artifacts.microchip.com/artifactory/api/npm/npm/\"},\"jest\":{\"testPathIgnorePatterns\":[\"/node_modules/\",\"/run/\",\"/generated_module/examples/\",\"/lib/\",\"/tests/itf/\"],\"modulePathIgnorePatterns\":[\"<rootDir>/run\"],\"preset\":\"ts-jest\",\"collectCoverage\":true},\"dependencies\":{\"@microchip/api-prefix-registration\":\"^0.1.0\",\"@microchip/basic_pin\":\"^1.0.2\",\"@microchip/config-request\":\"^2.0.2\",\"@microchip/fosc-hz\":\"^0.3.0\",\"@microchip/scf-automodule-interface\":\"^0.16.5\",\"@microchip/scf-common\":\"^3.10.0\",\"@microchip/scf-device\":\"^8.2.0\",\"@microchip/scf-integration-test\":\"^1.0.0\",\"@microchip/scf-interface\":\"^1.4.0\",\"@microchip/scf-register-view-helper\":\"^2.4.0\"},\"devDependencies\":{\"@babel/core\":\"^7.9.6\",\"@babel/plugin-proposal-class-properties\":\"^7.5.0\",\"@babel/preset-env\":\"^7.9.6\",\"@babel/preset-react\":\"^7.9.4\",\"@babel/preset-typescript\":\"^7.9.0\",\"@mchp-mcc/avr-8bit\":\"^4.2.6\",\"@mchp-mcc/ccl-itf\":\"^0.2.11\",\"@mchp-mcc/pic-8bit\":\"^5.4.1\",\"@mchp-mcc/pic-8bit-types\":\"^5.4.1\",\"@microchip/config-device\":\"^1.1.1\",\"@microchip/initializer-system\":\"^0.5.4\",\"@microchip/interrupt-vectored\":\"^1.2.0\",\"@microchip/osc-clocks\":\"^0.2.0\",\"@microchip/pic-8bit-types\":\"^5.0.1\",\"@microchip/pin-standard\":\"^0.2.14\",\"@microchip/run-directory\":\"^2.4.14\",\"@microchip/run-directory-future\":\"^1.1.17\",\"@microchip/scf-automodule\":\"^4.14.2\",\"@microchip/scf-autoview\":\"^3.17.0\",\"@microchip/scf-project-scripts\":\"^1.0.0\",\"@microchip/scf-server\":\"^1.5.10\",\"@types/core-js\":\"^2.5.1\",\"@types/enzyme\":\"^3.9.3\",\"@types/jest\":\"^24.0.14\",\"@types/node\":\"^12.0.10\",\"@types/properties-reader\":\"^0.0.1\",\"@types/semver\":\"^7.1.0\",\"@typescript-eslint/eslint-plugin\":\"^3.2.0\",\"@typescript-eslint/parser\":\"^3.6.0\",\"babel-eslint\":\"^10.1.0\",\"babel-loader\":\"^8.0.6\",\"babel-plugin-named-asset-import\":\"^0.3.2\",\"babel-preset-react-app\":\"^9.0.0\",\"del\":\"^4.1.1\",\"eslint\":\"^7.4.0\",\"eslint-config-prettier\":\"^6.11.0\",\"eslint-friendly-formatter\":\"^4.0.1\",\"eslint-loader\":\"^4.0.2\",\"eslint-plugin-prettier\":\"^3.1.3\",\"eslint-plugin-react\":\"^7.20.0\",\"fork-ts-checker-webpack-plugin\":\"^1.3.7\",\"fs\":\"^0.0.1-security\",\"gulp\":\"^4.0.2\",\"gulp-changed\":\"^4.0.2\",\"gulp-cli\":\"^2.2.0\",\"gulp-if\":\"^3.0.0\",\"gulp-typescript\":\"^5.0.1\",\"hard-source-webpack-plugin\":\"^0.13.1\",\"husky\":\"^4.2.4\",\"is-wsl\":\"^2.1.0\",\"jest\":\"^24.8.0\",\"jest-html-reporter\":\"^2.5.0\",\"jest-pnp-resolver\":\"^1.2.1\",\"lint-staged\":\"^10.1.3\",\"pnp-webpack-plugin\":\"^1.5.0\",\"prettier\":\"^2.0.5\",\"ts-jest\":\"^24.0.2\",\"ts-pnp\":\"^1.1.2\",\"typescript\":\"^4.0.5\",\"webpack\":\"^4.34.0\",\"webpack-cli\":\"^3.3.4\",\"webpack-merge\":\"^4.2.2\",\"webpack-stream\":\"^5.2.1\",\"yargs\":\"^13.2.4\"},\"description\":\"- Download & Install [nodejs](https://nodejs.org/en/download/)\\r - Download & Install npm\\r - Setup node & npm in enviroment path\",\"main\":\"lib/generated_module/src/index.js\",\"author\":\"\"}");
6424
+ module.exports = JSON.parse("{\"name\":\"@mchp-mcc/scf-pic8-osc-v1\",\"version\":\"4.3.2\",\"scf\":{\"reducer\":\"auto\",\"creator\":\"output/creator.js\",\"processor\":\"output/processor.js\",\"views\":{\"main\":\"auto\"},\"displayName\":\"Clock Control\",\"category\":\"System\",\"nullPrototype\":\"output/nullPrototype.json\"},\"scf-automodule\":{\"peripheral\":{\"deviceName\":\"PIC18F47Q43\",\"interfaceId\":{\"name\":\"scf-pic8-osc-v1\",\"version\":\"any\"},\"instance\":\"any\"},\"mode\":\"standard\",\"hookPaths\":{\"processor\":\"generated_module/src/processor.tsx\",\"creator\":\"generated_module/src/creator.tsx\"},\"shouldNotifyOnDeploy\":false},\"jenkinsPipeline\":\"MCU8_DS_PIPELINE_1XY\",\"license\":\"SEE LICENSE IN LICENSE.txt\",\"scripts\":{\"build\":\"gulp build --gulpfile config/gulpfile.js --cwd .\",\"start\":\"gulp start --gulpfile config/gulpfile.js --cwd .\",\"test\":\"jest\",\"create-auto-module\":\"gulp create-auto-module --gulpfile config/gulpfile.js --cwd .\",\"get-latest-auto-module\":\"yarn add @microchip/scf-automodule -D\",\"build-run-dir\":\"node config/extract-run-directory.js\",\"build-latest-run-dir\":\"yarn add @microchip/run-directory && yarn build-run-dir\",\"dist\":\"gulp dist --gulpfile config/gulpfile.js --cwd .\",\"lint:nofix\":\"eslint \\\"./src/**/*.{ts,tsx}\\\" --quiet\",\"lint\":\"tsc --noEmit && yarn lint:nofix --fix\",\"updateProject\":\"node config/create-auto-module.js --updateProject=true\",\"build-dev\":\"gulp build --gulpfile config/gulpfile.js --buildDev --cwd .\",\"update-auto-module\":\"yarn add @microchip/scf-automodule -D && yarn updateProject\",\"build-prod\":\"gulp build --gulpfile config/gulpfile.js --production --cwd .\",\"build-run-dir-future\":\"node config/extract-run-directory-future.js\",\"profile\":\"jest profile\",\"release\":\"yarn build && yarn test && node -e 'require(\\\"./config/scf-project-scripts\\\").releaseProject()'\",\"test:itf:all\":\"node ./node_modules/@mchp-mcc/ccl-itf/lib/index.js --sp=tests/itf --rd=run --df=\\\"PIC18F57Q43|PIC16F18877|PIC16LF18875|PIC18F16Q40|PIC18F16Q41|PIC18F47Q10\\\"\",\"test:itf:dev\":\"node ./node_modules/@mchp-mcc/ccl-itf/lib/index.js --sp=tests/itf --rd=run --sf=osc.major.test.ts --df=\\\"PIC18F57Q43|PIC16F18877|PIC16LF18875|PIC18F16Q40|PIC18F16Q41|PIC18F47Q10\\\"\"},\"husky\":{\"hooks\":{\"pre-commit\":\"tsc --noEmit && lint-staged\"}},\"lint-staged\":{\"./src/**/*.{ts,tsx}\":[\"eslint --fix\"]},\"files\":[\"output/**/*\",\"config.json\",\"src/**/*\"],\"repository\":{\"type\":\"git\",\"url\":\"git+ssh://git@https://bitbucket.microchip.com/scm/cc8scrip/scf-pic8-osc-v1.git\"},\"jest\":{\"testPathIgnorePatterns\":[\"/node_modules/\",\"/run/\",\"/generated_module/examples/\",\"/lib/\",\"/tests/itf/\"],\"modulePathIgnorePatterns\":[\"<rootDir>/run\"],\"preset\":\"ts-jest\",\"collectCoverage\":true,\"coverageThreshold\":{\"./src\":{\"branches\":80,\"functions\":80,\"lines\":80,\"statements\":80}}},\"dependencies\":{\"@microchip/api-prefix-registration\":\"^0.1.0\",\"@microchip/basic_pin\":\"^1.0.2\",\"@microchip/config-request\":\"^2.0.2\",\"@microchip/fosc-hz\":\"^0.3.0\",\"@microchip/scf-automodule-interface\":\"^0.16.5\",\"@microchip/scf-common\":\"^3.10.0\",\"@microchip/scf-device\":\"^8.2.0\",\"@microchip/scf-integration-test\":\"^1.0.0\",\"@microchip/scf-interface\":\"^1.4.0\",\"@microchip/scf-register-view-helper\":\"^2.4.0\",\"babel-jest\":\"^27.0.6\"},\"devDependencies\":{\"@babel/core\":\"^7.9.6\",\"@babel/plugin-proposal-class-properties\":\"^7.5.0\",\"@babel/preset-env\":\"^7.9.6\",\"@babel/preset-react\":\"^7.9.4\",\"@babel/preset-typescript\":\"^7.9.0\",\"@mchp-mcc/avr-8bit\":\"^4.2.6\",\"@mchp-mcc/ccl-itf\":\"^0.2.13\",\"@mchp-mcc/pic-8bit\":\"^5.4.5-dev2\",\"@mchp-mcc/pic-8bit-types\":\"^5.4.1\",\"@microchip/config-device\":\"^1.1.1\",\"@microchip/initializer-system\":\"^0.5.4\",\"@microchip/interrupt-vectored\":\"^1.2.0\",\"@microchip/osc-clocks\":\"^0.2.0\",\"@microchip/pic-8bit-types\":\"^5.0.1\",\"@microchip/pin-standard\":\"^0.2.14\",\"@microchip/run-directory\":\"^2.4.28\",\"@microchip/run-directory-future\":\"^1.1.17\",\"@microchip/scf-automodule\":\"^4.14.5\",\"@microchip/scf-autoview\":\"^3.17.0\",\"@microchip/scf-project-scripts\":\"^1.0.0\",\"@microchip/scf-server\":\"^1.5.10\",\"@types/core-js\":\"^2.5.1\",\"@types/enzyme\":\"^3.9.3\",\"@types/jest\":\"^24.0.14\",\"@types/node\":\"^12.0.10\",\"@types/properties-reader\":\"^0.0.1\",\"@types/semver\":\"^7.1.0\",\"@typescript-eslint/eslint-plugin\":\"^3.2.0\",\"@typescript-eslint/parser\":\"^3.6.0\",\"babel-eslint\":\"^10.1.0\",\"babel-loader\":\"^8.0.6\",\"babel-plugin-named-asset-import\":\"^0.3.2\",\"babel-preset-react-app\":\"^9.0.0\",\"del\":\"^4.1.1\",\"eslint\":\"^7.4.0\",\"eslint-config-prettier\":\"^6.11.0\",\"eslint-friendly-formatter\":\"^4.0.1\",\"eslint-loader\":\"^4.0.2\",\"eslint-plugin-prettier\":\"^3.1.3\",\"eslint-plugin-react\":\"^7.20.0\",\"fork-ts-checker-webpack-plugin\":\"^1.3.7\",\"fs\":\"^0.0.1-security\",\"gulp\":\"^4.0.2\",\"gulp-changed\":\"^4.0.2\",\"gulp-cli\":\"^2.2.0\",\"gulp-if\":\"^3.0.0\",\"gulp-typescript\":\"^5.0.1\",\"hard-source-webpack-plugin\":\"^0.13.1\",\"husky\":\"^4.2.4\",\"is-wsl\":\"^2.1.0\",\"jest\":\"^27.0.6\",\"jest-html-reporter\":\"^2.5.0\",\"jest-pnp-resolver\":\"^1.2.1\",\"lint-staged\":\"^10.1.3\",\"pnp-webpack-plugin\":\"^1.5.0\",\"prettier\":\"^2.0.5\",\"ts-jest\":\"^27.0.3\",\"ts-pnp\":\"^1.1.2\",\"typescript\":\"^4.0.5\",\"webpack\":\"^4.34.0\",\"webpack-cli\":\"^3.3.4\",\"webpack-merge\":\"^4.2.2\",\"webpack-stream\":\"^5.2.1\",\"yargs\":\"^13.2.4\"},\"description\":\"- Download & Install [nodejs](https://nodejs.org/en/download/)\\r - Download & Install npm\\r - Setup node & npm in enviroment path\",\"main\":\"lib/generated_module/src/index.js\",\"author\":\"\"}");
6389
6425
 
6390
6426
  /***/ }),
6391
6427
 
@@ -6495,12 +6531,14 @@ function ClockCalculator(oscSelect, HFInternalClk, externalClk, clkDivider) {
6495
6531
  /*!****************************!*\
6496
6532
  !*** ./src/DerivedData.ts ***!
6497
6533
  \****************************/
6498
- /*! exports provided: getDerivedData */
6534
+ /*! exports provided: getDerivedData, EmptyDerivedData, MyDerivedData */
6499
6535
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6500
6536
 
6501
6537
  "use strict";
6502
6538
  __webpack_require__.r(__webpack_exports__);
6503
6539
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDerivedData", function() { return getDerivedData; });
6540
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmptyDerivedData", function() { return EmptyDerivedData; });
6541
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MyDerivedData", function() { return MyDerivedData; });
6504
6542
  /* harmony import */ var _microchip_scf_common_lib_Processor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @microchip/scf-common/lib/Processor */ "./node_modules/@microchip/scf-common/lib/Processor.js");
6505
6543
  /* harmony import */ var _microchip_scf_common_lib_Processor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_microchip_scf_common_lib_Processor__WEBPACK_IMPORTED_MODULE_0__);
6506
6544
  /* harmony import */ var _ClockCalculator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ClockCalculator */ "./src/ClockCalculator.ts");
@@ -6533,7 +6571,6 @@ var EmptyDerivedData = function EmptyDerivedData() {
6533
6571
  };
6534
6572
  }; //This data will be used at the processor stage
6535
6573
 
6536
-
6537
6574
  var MyDerivedData = function MyDerivedData(dataModel) {
6538
6575
  var _this = this;
6539
6576
 
@@ -6559,14 +6596,10 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6559
6596
  isEnabled: _this.isEnabled,
6560
6597
  isVisible: _this.isVisible,
6561
6598
  currentSystemClk: function currentSystemClk() {
6562
- var _this$getClockCalcula;
6563
-
6564
- return (_this$getClockCalcula = _this.getClockCalculator()) === null || _this$getClockCalcula === void 0 ? void 0 : _this$getClockCalcula.getCurrentSystemClk();
6599
+ return _this.getClockCalculator().getCurrentSystemClk();
6565
6600
  },
6566
6601
  "fosc-hz_payload": function foscHz_payload() {
6567
- var _this$getClockCalcula2, _this$getClockCalcula3, _this$getClockCalcula4;
6568
-
6569
- return (_this$getClockCalcula2 = (_this$getClockCalcula3 = _this.getClockCalculator()) === null || _this$getClockCalcula3 === void 0 ? void 0 : (_this$getClockCalcula4 = _this$getClockCalcula3.getCurrentSystemClk()) === null || _this$getClockCalcula4 === void 0 ? void 0 : _this$getClockCalcula4.toString()) !== null && _this$getClockCalcula2 !== void 0 ? _this$getClockCalcula2 : "1000000";
6602
+ return _this.getClockCalculator().getCurrentSystemClk().toString();
6570
6603
  },
6571
6604
  initializer_system_results: _this.initializer_system_results,
6572
6605
  config_device_results: _this.config_device_results,
@@ -6579,16 +6612,16 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6579
6612
  };
6580
6613
 
6581
6614
  this.getOscClocksProcessedPayload = function () {
6582
- var _this$getClockCalcula5, _this$getClockCalcula6, _this$getClockCalcula7, _this$getClockCalcula8, _this$getClockCalcula9, _this$getClockCalcula10, _this$getClockCalcula11;
6615
+ var _this$getClockCalcula, _this$getClockCalcula2, _this$getClockCalcula3, _this$getClockCalcula4, _this$getClockCalcula5, _this$getClockCalcula6, _this$getClockCalcula7;
6583
6616
 
6584
6617
  var oscObj = {
6585
- extosc: (_this$getClockCalcula5 = _this.getClockCalculator().getExtOsc()) !== null && _this$getClockCalcula5 !== void 0 ? _this$getClockCalcula5 : "32768",
6586
- fosc: (_this$getClockCalcula6 = _this.getClockCalculator().getCurrentSystemClk().toString()) !== null && _this$getClockCalcula6 !== void 0 ? _this$getClockCalcula6 : "1000000",
6587
- hfintosc: (_this$getClockCalcula7 = _this.getClockCalculator().getHfIntOsc()) !== null && _this$getClockCalcula7 !== void 0 ? _this$getClockCalcula7 : "1000000",
6588
- lfintosc: (_this$getClockCalcula8 = _this.getClockCalculator().getLfIntOsc()) !== null && _this$getClockCalcula8 !== void 0 ? _this$getClockCalcula8 : "31000",
6589
- mfintosc: (_this$getClockCalcula9 = _this.getClockCalculator().getMfIntOsc()) !== null && _this$getClockCalcula9 !== void 0 ? _this$getClockCalcula9 : "500000",
6590
- mfintosc_31Khz: (_this$getClockCalcula10 = _this.getClockCalculator().getMfIntOsc_31KHz()) !== null && _this$getClockCalcula10 !== void 0 ? _this$getClockCalcula10 : "31250",
6591
- sosc: (_this$getClockCalcula11 = _this.getClockCalculator().getSosc()) !== null && _this$getClockCalcula11 !== void 0 ? _this$getClockCalcula11 : "32768"
6618
+ extosc: (_this$getClockCalcula = _this.getClockCalculator().getExtOsc()) !== null && _this$getClockCalcula !== void 0 ? _this$getClockCalcula : "32768",
6619
+ fosc: (_this$getClockCalcula2 = _this.getClockCalculator().getCurrentSystemClk().toString()) !== null && _this$getClockCalcula2 !== void 0 ? _this$getClockCalcula2 : "1000000",
6620
+ hfintosc: (_this$getClockCalcula3 = _this.getClockCalculator().getHfIntOsc()) !== null && _this$getClockCalcula3 !== void 0 ? _this$getClockCalcula3 : "1000000",
6621
+ lfintosc: (_this$getClockCalcula4 = _this.getClockCalculator().getLfIntOsc()) !== null && _this$getClockCalcula4 !== void 0 ? _this$getClockCalcula4 : "31000",
6622
+ mfintosc: (_this$getClockCalcula5 = _this.getClockCalculator().getMfIntOsc()) !== null && _this$getClockCalcula5 !== void 0 ? _this$getClockCalcula5 : "500000",
6623
+ mfintosc_31Khz: (_this$getClockCalcula6 = _this.getClockCalculator().getMfIntOsc_31KHz()) !== null && _this$getClockCalcula6 !== void 0 ? _this$getClockCalcula6 : "31250",
6624
+ sosc: (_this$getClockCalcula7 = _this.getClockCalculator().getSosc()) !== null && _this$getClockCalcula7 !== void 0 ? _this$getClockCalcula7 : "32768"
6592
6625
  };
6593
6626
  var hasSosc = _this.dataModel.isComponentValue("soscenOscen") !== undefined ? true : false;
6594
6627
 
@@ -6610,8 +6643,6 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6610
6643
  };
6611
6644
 
6612
6645
  this.getTemplateData = function () {
6613
- var _this$getClockCalcula12, _this$getClockCalcula13, _this$getClockCalcula14, _this$getModuleName$t, _this$getModuleName, _this$getModuleName$t2, _this$getModuleName2;
6614
-
6615
6646
  var headers = {
6616
6647
  name: "clock.h",
6617
6648
  path: "../"
@@ -6624,11 +6655,11 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6624
6655
  productVersion: "1.8.2",
6625
6656
  compiler: "XC8 v2.20",
6626
6657
  tool: "MPLAB X 5.40",
6627
- deviceFrequency: (_this$getClockCalcula12 = (_this$getClockCalcula13 = _this.getClockCalculator()) === null || _this$getClockCalcula13 === void 0 ? void 0 : (_this$getClockCalcula14 = _this$getClockCalcula13.getCurrentSystemClk()) === null || _this$getClockCalcula14 === void 0 ? void 0 : _this$getClockCalcula14.toString()) !== null && _this$getClockCalcula12 !== void 0 ? _this$getClockCalcula12 : "1000000",
6658
+ deviceFrequency: _this.getClockCalculator().getCurrentSystemClk().toString(),
6628
6659
  initRegisters: initRegisters,
6629
6660
  header: headers,
6630
- moduleNameUpperCase: (_this$getModuleName$t = (_this$getModuleName = _this.getModuleName()) === null || _this$getModuleName === void 0 ? void 0 : _this$getModuleName.toUpperCase()) !== null && _this$getModuleName$t !== void 0 ? _this$getModuleName$t : "",
6631
- moduleNameLowerCase: (_this$getModuleName$t2 = (_this$getModuleName2 = _this.getModuleName()) === null || _this$getModuleName2 === void 0 ? void 0 : _this$getModuleName2.toLowerCase()) !== null && _this$getModuleName$t2 !== void 0 ? _this$getModuleName$t2 : ""
6661
+ moduleNameUpperCase: _this.getModuleName().toUpperCase(),
6662
+ moduleNameLowerCase: _this.getModuleName().toLowerCase()
6632
6663
  };
6633
6664
  };
6634
6665
 
@@ -6709,9 +6740,7 @@ var MyDerivedData = function MyDerivedData(dataModel) {
6709
6740
  var selectedOptionVal;
6710
6741
 
6711
6742
  if (externalClkSelectedOptions) {
6712
- var _externalClkSelectedO;
6713
-
6714
- selectedOptionVal = (_externalClkSelectedO = externalClkSelectedOptions["defaultValue"]) === null || _externalClkSelectedO === void 0 ? void 0 : _externalClkSelectedO["value"];
6743
+ selectedOptionVal = externalClkSelectedOptions["defaultValue"]["value"];
6715
6744
  }
6716
6745
 
6717
6746
  return (_selectedOptionVal = selectedOptionVal) !== null && _selectedOptionVal !== void 0 ? _selectedOptionVal : undefined;
@@ -6823,11 +6852,9 @@ function getRowData(appModel, rowData) {
6823
6852
  var clockOutEnable = (_appModel$getImportVa = appModel.getImportValue("config_request")) === null || _appModel$getImportVa === void 0 ? void 0 : _appModel$getImportVa["CLKOUTEN"];
6824
6853
 
6825
6854
  if (clockOutEnable) {
6826
- var _clockOutEnable$defau;
6827
-
6828
6855
  delete clockOutEnable["setting"];
6829
6856
  delete clockOutEnable["displayOptionSetting"];
6830
- var selectedOption = clockOutEnable === null || clockOutEnable === void 0 ? void 0 : (_clockOutEnable$defau = clockOutEnable["defaultValue"]) === null || _clockOutEnable$defau === void 0 ? void 0 : _clockOutEnable$defau["value"];
6857
+ var selectedOption = clockOutEnable["defaultValue"]["value"];
6831
6858
 
6832
6859
  if (selectedOption.indexOf("CLKOUT function is enabled") != -1) {
6833
6860
  if (rowData.name === "clockout") {
@@ -6880,12 +6907,11 @@ function getRowData(appModel, rowData) {
6880
6907
  var extClkSelect = (_appModel$getImportVa2 = appModel.getImportValue("config_request")) === null || _appModel$getImportVa2 === void 0 ? void 0 : _appModel$getImportVa2["FEXTOSC"];
6881
6908
 
6882
6909
  if (extClkSelect) {
6883
- var _extClkSelect$default, _appModel$getComponen;
6910
+ var _appModel$getComponen;
6884
6911
 
6885
6912
  delete extClkSelect["setting"];
6886
6913
  delete extClkSelect["displayOptionSetting"];
6887
-
6888
- var _selectedOption = extClkSelect === null || extClkSelect === void 0 ? void 0 : (_extClkSelect$default = extClkSelect["defaultValue"]) === null || _extClkSelect$default === void 0 ? void 0 : _extClkSelect$default["value"];
6914
+ var _selectedOption = extClkSelect["defaultValue"]["value"];
6889
6915
 
6890
6916
  if (_selectedOption.indexOf("(external clock)") != -1 || _selectedOption.indexOf("EC") != -1) {
6891
6917
  if (rowData.name === "osc1" || rowData.name === "osc2") {
@@ -6919,14 +6945,12 @@ function getRowData(appModel, rowData) {
6919
6945
  var lvpEnable = (_appModel$getImportVa4 = appModel.getImportValue("config_request")) === null || _appModel$getImportVa4 === void 0 ? void 0 : _appModel$getImportVa4["LVP"];
6920
6946
 
6921
6947
  if (mclrEnable && lvpEnable) {
6922
- var _mclrEnable$defaultVa, _lvpEnable$defaultVal;
6923
-
6924
6948
  delete mclrEnable["setting"];
6925
6949
  delete mclrEnable["displayOptionSetting"];
6926
- var selectedMclrOption = mclrEnable === null || mclrEnable === void 0 ? void 0 : (_mclrEnable$defaultVa = mclrEnable["defaultValue"]) === null || _mclrEnable$defaultVa === void 0 ? void 0 : _mclrEnable$defaultVa["value"];
6950
+ var selectedMclrOption = mclrEnable["defaultValue"]["value"];
6927
6951
  delete lvpEnable["setting"];
6928
6952
  delete lvpEnable["displayOptionSetting"];
6929
- var selectedLvpOption = lvpEnable === null || lvpEnable === void 0 ? void 0 : (_lvpEnable$defaultVal = lvpEnable["defaultValue"]) === null || _lvpEnable$defaultVal === void 0 ? void 0 : _lvpEnable$defaultVal["value"];
6953
+ var selectedLvpOption = lvpEnable["defaultValue"]["value"];
6930
6954
 
6931
6955
  if (selectedLvpOption.indexOf("HV on MCLR/VPP must be used for programming") != -1 || selectedLvpOption.indexOf("High Voltage on MCLR/Vpp must be used for programming") != -1) {
6932
6956
  if (selectedMclrOption.indexOf("MCLR pin is MCLR") != -1 || selectedMclrOption.indexOf("MCLR pin is Master Clear function") != -1 || selectedMclrOption === "MCLR pin (RE3) is MCLR") {