Skip to content

Commit

Permalink
Merge pull request #260 from BobRyan530/fix_specprog_typo
Browse files Browse the repository at this point in the history
Fix typo preventing specpgm hint from being read on cmdline
  • Loading branch information
cnlohr authored Dec 24, 2023
2 parents 157f092 + 72e6850 commit 7e66742
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion minichlink/99-minichlink.rules
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="8010", GROUP="plugdev", MODE="0660"
SUBSYSTEM=="usb", ATTRS{idVendor}=="303a", ATTRS{idProduct}=="4004", GROUP="plugdev", MODE="0660"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="303a", ATTRS{idProduct}=="4004", GROUP="plugdev", MODE="0660"

# rv003usb bootloader
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="b003", GROUP="plugdev", MODE="0660"
#KERNEL=="hiddev*", SUBSYSTEM=="usbmisc", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="b003", GROUP="plugdev", MODE="0660"
3 changes: 2 additions & 1 deletion minichlink/minichlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ int main( int argc, char ** argv )
if( i < argc )
hints.serial_port = argv[i];
}
else if( strncmp( v, "-c", 2 ) == 0 )
else if( strncmp( v, "-C", 2 ) == 0 )
{
i++;
if( i < argc )
Expand Down Expand Up @@ -649,6 +649,7 @@ int main( int argc, char ** argv )
fprintf( stderr, " -t Disable 3.3V\n" );
fprintf( stderr, " -f Disable 5V\n" );
fprintf( stderr, " -c [serial port for Ardulink, try /dev/ttyACM0 or COM11 etc]\n" );
fprintf( stderr, " -C [specified programmer, eg. b003boot, ardulink, esp32s2chfun]\n" );
fprintf( stderr, " -u Clear all code flash - by power off (also can unbrick)\n" );
fprintf( stderr, " -E Erase chip\n" );
fprintf( stderr, " -b Reboot out of Halt\n" );
Expand Down

0 comments on commit 7e66742

Please sign in to comment.