diff --git a/UserManual/RH_NuTool-PinConfigure_EN.docx b/UserManual/RH_NuTool-PinConfigure_EN.docx index 8a8b765..e94d759 100644 Binary files a/UserManual/RH_NuTool-PinConfigure_EN.docx and b/UserManual/RH_NuTool-PinConfigure_EN.docx differ diff --git a/assets/Supported_Chips.htm b/assets/Supported_Chips.htm index ad5880e..5f40535 100644 --- a/assets/Supported_Chips.htm +++ b/assets/Supported_Chips.htm @@ -1146,23 +1146,32 @@
'+g+"
"+O+'
'+c+"
"+m+'
'+r+'
').dialog({modal:!1,resizable:!1,title:t,width:500,height:"auto",show:"fade",hide:"fade",close:function(){$("#noticeForMultipleSelectionsDialog").dialog("destroy")},buttons:[{text:l,click:function(){e(),$("#noticeForMultipleSelectionsDialog").dialog("isOpen")&&$("#noticeForMultipleSelectionsDialog").dialog("destroy")}},{text:o,click:function(){ln(),$("#noticeForMultipleSelectionsDialog").dialog("isOpen")&&$("#noticeForMultipleSelectionsDialog").dialog("destroy")}}]}));t=null,r=null,l=null,o=null}((function(){sn(r,i.pin,i.label)}),i.label,nn(a))):sn(Ri(t.slicePriorToX("_")),i.pin,i.label),s=null,a=null}t=null}};return i}function sn(e,i,n){var t,r,l,o,s=$("#moduleTree"),a=we[i-1]+"_Pin"+i,d=[];if(a=a.replaceSpecialCharacters(),s.jstree("uncheck_node",$("#"+a)),!$("#"+a).hasClass("jstree-unchecked")){if(l=Ri(a.slicePriorToX("_")),(o=[])[0]=i,Oi(a,l,o),void 0!==He[l]){for(t=0,r=He[l].length;t'+t+'
'+t+'
'+r+'
'+n+'
'+t+' | '+e+' |
'+r+' | '+((p=new Date).getMonth()+1+"/"+p.getDate()+"/"+p.getFullYear()+" "+p.getHours()+":"+p.getMinutes()+":"+p.getSeconds())+" |
'+a+' | '+l+' |
'+d+' | '+h+' |
'+c+' | '+NUTOOL_PIN.g_packageNumber+" |
'+r[n]+' | 0x'+zi(Ge[r[n]]).toUpperCase()+" | ";return e+="
Pin'+nn(n)+' | '+tn(we[n-1])+" |
'+g[n]+' | '+f[g[n]][t]+" | ";e+="
'+(d=g[_[n]][t]).slicePriorToX(":")+' | '+d.sliceAfterX(": ")+" | ";e+="
'+n+'
'+a+''+n+'
'+n+'
"+t+"
'+i+'
"+n+'
"+t+'
'+i+"").dialog({modal:!1,draggable:!1,resizable:!1,title:e,width:500,height:"auto",show:"fade",hide:"fade",close:function(){$("#lockedWarningDialog").dialog("destroy")},buttons:[{text:n,click:function(){$("#lockedWarningDialog").dialog("isOpen")&&$("#lockedWarningDialog").dialog("destroy")}}]})}function ft(){var e;at()||localStorage.getItem("CheckPrivacyBannerDismiss")||(e="Simplified Chinese"===Ne?"本网站使用cookie作为与网站交互时识别流览器之用,浏览本网站即表示您同意本网站对cookie的使用":"Traditional Chinese"===Ne?"本網站使用cookie作為與網站互動時識別瀏覽器之用,瀏覽本網站即表示您同意本網站對cookie的使用":"This website uses cookies to ensure you get the best experience on our website.",$("#ID_PRIVACY_BANNER_TEXT").text(e),$("#ID_PRIVACY_BANNER_BUTTON").on("click",(function(){$("#ID_PRIVACY_BANNER_DIV").hide(),localStorage.setItem("CheckPrivacyBannerDismiss",!0)})),$("#ID_PRIVACY_BANNER_DIV").show())}window.onload=function(){rt(),$("#ID_BUTTON_SHOW_REGISTERS").on("click",(function(){An()})),$("#ID_BUTTON_LOAD").on("click",(function(){$("#rootTree_Pin").is(":visible")&&Un((function(){$("#loadConfiguration").trigger("click")}))})),$("#loadConfiguration").on("change",lt),$("#ID_BUTTON_SAVE").on("click",(function(){vn()})),$("#ID_BUTTON_GENERATE_CODE").on("click",(function(){jn()})),$("#ID_BUTTON_CONNECT_TO_TARGET").on("click",(function(){at()?window.electronAPI.send("connect"):async function(){var e;null!=b&&(await navigator.usb.getDevices().then((i=>{i.forEach((i=>{e=i}))})).catch((i=>{console.log(i),e=void 0})),null==e&&(e=await navigator.usb.requestDevice({filters:[{vendorId:1046}]}).catch((i=>{console.log(i),e=void 0}))),null!=e&&b.postMessage({action:"connect"}))}()})),$("#ID_BUTTON_PRINT_REPORT").on("click",(function(){Kn()})),$("#ID_BUTTON_GENERATE_PIN_DESCRIPTIONS").on("click",(function(){Hn()})),$("#ID_BUTTON_RUN_NUCAD").on("click",(function(){Wn()})),$("#ID_BUTTON_SHOW_PIN_DESCRIPTIONS").on("click",(function(){Fn()})),$("#ID_BUTTON_ZOOM_IN").on("click",(function(){Yn()})),$("#ID_BUTTON_BEST_FIT").on("click",(function(){Vn()})),$("#ID_BUTTON_ZOOM_OUT").on("click",(function(){Zn()})),$("#ID_BUTTON_LOCK_PIN").on("click",(function(){!function(){var e=[];for(i=0,max=ye.length;i '+n+" '+i+' '+i+' '+g+" '+c+"
"})),void 0===t||null==t?(e="Locked Pins",i="Confirm"):"Simplified Chinese"===t?(e="已鎖定的腳位",i="确定"):"Traditional Chinese"===t?(e="已锁定的脚位",i="確定"):(e="Locked Pins",i="Confirm"),$('
":"Pin"+nn(c)+" has been asserted by "+tn(we[parseInt(c,10)-1])+".
";"Simplified Chinese"===Ne?(f="冲突发生",g="預期的"+l+"和别的模组冲突。请问你要调整旧的且改设置到现在的模组吗?",_="要",u="不要"):"Traditional Chinese"===Ne?(f="衝突發生",g="預期的"+l+"和別的模組衝突。請問你要調整舊的且改設置到現在的模組嗎?",_="要",u="不要"):(f="Conflict Occurred",g="The expected "+l+" conflicts with other modules. Would you like to adjust the old modules and configure to the current one?",_="Yes",u="No"),On(),N=$('
"+O+'
":"Traditional Chinese"===Ne?"第"+nn(T[r])+"腳位已被"+tn(we[T[r]-1])+"使用。
":"Pin"+nn(T[r])+" has been asserted by "+tn(we[T[r]-1])+".
",x=!0}x&&("Simplified Chinese"===Ne?(d="冲突发生",c="預期的"+n+"和别的模组冲突。请问你要调整旧的且改设置到现在的模组吗?",f="要",g="不要"):"Traditional Chinese"===Ne?(d="衝突發生",c="預期的"+n+"和別的模組衝突。請問你要調整舊的且改設置到現在的模組嗎?",f="要",g="不要"):(d="Conflict Occurred",c="The expected "+n+" conflicts with other modules. Would you like to adjust the old modules and configure to the current one?",f="Yes",g="No"),On(),_=$('
"+m+'a").css("color","blue")}}function C(e,i){if(_=$(i).attr("id"),c=parseInt(_.sliceAfterX("Pin"),10),-1===$.inArray(c,n)&&(h=_i(_,n,0,T)),h)return!1}for(r=0,l=n.length;r0)$("#"+M[r]).find("li").each(C);else for(_=M[r].restorePinTreeNodeName(),o=0,s=Se.length;o0)ue+="Failed: duplicate name occurs. "+l,!L&&window.console&&window.console.log("Failed: duplicate name occurs. "+l);else{for(!L&&window.console&&window.console.log("Duplicate function test passed."),e=0,i=(s=Qi(Ge).sort()).length;e=10)return!1;if(i.push(f),n+=1,p=!1,h=!1,T=[],_=Ri(N.slicePriorToX("_")),u=N+"_Intermediate",$("#"+u).find("li").length>0)$("#"+u).find("li").each((function(e,i){O=$(i).attr("id"),"red"===$("#"+O+" >a").css("color")||"rgb(255, 0, 0)"===$("#"+O+" >a").css("color")||O.sliceAfterX("_Pin")===f.toString()||p?O.sliceAfterX("_Pin")!==f.toString()&&(T.push(O),$("#"+O).removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked")):(p=!0,(x=[])[0]=parseInt(O.sliceAfterX("Pin"),10),""!==P&&(g=P.slice(P.lastIndexOf("/")+1).slicePriorToX(";"))!==x[0].toString()&&"removed"!==g&&"end"!==g&&(P+=we[parseInt(g,10)-1]+":"+g+"/end;"),P+=O.restorePinTreeNodeName()+":"+x[0]+"/"+f+";",ui(O,_,x),$("#"+O).removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked"),$("#"+O+" >a").css("color","blue"))}));else for(r=0,l=Se.length;ra").css("color","blue"),0===$("#"+e.restorePinTreeNodeName()+"_Intermediate").find("li").length){for(a=0,d=We.length;aa").css("color","blue"),0===$("#"+e.restorePinTreeNodeName()+"_Intermediate").find("li").length){for(a=0,d=We.length;a";if("undefined"!=typeof NUTOOL_PER&&Ki(),"h"!==NUTOOL_PIN.g_pinFunctionString&&"dtsi"!==NUTOOL_PIN.g_pinFunctionString||a.sliceAfterX(".")===NUTOOL_PIN.g_pinFunctionString||(a=a.slicePriorToX(".")+"."+NUTOOL_PIN.g_pinFunctionString+'"\r\n'),d="",0!==NUTOOL_PIN.g_cfg_gpiosDefines.length&&NUTOOL_PIN.g_cfg_gpiosDefines[0].f.length>1&&0===NUTOOL_PIN.g_cfg_gpiosDefines[0].f[1].indexOf("GPIO:GPIO_")&&(w=""),k=Qi(Ge),"KM1M7CF"!==l&&k.sort(),0!==NUTOOL_PIN.g_cfg_gpiosDefines.length){if(-1===a.indexOf(".dtsi"))for(e=0,c=k.length;e
");var X=j.slice(0,2)+"."+j.slice(2);E=NUTOOL_PIN.g_cfg_pkgs[NUTOOL_PIN.g_packageNumberIndex].indexOf(X)+1,m+=" SET_"+I+"_"+j,g+=" SET_"+I+"_"+j,U=!0}}m+="(); // Pin: "+E+"\r\n",g+="();
"}for(m+="\r\n return;\r\n}\r\n\r\n",b?d+=m:g+=A[n]+" did not generate modularized code!!
",m="void "+F+"_deinit_"+A[n].toLowerCase()+"(void)\r\n{\r\n",b=!1,e=0,r=k.length;e0&&O(D[k[e]].join(),S,A[n])){for(U=!1,b=!0,m+=" "+w+k[e]+" &= ~(",g+=" "+w+k[e]+" &= ~(",i=D[k[e]].length-1;i>=0;i-=1)O(D[k[e]][i],S,A[n])&&(U&&(m+=" | ",g+=" | "),m+=p(I=D[k[e]][i].sliceAfterX(":")),g+=p(I),U=!0);for(m+=");\r\n",g+=");
",U=!1,m+=" "+w+k[e]+" |= (",g+=" "+w+k[e]+" |= (",i=D[k[e]].length-1;i>=0;i-=1)O(D[k[e]][i],S,A[n])&&(U&&(m+=" | ",g+=" | "),m+=I=D[k[e]][i].sliceAfterX(":"),g+=I,U=!0);m+=");\r\n",g+=");
"}for(m+="\r\n return;\r\n}\r\n\r\n",b?d+=m:g+=A[n]+" did not generate modularized code!!
",m="void "+F+"_deinit_"+A[n].toLowerCase()+"(void)\r\n{\r\n",b=!1,e=0,r=k.length;e