Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 1.22 KB

SigrokBuildNotes.md

File metadata and controls

16 lines (14 loc) · 1.22 KB

Building this should follow build flows similar to the documented build flows in libsigrok. Note: These steps rely on a brute-force copy approach to move the 3 needed files under /libsigrok/src/hardware/raspberrypi-pico. A cleaner way would be to pull a specific repo as the first step that has the sigrok-pico code in it, but this method helps ensure you can do a normal baseline build. Once this gets officially released into sigrok mainline then the sigrokutil/ new driver steps can be skipped.

Do something like this:

  1. git clone the mainline libsigrok, install all dependent libraries and build a baseline libsigrok.
  2. git clone the mainline sigrok-utils as described in sigrok build flows. Use the mainline sigrok-util. There is no special sigrok-pico version of it because there are no files that are modified. Instead sigrok-util just creates patch for libsigrok.
  3. cd /sigrok-util/source
  4. ./new-driver "RaspberryPI PICO"
  5. copy api.c, protocol.c and protocol.h from sigrokproject/libsigrok#181 into /libsigrok/src/hardware/raspberrypi-pico
  6. cd /libsigrok
  7. ./autogen.sh
  8. ./configure
  9. make

Install libsigrok and then build the sigrokcli and pulseview per the documentation.