I have imported the Bootloader_S32G3XX_ASR_4.4_M7 example project into my EB tresos 27.1, configured boot sources & cores, and generated the project code successfully.
And I edited the configuration.bat file and set variables as follows:
SET TRESOS_DIR=C:\EB\tresos\
SET MAKE_DIR=C:\cygwin64
SET GHS_DIR=
SET GCC_DIR=C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_v9.2
SET TOOLCHAIN=gcc
SET CORE=m7
SET SRC_PATH_DRIVERS=C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_S32XX_2022_03\SW32_RTD_4_4_3_0_2_D2203
SET SDHC_STACK_PATH=C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_S32XX_2022_03\stacks\sdhc
SET SRC_PATH_SAF=C:\EB\tresos\plugins
SET TRESOS_WORKSPACE_DIR=C:\EB\tresos\workspace\Bootloader_S32G3XX_ASR_4.4_M7\output
SET HSE_FIRMWARE_DIR=C:\NXP\HSE_FW_S32G3_0_2_16_1
After I run launch.bat, error messages appeared as:
C:\NXP\Integration_Reference_Examples_S32G3_2023_02\code\framework\realtime\swc\bootloader\platforms\S32G3XX\build>launch.bat
'cygpath' is not recognized as an internal or external command,
operable program or batch file.
INFO: Could not find files for the given pattern(s).
/cygdrive/c/NXP/Integration_Reference_Examples_S32G3_2023_02/code/framework/realtime/build/generic/drivers_version_checker.mak:86: cat was not found in path. Version checking feature will not be available.
make/validation.mak:32: *** HSE_FIRMWARE_DIR variable is not configured correctly or does not exist.. Stop.
How to solve this error of HSE_FIRMWARE_DIR