637bfc29f9
gpioow(4), attaching a bit-banging driver via a GPIO pin. Also, owtemp(4) which supports some of the 1-Wire temperature sensors, including the DS18b20 and DS1920 - temperatures are returned via the envsys(4) framework. Original drivers by Alexander Yurchenko (grange@openbsd), with envsys(4) support and a fix to the 1-wire search algorithm (for discovering devices on the bus) by me. As discussed on tech-kern earlier this week.
9 lines
282 B
Makefile
9 lines
282 B
Makefile
# $NetBSD: Makefile.onewiredevs,v 1.1 2006/04/07 18:55:22 riz Exp $
|
|
# $OpenBSD: Makefile,v 1.1 2006/03/04 16:27:03 grange Exp $
|
|
|
|
AWK?= awk
|
|
|
|
onewiredevs.h onewiredevs_data.h: onewiredevs devlist2h.awk
|
|
/bin/rm -f onewiredevs.h onewiredevs_data.h
|
|
${AWK} -f devlist2h.awk onewiredevs
|