Arduino_STM32 icon indicating copy to clipboard operation
Arduino_STM32 copied to clipboard

The upload-reset tool has wrong Linux 64-bit version

Open yulix opened this issue 4 years ago • 3 comments

In .../tools/linux64 directory, use file command to check the version, it is 32-bit

yulix@01:~/stm32/Arduino_STM32/tools/linux64$ file upload-reset upload-reset: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=dc8dc5ad6de94179a9d534b1a34aeb6d906640b1, not stripped

In the same directory, the hid-flash tool has 64-bit version.

yulix@01:~/stm32/Arduino_STM32/tools/linux64$ file hid-flash hid-flash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=0781b11c35343e90d85375e5a2e0fdbc33104e1f, not stripped

yulix avatar Jul 03 '20 08:07 yulix

I am not familiar with LINUX. What is the solution?

stevstrong avatar Oct 12 '20 12:10 stevstrong

@stevstrong -- this doesn't appear to be a "Linux issue" per se, but that whomever is building the Arduino_STM32 bundle is apparently mixing 32-bit and 64-bit binaries in the tools folders.

dewhisna avatar Oct 12 '20 14:10 dewhisna

I really cannot understand and solve the issue. Is there anyone who can help on this?

stevstrong avatar Nov 03 '23 09:11 stevstrong