Implementation of a proximity alert system based on STM32-F7 Discovery board with uCLinux OS inside and the HC-SR04 Ultrasonic Ranging Module. The file sample.c contains the driver for the linux embedded OS, while app.c is the test program.
sample.c is the device driver, a loadable kernel module and implements a character based device, in particular the driver for the HCSR04 sensor.
app.c is the test program that allows you to use, from user space, the services provided by the device driver through the Virtual File Interface.
for more details, see pdf file.
linux-driver-for-ultrasonic-sensor-hc-sr04's People