2024-01-05 4:42 AM
I downloaded gnu-tools-for-stm32 repo to a Windows 10 machine. I have mingw64 installed.
I want to study arm-none-eabi-objcopy with a view to extracting bin files for internal and external flash from an elf in a self-contained utility.
When I navigated to my checked out repo and ran build-prequisites.sh from a mingw64 shell it failed with the below
+++2024-01-05:11:53:13 (/e/Various_Backups/gcc-arm-src/gnu-tools-for-stm32/build-common.sh:316): host_arch=x86_64 +++2024-01-05:11:53:13 (/e/Various_Backups/gcc-arm-src/gnu-tools-for-stm32/build-common.sh:317): '[' xMinGw64_nT-10.0-18363 == xlinux ']'
+++2024-01-05:11:53:13 (/e/Various_Backups/gcc-arm-src/gnu-tools-for-stm32/build-common.sh:326): '[' xMinGw64_nT-10.0-18363 == xdarwin ']' +++2024-01-05:11:53:13 (/e/Various_Backups/gcc-arm-src/gnu-tools-for-stm32/build-common.sh:340): error 'Unsupported build system : MinGw64_nT-10.0-18363' +++2024-01-05:11:53:13 (/e/Various_Backups/gcc-arm-src/gnu-tools-for-stm32/build-common.sh:29): error(): set +u
+++2024-01-05:11:53:13 (/e/Various_Backups/gcc-arm-src/gnu-tools-for-stm32/build-common.sh:30): error(): echo 'bash: error: Unsupported build system : MinGw64_nT-10.0-18363' bash: error: Unsupported build system : MinGw64_nT-10.0-18363 +It seems to indicate that it is unhappy with mingw64.
Does anybody know how this can be built on a Windows machine? Do I have to open some kind of Linux shell (never done that so instructions would be appreciated)
2024-02-29 8:40 AM
Hi @DRega.1 ,
As recommended in this post https://community.st.com/t5/stm32cubeide-mcus/how-to-install-and-use-gnu-tools-for-stm32-on-ubuntu-22-04-lts/m-p/627316#M232212, can you try the option "--skip_steps"?
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.