Adding a protocol mode to the Bus Pirate

There is a dummy mode in the source that demonstrates how the modes work. I’ve updated it and added a bunch of comments and simple demos:

Enable the dummy mode in pirate.h and compile.

While writing this up, it occurred to me that maybe we should have a syntax processor override option. Right now everything is compiled, executed, and post-processed for speed, but it’s more restrictive that just using printf to spit out info from the mode itself. I will look into that a bit later, it may not be a big deal to implement.

1 Like