Commit Graph

4 Commits

Author SHA1 Message Date
Triss d64791bac6 woah it works 2021-10-07 01:23:24 +02:00
Triss 00f11cd9d7 mehfet boilerplate, also fix bug in VID/PID stuff 2021-10-05 22:00:06 +02:00
Andrew Bradford 1ca3919a1c drivers/jtdev_bus_pirate: Fix GCC 7 misleading indent warning
Indent the jtbp_close() function consistently with tabs in order to fix
for GCC 7's flagging of this warning:

drivers/jtdev_bus_pirate.c: In function ‘jtbp_close’:
drivers/jtdev_bus_pirate.c:189:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(write(p->port, &out_buff, 1));
     ^~
drivers/jtdev_bus_pirate.c:191:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  close(p->port);
  ^~~~~

Signed-off-by: Andrew Bradford <andrew@bradfordembedded.com>
2018-02-09 13:42:46 -05:00
Alex Orange 682d7ecc9c Add a bus pirate driver.
This is extremely slow at programming things, but is very useful for
unbricking an MSP-FET430UIF if you have a bus pirate and no other
programmers around.
2017-06-14 13:53:03 -06:00