Hi everyone, It would be great if I could get some guidance/insights from someone who has worked on adding a new hardware support to sigrok.
Thanks Ashwin On Thu, 27 May 2021 at 3:20 PM, ashwin Nair <annrwor...@gmail.com> wrote: > All > > I had few queries regarding the sigrok project. I have been trying to add > support for a USB3 controller (Cypress FX3 SuperSpeed Controller > <https://www.cypress.com/products/ez-usb-fx3-superspeed-usb-30-peripheral-controller> > to > be exact) to the sigrok project. I have used Pulseview > with a fx2 clone and found it extremely powerful and convenient. I wanted > to contribute by adding support for the USB3 controller to make it even > more powerful. > > My understanding of steps that I need to follow for adding a new hardware > support to sigrok is as follows : > > *Step 1:* Use the new-driver script to generate skeleton files (api.c, > protocol.c/.h) > *Step 2: *Modify created files accordingly to support FX3. > *Step 3:* I need to run the final executable in Windows first, so I will > need to cross-compile the sigrok project (all projects from libsigrok to > pulseview) using MXE on Linux and make the installer. > *Step 4: *Test the generated executable and verify functionality. If > something's not working - check FX3 firmware or make fixes in sigrok driver > and repeat from *Step 2* > > This is my understanding of the process to be followed to add support to > ANY new hardware to sigrok. I wanted to confirm with people who have done > it already before I head out. Please let me know if the above understanding > is correct. > > > Thanks in advance, > ashwin >
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel