Skip to content

Conversation

@dubek
Copy link
Contributor

@dubek dubek commented Nov 3, 2015

The new Linux generic support is actually the original code from lstools_ubuntu.

Now MbedLsToolsUbuntu inherits from MbedLsToolsLinuxGeneric (to allow Ubuntu-specific changes in the future). Supposedly since they are identical we can remove the Ubuntu-specific class which adds no functionality right now, but I understand the mbed dev team wants to keep Ubuntu separate.

I tested this on RHEL 6.7 with Freescale FRDM-K64F.

Maybe solves #25.

@PrzemekWirkus
Copy link
Contributor

Thank you for your contribution. I will have a look at this shortly!
Did you sing contributor agreement ?

@dubek
Copy link
Contributor Author

dubek commented Nov 3, 2015

hmmm, let me consult my lawyer :-)

@PrzemekWirkus
Copy link
Contributor

;)

PS: I can merge it after TechCon (mid of November) most probably because for now we have a feature freeze on this software.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there should be also _ in end of detection pattern, like:
"^/[a-zA-Z0-9/]*/" + dev_name + " on (/[a-zA-Z0-9_/]*) ".
This because looks that when multiple devices are connected mount point will be

  • /media/MBED_ for second device
  • /media/MBED__ for third device
    and so on...
  • /media/MBED______ ...
    .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, but that's another issue. Anyway I need to rebase this branch (carefully) because there have been other changes to the code (that I extracted) in the meantime.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jupe - I think you should open a separate PR about your pattern change for multiple devices.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, it was in original code too, so this need to be done in separate PR.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#33

@dubek
Copy link
Contributor Author

dubek commented Dec 14, 2015

@PrzemekWirkus I signed the contributor agreement.

The new Linux generic support is actually the original code from
lstools_ubuntu.

Now MbedLsToolsUbuntu inherits from MbedLsToolsLinuxGeneric (to allow
Ubuntu-specific changes in the future).
@dubek
Copy link
Contributor Author

dubek commented Dec 14, 2015

I pushed this again rebased on top of current master branch.

PrzemekWirkus added a commit that referenced this pull request Dec 23, 2015
@PrzemekWirkus PrzemekWirkus merged commit a56090b into ARMmbed:master Dec 23, 2015
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

Successfully merging this pull request may close these issues.

3 participants