add missing function impl.
update git ignore.
Merge remote-tracking branch 'origin/master' into onyx_eink
modify according changes in OnyxSDK