aboutsummaryrefslogtreecommitdiffhomepage
path: root/source
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2022-02-09 22:00:54 +1100
committerBen V. Brown <[email protected]>2022-02-09 22:00:54 +1100
commita84bf967e16a82c419cea12843d41420ce91d89d (patch)
tree6e643b9fe3f2e1f0f1a1fca442314afca51c2cf2 /source
parent641fc76e4980b0e4ec61f1e095bc0aa0120f3c7a (diff)
downloadIronOS-a84bf967e16a82c419cea12843d41420ce91d89d.tar.gz
IronOS-a84bf967e16a82c419cea12843d41420ce91d89d.zip
Toggle on all known accelerometers
Diffstat (limited to 'source')
-rw-r--r--source/Core/BSP/Miniware/configuration.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/source/Core/BSP/Miniware/configuration.h b/source/Core/BSP/Miniware/configuration.h
index c74444ff..7b5d88d6 100644
--- a/source/Core/BSP/Miniware/configuration.h
+++ b/source/Core/BSP/Miniware/configuration.h
@@ -124,6 +124,14 @@
#error "No model defined!"
#endif
+// Miniware is swapping IMU's around a bit now, so we turn them all on
+
+#define ACCEL_MMA
+#define ACCEL_LIS
+#define ACCEL_SC7
+#define ACCEL_MSA
+#define ACCEL_BMA
+
#ifdef MODEL_TS100
#define SOLDERING_TEMP 320 // Default soldering temp is 320.0 °C
#define VOLTAGE_DIV 467 // 467 - Default divider from schematic
@@ -144,10 +152,9 @@
#define MIN_BOOST_TEMP_C 250 // The min settable temp for boost mode °C
#define MIN_BOOST_TEMP_F 480 // The min settable temp for boost mode °F
#define POW_DC
-#define ACCEL_MMA
+
#define POW_PD 0
-#define ACCEL_LIS
-#define ACCEL_SC7
+
#define TEMP_TMP36
#endif
@@ -170,8 +177,7 @@
#define MIN_TEMP_F 60 // Min soldering temp selectable °F
#define MIN_BOOST_TEMP_C 250 // The min settable temp for boost mode °C
#define MIN_BOOST_TEMP_F 480 // The min settable temp for boost mode °F
-#define ACCEL_LIS
-#define ACCEL_SC7
+
#define POW_QC
#define POW_PD 0
#define TEMP_TMP36
@@ -198,9 +204,7 @@
#define MIN_TEMP_F 60 // Min soldering temp selectable °F
#define MIN_BOOST_TEMP_C 250 // The min settable temp for boost mode °C
#define MIN_BOOST_TEMP_F 480 // The min settable temp for boost mode °F
-#define ACCEL_LIS
-#define ACCEL_SC7
-#define ACCEL_MSA
+
#define POW_PD 1
#define POW_QC 1
#define TEMP_NTC