Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dfu-prefix, dfu-suffix, dfu-util, openocd: no 64-bit linux version #30

Open
terrillmoore opened this issue Aug 5, 2018 · 1 comment
Assignees
Labels

Comments

@terrillmoore
Copy link
Member

These tools are shipped only in 32-bit linux form. Unfortunately, any build uses dfu-suffix, and that in turn triggers a problem on Travis CI. The solution is probably to track down the original tools and provide 64-bit forms; or else fix the builds not to use dfu-suffix.

Also, this will cause weird headaches for beginning users who haven't installed 32-bit support on their 64-bit linux.

openocd can probably be removed from the build, as it seems not to be used.

A typical failure message is (from this build)

$ arduino --verify --board $(_stm32l0opts '' us915  ) $THISLIB/examples/header_test/header_test.ino
Picked up JAVA_TOOL_OPTIONS: 
Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
fork/exec /home/travis/.arduino15/packages/mcci/hardware/stm32/1.1.0/tools/linux//dfu-suffix: no such file or directory

The command "arduino --verify --board $(_stm32l0opts '' au921  ) $THISLIB/examples/header_test/header_test.ino" exited with 1.

See mcci-catena/arduino-lorawan#45 for an example of the gyrations this causes.

terrillmoore added a commit to mcci-catena/arduino-lorawan that referenced this issue Aug 5, 2018
terrillmoore added a commit to mcci-catena/arduino-lorawan that referenced this issue Aug 5, 2018
Squash of some individual steps: fix #45 

* Curious problem; local works, but github breaks

* Fix typo

* Check directory after install

* Will adding 32-bit libs fix this?

* need sudo to do the install?

* 32-bit tools cause weird probs, try disabling DFU suffix

* Perhaps we have a workaround.

See mcci-catena/Arduino_Core_STM32#30 for
reasoning behind this change.
@terrillmoore terrillmoore added this to the v2.4.0 milestone Jun 18, 2019
@terrillmoore
Copy link
Member Author

@svelmurugan92 @dhineshkumarmcci can you please check the upstream branch of the BSP and see if they have 64-bit linux tools for DFU? if so, we need to add them. That work needs to be done and tested on Linux 64-bit; I can do it if you can find the tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants