tiny210 hal 3 硬件抽象层增加接口模块访问硬件驱动程序

refer to  在Android硬件抽象层增加接口模块访问硬件驱动程序

在硬件抽象层中添加访问驱动程序的代码
hardware/libhardware/include/hardware/hello.h
hardware/libhardware/modules/hello/hello.c
hello.c负责直接与驱动打交道,比如open,read等

输出
out/target/product/smdkv210/system/lib/hw/hello.default.so


在tiny210下的system/lib/hw/已经有很多硬件抽象层so了
/ # ls system/lib/hw/
sensors.mini210.so
gralloc.default.so
gps.goldfish.so
overlay.s5pc110.so
lights.s5pc110.so
copybit.s5pc110.so
lights.mini210.so
sensors.goldfish.so
gps.mini210.so


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值