rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Other
2.53k stars 1.26k forks source link

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

Open yulix opened 4 years ago

yulix commented 4 years ago

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

stevstrong commented 4 years ago

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

dewhisna commented 4 years ago

@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.

stevstrong commented 11 months ago

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