Arduino-FOC icon indicating copy to clipboard operation
Arduino-FOC copied to clipboard

add MT6701 I2C sensor configuration

Open alperbasarn opened this issue 1 year ago • 5 comments

alperbasarn avatar May 11 '24 21:05 alperbasarn

Thanks a lot for this contribution!

I will gladly merge it, but we accept the PRs only against the dev branch of the library. I've changed the base of your PR, but there are some other parallel changes. I'll look into this, and merge it once I've sorted this out.

runger1101001 avatar May 12 '24 19:05 runger1101001

thanks! let me know if you would like me to rebase and resolve if there are any conflicts.

alperbasarn avatar May 12 '24 19:05 alperbasarn

Hey, if you do not mind sending it again based on the "dev" branch then I could straight merge it.

It's not your fault, we caused this by accidentally merging some changes to the master branch. I've tried to fix it by pre-merging the changes from the master branch but it hasn't worked as I expected, and I still see your PR as including the other changes.

Can I ask you to rebase your changes on the dev branch, then I can merge that. Otherwise, if you prefer I can rebase your changes locally, this will be no work for you, but it might lose the reference to your GitHub user and contribution.

runger1101001 avatar May 13 '24 07:05 runger1101001

Sure thing, I have also extended example file for demonstrating MT6701 integration.

But, somehow I cannot see dev branch in my fork, and cannot push a proposal branch to direct clone(not forked). is there any permission that needs to be granted ?

alperbasarn avatar May 13 '24 12:05 alperbasarn

But, somehow I cannot see dev branch in my fork, and cannot push a proposal branch to direct clone(not forked). is there any permission that needs to be granted ?

Huh, that's weird... I'm not sure. Maybe there is a way to pull over the other branch into your forked repo on GitHub but not sure how...

One way you could definately do it is to add the SimpleFOC repo as another remote to your local cloned copy, and then pull the dev branch from this. Then you can push that branch to your fork, and do the PR from there...

runger1101001 avatar May 14 '24 11:05 runger1101001

I have cherry-picked your changes over in this PR: https://github.com/simplefoc/Arduino-FOC/pull/406 The change is attributed to you, but committed by me. I hope it is ok:

image

runger1101001 avatar Jun 05 '24 12:06 runger1101001