aboutsummaryrefslogtreecommitdiffhomepage
path: root/source/Core/BSP/Pinecil
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2023-06-19 16:41:47 +1000
committerBen V. Brown <[email protected]>2023-06-19 16:41:47 +1000
commit9b5d155d313b87afc2c0aed21fff9d6c1b26eb2d (patch)
tree2c46acbac719ca6063e1c029411bfd816f69ad34 /source/Core/BSP/Pinecil
parent03eb8b9417b90f44873207105132c309a109a115 (diff)
downloadIronOS-9b5d155d313b87afc2c0aed21fff9d6c1b26eb2d.tar.gz
IronOS-9b5d155d313b87afc2c0aed21fff9d6c1b26eb2d.zip
Handle devices where flash is not 1:1 memory mapped
Diffstat (limited to 'source/Core/BSP/Pinecil')
-rw-r--r--source/Core/BSP/Pinecil/configuration.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/Core/BSP/Pinecil/configuration.h b/source/Core/BSP/Pinecil/configuration.h
index 7fae28b4..ce1abdbd 100644
--- a/source/Core/BSP/Pinecil/configuration.h
+++ b/source/Core/BSP/Pinecil/configuration.h
@@ -63,10 +63,10 @@
* OLED Brightness
*
*/
-#define MIN_BRIGHTNESS 0 // Min OLED brightness selectable
-#define MAX_BRIGHTNESS 100 // Max OLED brightness selectable
-#define BRIGHTNESS_STEP 25 // OLED brightness increment
-#define DEFAULT_BRIGHTNESS 25 // default OLED brightness
+#define MIN_BRIGHTNESS 0 // Min OLED brightness selectable
+#define MAX_BRIGHTNESS 100 // Max OLED brightness selectable
+#define BRIGHTNESS_STEP 25 // OLED brightness increment
+#define DEFAULT_BRIGHTNESS 25 // default OLED brightness
/**
* Temp change settings
@@ -162,10 +162,11 @@
#define HARDWARE_MAX_WATTAGE_X10 750
#define TIP_THERMAL_MASS 65 // X10 watts to raise 1 deg C in 1 second
#define TIP_RESISTANCE 75 // x10 ohms, 7.5 typical for Pinecil tips
+#define CANT_DIRECT_READ_SETTINGS
#endif
#endif
-#define FLASH_LOGOADDR (0x08000000 + (126 * 1024))
+#define FLASH_LOGOADDR (0x08000000 + (126 * 1024))
#define SETTINGS_START_PAGE (0x08000000 + (127 * 1024))
#define HAS_POWER_DEBUG_MENU