forked from flukso/flm02
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
79 lines (66 loc) · 2.02 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
This git repo contains the code needed for builing an OpenWRT Attitude Adjustment-based
firmware for the Fluksometer v2, aka FLM02.
This firmware is a fork of the original Flukso firmware [github.com/flukso/flm02]
tailored for the use with the mySmartGrid platform.
tree:
.
|-- avr
|-- docs
| `-- manual
|-- eagle
| |-- cam
| |-- dru
| |-- lbr
| `-- prj
| |-- flukso.sensor.board.v2.0
| `-- flukso.sensor.board.v2.1
|-- modules
|-- openwrt
| |-- files
| | `-- etc
| |-- package
| | |-- avahi
| | |-- avrdude
| | |-- flm-button
| | |-- flm-ui
| | |-- gdbm
| | |-- intltool
| | |-- libdaemon
| | |-- libhexabus
| | |-- lua-mosquitto
| | |-- luazlib
| | |-- luazmq
| | |-- mosquitto
| | |-- msg-flukso
| | |-- zeromq
| `-- patches
`-- tools
avr: AVR microcontroller code for the v2 Flukso sensor board
docs: LaTeX sources of the Fluksometer Manual
eagle: Eagle schematic, board and BOM files for building a v2 Flukso sensor
board
modules: CMake modules for initializing the OpenWRT SDK
openwrt: the modules, patches and scripts needed to tailor a stock OpenWRT
Attitude Adjustment to the Fluksometer hardware.
tools: a set of helper tools for flashing, generating boardconfigs, etc.
### OpenWRT build instructions ###
To build the firmware create a directory outside the source directory and
run 'cmake $SOURCEDIR' where $SOURCEDIR is the path to the directory
containing this README.
Make sure you ran 'git submodule init && git submodule update' before building
the firmware.
#### Troubleshooting ####
In case the build process fails due to errors in the packages feed of OpenWRT
one can execute the following steps to revert back to a working commit.
cd $BUILDDIR/feeds/packages
git fetch --unshallow
git checkout $COMMITHASH
cd $BUILDDIR
cmake -Dopenwrt_update_feeds=OFF $SOURCEDIR
make
In order to get back to upstream you have to execute the following steps
cd $BUILDDIR/feeds/packages
git checkout master
cd $BUILDDIR
cmake -Dopenwrt_update_feeds=ON $SOURCEDIR
make