python script for progamming via solo bootloader
This commit is contained in:
@@ -130,6 +130,7 @@ int bootloader_bridge(uint8_t klen, uint8_t * keyh)
|
||||
return 0;
|
||||
break;
|
||||
case BootVersion:
|
||||
has_erased = 0;
|
||||
printf1(TAG_BOOT, "BootVersion.\r\n");
|
||||
u2f_response_writeback(&version,1);
|
||||
return 0;
|
||||
|
@@ -72,6 +72,7 @@ int main(int argc, char * argv[])
|
||||
// TAG_TIME|
|
||||
// TAG_DUMP|
|
||||
TAG_BOOT|
|
||||
TAG_EXT|
|
||||
TAG_GREEN|
|
||||
TAG_RED|
|
||||
TAG_ERR
|
||||
@@ -107,7 +108,7 @@ int main(int argc, char * argv[])
|
||||
|
||||
memset(hidmsg,0,sizeof(hidmsg));
|
||||
|
||||
printf1(TAG_GEN,"recv'ing hid msg \n");
|
||||
printf1(TAG_GEN,"recv'ing hid msg \n");
|
||||
|
||||
|
||||
while(1)
|
||||
|
@@ -11,6 +11,11 @@
|
||||
|
||||
#define BOOT_TO_DFU 0
|
||||
|
||||
// Uncomment SOLO_HACKKER to Only use level 1 read-out-protection,
|
||||
// allows booting to ST bootloader or Solo bootloader without any button press,
|
||||
// Disables signature check in Solo bootloader.
|
||||
#define SOLO_HACKER
|
||||
|
||||
//#define USING_DEV_BOARD
|
||||
|
||||
//#define ENABLE_U2F_EXTENSIONS
|
||||
|
Reference in New Issue
Block a user