Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

added ST_VL53L0X and ST_VL53L1X #804

Merged
merged 27 commits into from
Sep 22, 2019
Merged

added ST_VL53L0X and ST_VL53L1X #804

merged 27 commits into from
Sep 22, 2019

Conversation

valerionew
Copy link
Contributor

@valerionew valerionew commented Aug 3, 2018

Footprint for both VL53L0X and VL53L1X ST's Time of flight sensors.
Both sensors are pin compatible, and could use the same footprint. I'm not really sure on how to specify it so i left that part off the name. Should i make two separate identical footprints?

VL53L0X datasheet: https://www.st.com/resource/en/datasheet/vl53l0x.pdf
VL53L1X datasheet: https://www.st.com/resource/en/datasheet/vl53l1x.pdf

image

No symbol or 3D model so far. I'll make the symbol PR whenever this is approved, so that i can link it

EDIT:
Current versions:
ST_VL53L
image
ST_VL53L_HandSoldering
image


Thanks for creating a pull request to contribute to the KiCad libraries! To speed up integration of your PR, please check the following items:

  • Provide a URL to a datasheet for the footprint(s) you are contributing
  • An example screenshot image is very helpful
  • If there are matching symbol or 3D model pull requests, provide link(s) as appropriate
  • Check the output of the Travis automated check scripts - fix any errors as required

@CLAassistant
Copy link

CLAassistant commented Aug 3, 2018

CLA assistant check
All committers have signed the CLA.

@valerionew
Copy link
Contributor Author

First contribution here, anybody can help with TravisCI errors?

  Violating G1.7
    Library files must use Unix-style line endings (LF)
    Incorrect line ending
     - Library files must use Unix-style line endings (LF)

The file is generated directly from kicad, so i really can't understand what could be going wrong with the line ending. I'm on windows, but seems at least strange that i can't contribute if i'm a windows user.

  Violating F9.3
    3D model settings
    No 3D model provided

ST has not released any 3D model. I could make one but not now, and i don't know what would be the final name if i contribute it. What should i do?

@poeschlr
Copy link
Collaborator

poeschlr commented Aug 3, 2018

You do not need to provide the 3d model it self. But you need to prepare the footprint for it. (So fill out the 3d settings as suggested by travis)

Regarding file endings. This should be taken care of by a proper git client. We have it setup such that such a client would automatically convert the line endings to unix stile. What client do you use? What is your git version?

@valerionew
Copy link
Contributor Author

You do not need to provide the 3d model it self. But you need to prepare the footprint for it. (So fill out the 3d settings as suggested by travis)

Fixed, thanks! I thought that adding also the step file link would be better but travis gave an error on that. Now it passes.

Regarding file endings. This should be taken care of by a proper git client. We have it setup such that such a client would automatically convert the line endings to unix stile. What client do you use? What is your git version?

Actually i'm using github's drag and drop commit system. I'm not very confident with CLI git interface.

@valerionew
Copy link
Contributor Author

@poeschlr can i push also the _HandSoldering version on this branch and on this PR? Or is it better to do a separate one?

@valerionew
Copy link
Contributor Author

@poeschlr The last commit was done with git CLI on linux and is giving the same problem. I guess that is the file, not the client (Git 2.16.3)

@valerionew
Copy link
Contributor Author

Now the _HandSoldering footprint is failing travis test because it uses the same 3D model as the other footprint.
To me is ok for merging, waiting the response of the mantainers

@Misca1234
Copy link
Collaborator

Now the _HandSoldering footprint is failing travis test because it uses the same 3D model as the other footprint.

That is ok, it is a known "problem" and it will be ignore.

@valerionew
Copy link
Contributor Author

Fixed all the problems shared between this and my other PR (#805) for the regular footprint.

Travis errors shoud be ignored, beeing:

Violating F6.2
For surface-mount devices, footprint anchor is placed in the middle of the footprint (IPC-7351).
Footprint anchor is not located at center of footprint
- Footprint center calculated as (-0.04,0.0)mm

Pad 1 has an extra rectangle for marking. However pick and place center doesn't account for it. We shouldn't mess up the footprint for a travis tantrum.
image

Violating F9.3
3D model settings
3D model directory is different from footprint directory (found 'Opto-Devices.3dshapes', should be 'OptoDevice.3dshapes')
3D model name is different from footprint name (found 'ST_VL53L', expected 'ST_VL53L_HandSoldering'), but this might be intentional!

Definitely intentional.

Current proposed footprint:
image

I'm fixing also the handsoldering version, commit coming soon!

@valerionew
Copy link
Contributor Author

Now also the _HandSoldering version footprint is committed. No relevant errors on travis, only the ones above. Waiting for mantainers to review
image

@valerionew
Copy link
Contributor Author

@Misca1234 @poeschlr
Hi guys, i'm waiting for a review for this PR. When you have time can you look into it?

I've tested the _HandSoldering version and works OK (reflow soldering with stencil).

@valerionew
Copy link
Contributor Author

valerionew commented Apr 28, 2019

@poeschlr the trick appears to be:

  • make an empty commit
  • git reset --hard "HEAD@{1}" (this also works for git resetting to another head, in Added Keystone 3002 #1183 i resetted to the head 5 before a rebase)
  • force push
  • make an empty commit again, to restart travis
  • push

I don't know which one of these operations resolves the issue, but together they worked for this and the other PR

@valerionew
Copy link
Contributor Author

@poeschlr can you please change the label to pending review? Thanks!

@poeschlr poeschlr added Ready for review Use this to mark pull requests that are updated but you could not review instantly and removed Pending changes labels May 28, 2019
@poeschlr
Copy link
Collaborator

Looks quite good with one minor thing. Could you move the reference to the top side and the value to the bottom? (I kind of missed this in my previous reviews. Sorry about that.)

@poeschlr poeschlr added Pending changes and removed Ready for review Use this to mark pull requests that are updated but you could not review instantly labels May 30, 2019
@valerionew valerionew closed this May 31, 2019
@valerionew valerionew deleted the VL53L branch May 31, 2019 19:06
@valerionew valerionew restored the VL53L branch May 31, 2019 19:07
@valerionew valerionew reopened this May 31, 2019
@poeschlr poeschlr closed this May 31, 2019
@poeschlr poeschlr reopened this May 31, 2019
@poeschlr
Copy link
Collaborator

travis somehow behaves as if the diff range is given with .. instead of ... which is why it shows much more files as different. This is either a bug by the git version used or a dot is somehow lost somewhere between the echo command and git diff.

@poeschlr poeschlr closed this May 31, 2019
@poeschlr poeschlr reopened this May 31, 2019
@valerionew valerionew mentioned this pull request Jun 2, 2019
5 tasks
@poeschlr poeschlr added Ready for review Use this to mark pull requests that are updated but you could not review instantly and removed Pending changes labels Sep 21, 2019
@poeschlr
Copy link
Collaborator

I somehow forgot to check this. looks good now, thanks

@poeschlr poeschlr merged commit 7eec326 into KiCad:master Sep 22, 2019
@valerionew
Copy link
Contributor Author

@poeschlr why is this merged? The footprints were merged by #1621, this was left open for debugging the problems with travis

@poeschlr
Copy link
Collaborator

Damn today is not my day it seems. Luckily the footprints were identical so in essence i added an empty commit to the master branch (not good but not really a problem either)

@poeschlr poeschlr removed the Ready for review Use this to mark pull requests that are updated but you could not review instantly label Sep 22, 2019
@antoniovazquezblanco antoniovazquezblanco added this to the 5.1.5 milestone Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Addition Adds new footprint to library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants