The BeagleBone Weather cape enhances the BeagleBone's capabilities by providing environment sensors (temperature, humidity, pressure, and ambient light level). The weatherstation demo is a port of the bonescript weatherstation to Minix. It provides a nice visual display of the sensor data in a web browser. The code is installed to /usr/share/beaglebone/weather on 'earm' and an embedded web server is started at boot time on port 80 when the cape is attached. Further details are provided in the README.txt file. Change-Id: I1596a2b66b213762ace26c0c750c8154c76b5c6e
15 lines
375 B
Makefile
15 lines
375 B
Makefile
# BeagleBone Weather Cape Demo
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
NOOBJ= # defined
|
|
|
|
FILES= LICENSE README.txt jquery.js style.css weatherstation.js \
|
|
index.html processing.js spin.js weatherstation.lua
|
|
|
|
# weatherstation.lua is an executable script run under tcpd and needs BINMODE
|
|
FILESMODE_weatherstation.lua=${BINMODE}
|
|
|
|
FILESDIR=/usr/share/beaglebone/weather
|
|
|
|
.include <bsd.prog.mk>
|