Merge pull request #67 from lihex/develop

bugs fix
add linux platform & clean code
add code for linux platform