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

Unable to make #99

Closed
sluthra1 opened this issue Apr 17, 2018 · 4 comments
Closed

Unable to make #99

sluthra1 opened this issue Apr 17, 2018 · 4 comments

Comments

@sluthra1
Copy link

Hello I am trying to make the flow library on my MacBook, I've installed the toolchain. I am able to compile PX4, but when I run make on the px4flow firmware libraries I cannot complete the make. The first problems were with python incompatibilities (mode 'rob' and cString vs io.bytesIO), but now with those resolved I get the error":

Flow/Tools/make_can_boot_descriptor.py", line 283, in
out_image.write(bootloader_image)
TypeError: a bytes-like object is required, not 'str'

@jlecoeur
Copy link

This is a problem of compatibility between python 2 and python 3. I fixed it in PR #96 .

The relevant changes are in dd2425b

@EdXian
Copy link

EdXian commented Jun 18, 2018

Hi @jlecoeur ,
I got the following problem:

screenshot from 2018-06-18 15-31-40

How do I fix it?

@jlecoeur
Copy link

@EdXian this is a different problem, please open separate issues in this case.

Your problem is that your compiler version is not allowed, you can either:

  • install one of the versions suggested in the error message
  • add 7.2.1 near line 57 of file src/Flow/makefile/baremetal/toolchain_gnu-arm-eabi.mk

@mike239x
Copy link
Collaborator

Python vs Python2 issue was fixed in 8fa8fdc.
The default compiler version on Ubuntu 18.04 is 6.3.1, so 7.2.1 is a bit too new, maybe will get tested and added later.

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

No branches or pull requests

4 participants