File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -541,6 +541,14 @@ if (('offline' -eq $InstallerType) -or ('espressif-ide' -eq $InstallerType)){
541541 $IsccParameters += ' /DJDKARTIFACTVERSION=' + $JdkArtifactVersion
542542 $IsccParameters += ' /DESPRESSIFIDE=yes'
543543 $IsccParameters += ' /DOFFLINE=no'
544+
545+ # Extract version from $env:VERSION (defined in CI job in format: "online-X.Y.Z")
546+ # Not filled version results in string "online-"
547+ $RawVersion = $env: VERSION
548+ if ($RawVersion -match ' ^online-(.+)$' ) {
549+ $CleanVersion = $Matches [1 ]
550+ $IsccParameters += ' /DVERSION=' + $CleanVersion
551+ }
544552} else {
545553 $IsccParameters += ' /DOFFLINE=no'
546554}
Original file line number Diff line number Diff line change @@ -539,8 +539,12 @@ begin
539539
540540 Log(' Installing tools:' + CmdLine);
541541 DoCmdlineInstall(CustomMessage(' InstallingEspIdfTools' ), ' ' , CmdLine);
542- CmdLine := IDFToolsPyCmd + ' install esp-clang' ;
543- DoCmdlineInstall(CustomMessage(' InstallingEspIdfTools' ), ' ' , CmdLine);
542+
543+ { Only install esp-clang if the selected version does not contain 'v5.0' }
544+ if (Pos(' v5.0' , IDFDownloadVersion) = 0 ) then begin
545+ CmdLine := IDFToolsPyCmd + ' install esp-clang' ;
546+ DoCmdlineInstall(CustomMessage(' InstallingEspIdfTools' ), ' ' , CmdLine);
547+ end ;
544548
545549 PythonVirtualEnvPath := ExpandConstant(' {app}\python_env\' ) + GetIDFPythonEnvironmentVersion() + ' _env' ;
546550 CmdLine := PythonExecutablePath + ' -m venv "' + PythonVirtualEnvPath + ' "' ;
Original file line number Diff line number Diff line change 1414#ifdef VERSION
1515#define MyAppVersion VERSION
1616#else
17- #define MyAppVersion " 2.3.1 "
17+ #define MyAppVersion " 2.3.4 "
1818#endif
1919
2020#define MyAppPublisher " Espressif Systems (Shanghai) Co. Ltd."
@@ -319,19 +319,19 @@ Name: "{#COMPONENT_TARGET_ESP32_C3}"; Description: {cm:ComponentTargetEsp32c3};
319319
320320#ifndef DISABLE_TARGET_ESP32_C6
321321Name : " {#COMPONENT_TARGET_ESP32_C6}" ; Description : {cm:ComponentTargetEsp32c6}; Types : full ; Flags : checkablealone
322- Name : " {#COMPONENT_TARGET_ESP32_H}" ; Description : {cm:ComponentTargetEsp32h}; Types : full ; Flags : checkablealone
322+ Name : " {#COMPONENT_TARGET_ESP32_H}" ; Description : {cm:ComponentTargetEsp32h}; Types : full ;
323323Name : " {#COMPONENT_TARGET_ESP32_H2}" ; Description : {cm:ComponentTargetEsp32h2}; Types : custom ; Flags : checkablealone
324324#endif
325325
326- Name : " {#COMPONENT_TARGET_ESP32_S}" ; Description : {cm:ComponentTargetEsp32s}; Types : full ; Flags : checkablealone
326+ Name : " {#COMPONENT_TARGET_ESP32_S}" ; Description : {cm:ComponentTargetEsp32s}; Types : full ;
327327Name : " {#COMPONENT_TARGET_ESP32_S2}" ; Description : {cm:ComponentTargetEsp32s2}; Types : full ; Flags : checkablealone
328328
329329#ifndef DISABLE_TARGET_ESP32_S3
330330Name : " {#COMPONENT_TARGET_ESP32_S3}" ; Description : {cm:ComponentTargetEsp32s3}; Types : full ; Flags : checkablealone
331331#endif
332332
333333#ifndef DISABLE_TARGET_ESP32_P4
334- Name : " {#COMPONENT_TARGET_ESP32_P}" ; Description : {cm:ComponentTargetEsp32p}; Types : full ; Flags : checkablealone
334+ Name : " {#COMPONENT_TARGET_ESP32_P}" ; Description : {cm:ComponentTargetEsp32p}; Types : full ;
335335
336336Name : " {#COMPONENT_TARGET_ESP32_P4}" ; Description : {cm:ComponentTargetEsp32p4}; Types : full ; Flags : checkablealone
337337#endif
You can’t perform that action at this time.
0 commit comments