主题 : Tiny4412 G-sensor HAL資料在哪?? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 95567
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2013-08-16
最后登录: 2014-04-25
楼主  发表于: 2014-04-11 20:57

 Tiny4412 G-sensor HAL資料在哪??

大家好,最近小弟買了塊Tiny4412

想玩看看3-axis Acceleration Sensor 三軸加速度感應器(G-sensor)

去光盤附贈的android4.2.2版本內翻找,竟然找不到哪邊有相關的HAL程式碼

請問各位大神,通常sensor HAL資料都放在哪邊的資料夾呢??

另外
若想移植sensor到native android source code做啟動,大致上該怎麼做呢??

(因為以前都玩kernel底層,HAL不太熟)

感謝各位了~
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2014-04-12 09:01
很不幸的是友善之臂没有开放sensor HAL的source coe,参考http://www.aiothome.net/read.php?tid-81862.html
至于自己开发sensor HAL,希望这个帖子对你有帮助:
http://www.aiothome.net/read.php?tid-24390.html
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."