parent
e8e2879c56
commit
b06895d00f
2 changed files with 2 additions and 1 deletions
2
main.c
2
main.c
|
@ -43,7 +43,7 @@ void usage(FILE *fp)
|
|||
" -T <timeout> Time (seconds) to wait after successfull TFTP upload [%d s]\n"
|
||||
" -p <port> Port to use for TFTP upload [%d]\n"
|
||||
#ifdef NMRPFLASH_SET_REGION
|
||||
" -R <region> Set device region (NA, WW, GR, PR, RU, BZ, IN, KO, JP)\n"
|
||||
" -R <region> Set device region (NA, WW, GR, PR, RU, BZ, IN, KO, JP, AU)\n"
|
||||
#endif
|
||||
" -S <n> Skip <n> bytes of the firmware file\n"
|
||||
#ifdef NMRPFLASH_TFTP_TEST
|
||||
|
|
1
nmrp.c
1
nmrp.c
|
@ -113,6 +113,7 @@ static uint16_t to_region_code(const char *region)
|
|||
REGION_CODE("IN", 0x0007);
|
||||
REGION_CODE("KO", 0x0008);
|
||||
REGION_CODE("JP", 0x0009);
|
||||
REGION_CODE("AU", 0x000a);
|
||||
#undef REGION_CODE
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue