comparison Debug/cli/cli.c @ 358:32dfab699fc0

Add Unique Id to version information
author Jacob Alexander <haata@kiibohd.com>
date Wed, 05 Aug 2015 10:18:35 -0700
parents 9dd55aa71d76
children d8f61e15aca1
comparison
equal deleted inserted replaced
357:86b937945313 358:32dfab699fc0
546 print( " \033[1mArchitecture:\033[0m " CLI_Arch NL ); 546 print( " \033[1mArchitecture:\033[0m " CLI_Arch NL );
547 print( " \033[1mChip:\033[0m " CLI_Chip NL ); 547 print( " \033[1mChip:\033[0m " CLI_Chip NL );
548 print( " \033[1mCPU:\033[0m " CLI_CPU NL ); 548 print( " \033[1mCPU:\033[0m " CLI_CPU NL );
549 print( " \033[1mDevice:\033[0m " CLI_Device NL ); 549 print( " \033[1mDevice:\033[0m " CLI_Device NL );
550 print( " \033[1mModules:\033[0m " CLI_Modules NL ); 550 print( " \033[1mModules:\033[0m " CLI_Modules NL );
551 } 551 #if defined(_mk20dx128_) || defined(_mk20dx128vlf5_) || defined(_mk20dx256_) || defined(_mk20dx256vlh7_)
552 552 print( " \033[1mUnique Id:\033[0m " );
553 printHex32_op( SIM_UIDH, 4 );
554 printHex32_op( SIM_UIDMH, 4 );
555 printHex32_op( SIM_UIDML, 4 );
556 printHex32_op( SIM_UIDL, 4 );
557 #elif defined(_at90usb162_) || defined(_atmega32u4_) || defined(_at90usb646_) || defined(_at90usb1286_)
558 #else
559 #error "No unique id defined."
560 #endif
561 }
562