summaryrefslogtreecommitdiffstats
path: root/main/jmm.patch
blob: 0bde6665116f74838a07abc5ac001a0e468869c9 (plain)
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
diff --git a/movement/alt_fw/jmm.h b/movement/alt_fw/jmm.h
new file mode 100644
index 0000000..878b4a4
--- /dev/null
+++ b/movement/alt_fw/jmm.h
@@ -0,0 +1,28 @@
+#ifndef MOVEMENT_CONFIG_H_
+#define MOVEMENT_CONFIG_H_
+
+#include "movement_faces.h"
+
+#define MOVEMENT_DEFAULT_RED_COLOR 0xf
+#define MOVEMENT_DEFAULT_GREEN_COLOR 0xf
+
+const watch_face_t watch_faces[] = {
+    simple_clock_face,
+    stock_stopwatch_face,
+    world_clock_face,
+    totp_face_lfs,
+    moon_phase_face,
+    sunrise_sunset_face,
+    decimal_time_face,
+    beats_face,
+    astronomy_face,
+    preferences_face,
+    frequency_correction_face,
+    set_time_face,
+};
+
+#define MOVEMENT_NUM_FACES (sizeof(watch_faces) / sizeof(watch_face_t))
+
+#define SIGNAL_TUNE_DEFAULT
+
+#endif // MOVEMENT_CONFIG_H_
diff --git a/movement/make/Makefile b/movement/make/Makefile
index 625c772..db08929 100644
--- a/movement/make/Makefile
+++ b/movement/make/Makefile
@@ -1,3 +1,5 @@
+FIRMWARE=JMM
+COLOR=RED
 # Leave this line at the top of the file; it has all the watch library sources and includes.
 TOP = ../..
 include $(TOP)/make.mk
diff --git a/movement/movement.c b/movement/movement.c
index 0c6ed31..ec20ce6 100644
--- a/movement/movement.c
+++ b/movement/movement.c
@@ -52,6 +52,8 @@
 #include "alt_fw/the_stargazer.h"
 #elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_DEEP_SPACE_NOW
 #include "alt_fw/deep_space_now.h"
+#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_JMM
+#include "alt_fw/jmm.h"
 #endif
 
 #include "movement_custom_signal_tunes.h"