Donny9 edited a comment on pull request #2039:
URL: https://github.com/apache/incubator-nuttx/pull/2039#issuecomment-712562494


   > 
   > 
   > @Donny9 I would be very supportive of an approach like this. I had the 
same feeling trying to use the sensor subsystem and had asked about building 
something like this out a couple years ago. I probably have 10 or 15 of the 
sensors that are currently supported, especially the i2c ones, so I could 
probably contribute some of the lower half drivers over time and certainly do 
some testing.
   
   I have written sensorhub software on linux and ceva/qcom dsp before, and i 
found that they are particularly good compared with the nuttx sensor driver. so 
i looked at rtt, linux, android hal, AliOS,zephy,mynewt_core. You can try 
porting a device on this model.
   
   
https://github.com/alibaba/AliOS-Things/blob/master/include/service/udata/udata.h
   
https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/master/sensors/1.0/types.hal
   
https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/master/contexthub/1.0/types.hal
   
https://github.com/zephyrproject-rtos/zephyr/blob/master/include/drivers/sensor.h
   
https://github.com/RT-Thread/rt-thread/blob/master/components/drivers/sensors/sensor.h
   
https://github.com/apache/mynewt-core/blob/master/hw/sensor/include/sensor/sensor.h
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to