2009年12月20日

Get file's size in Hex

更新firmware前, 如果遇到比較陽春的bootloader, 有的還要自己手動輸入檔案大小
這時可以先將做出來的大小先算出, 再以script代入就可以了

ls -l FileName  | awk '{print $5} ' |   echo "ibase=10;obase=16;$$" | bc

沒有留言:

coap-client 4.3.0 Windows build

coap-client  is a  wget -like tool to generate simple requests for retrieval and modification of resources on a remote server.  Got the sour...