I2C: introduce and adapt new I2C interface#9539
Conversation
|
I don't know why static-test failed here while I can merge this branch on my local setup... |
|
Might be a problem with the git version, on my macOS with git 2.18 rebase is working fine - but Murdock and Travis use git version 2.17 (or older). @dylad IIRC you had a problem with git before updating too, right? |
|
mhm strange on Fedora 27 with git version 2.14.4 it works, and on Raspbian with git version 2.11.0 too. |
|
@kaspar030 any idea how to proceed or get over this git rebase problem? |
|
Yes I confirm I cannot rebase with git 2.17.1 (default on ubuntu 18.04) I had to switch to version 2.18 |
|
I don't understand why Travis fails, I just started ubuntu:trusty in docker installed all packages according to our |
|
What is the git version used in Docker ? |
|
@dylad 1.9.1 as in Travis, BUT the problem is that Travis uses: using the commands a subsequent |
|
while rebase works when doing but it does not with this FETCH_HEAD stuff |
|
@smlng Then we must change the behaviour of Travis ? |
|
I don't know how and if it makes sense |
|
interesting: using the command from travis rebase also fails on macOS with git version 2.18 |
|
its a bit weird, that there are diffs between the |
|
Maybe I did something wrong when submitting this PR on my side ? |
|
I don't think so, because GitHub does not report any conflicts for this PR, its mergeable theoretically - but its blocked due to missing review and missing murdock okay 😩 |
|
@kaspar030 @miri64 We really need your holy words here :( |
|
@dylad it looks like you didn't rebase the branch against the latest master, can you rebase the |
|
@smlng I'll try but when I rebased the branch yesterday, I'm sure I was on the lastest (at this time) master already. |
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
I2C: introduce new API
adcxx1c: adapt to new i2c API
Changed shell to reflect the api very closely. This allows full access to each function for unit testing.
Add automated script to test devices against a known testers. This will make it easier to run tests instead of manual testing. This is something that works for now but will be better integrated later.
drivers/hih6130: adapt to new i2c API
…ster tests/periph_i2c: Add automated tests
cpu: efm32: adapt to new I2C interface
|
Looks like this is worse... |
|
not really, but it didn't help either ... |
|
@smlng Could you detailled the steps you used to reproduce the issue on Travis on your side please ? |
|
I retested locally with : Indeed, it fails with
|
|
@dylad (not so) funny side note, when I do it fails but when I do and do nothing on the interactive merge just quit the editor (vim) with It seems there is a difference in the default merge strategy or something like that, so we might be able to fix this on Murdock, at least. |
|
@smlng I'm completely lost with this PR... Why can we merge all the PRs we want except this one ?! |
|
there is a merge conflict during the rebase - at least how Travis and Murdock do the rebase. I don't think its git version related. |
|
@smlng So you think we should change the behaviour of Murdock/Travis just because of this PR ? |
|
closed in favour of (working) #9548 |
|
Sorry, old habbit ^^" |
|
@miri64 You can delete this branch if you want, |
Contribution description
This PR introduces and adapts to all cpu/board/device drivers, the new I2C interface of RIOT from the feature branch. The branch used is a cloned and rebased version of new_i2c_if because I didn't want to rebase new_i2c_if yet.
All comments/reviews will be much appreciate as the PR is pretty big.
Issues/PRs references
Tracking issue of the I2C refactoring #6577