summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/sansac200v2.h3
-rw-r--r--firmware/export/config/sansaclip.h3
-rw-r--r--firmware/export/config/sansaclipplus.h2
-rw-r--r--firmware/export/config/sansaclipv2.h3
-rw-r--r--firmware/export/config/sansae200v2.h3
-rw-r--r--firmware/export/config/sansafuze.h3
-rw-r--r--firmware/export/config/sansafuzev2.h3
-rw-r--r--firmware/export/powermgmt.h1
8 files changed, 21 insertions, 0 deletions
diff --git a/firmware/export/config/sansac200v2.h b/firmware/export/config/sansac200v2.h
index aa9ccbe6b3..a87d1543a3 100644
--- a/firmware/export/config/sansac200v2.h
+++ b/firmware/export/config/sansac200v2.h
@@ -154,6 +154,9 @@
154#define CURRENT_BACKLIGHT 25 154#define CURRENT_BACKLIGHT 25
155#define CURRENT_RECORD CURRENT_NORMAL 155#define CURRENT_RECORD CURRENT_NORMAL
156 156
157/* maximum charging current */
158#define CURRENT_MAX_CHG 200
159
157/* The start address index for ROM builds */ 160/* The start address index for ROM builds */
158#define ROM_START 0x00000000 161#define ROM_START 0x00000000
159 162
diff --git a/firmware/export/config/sansaclip.h b/firmware/export/config/sansaclip.h
index 3ef6e2649d..d43fa898b0 100644
--- a/firmware/export/config/sansaclip.h
+++ b/firmware/export/config/sansaclip.h
@@ -158,6 +158,9 @@
158#define CURRENT_BACKLIGHT 13 158#define CURRENT_BACKLIGHT 13
159#define CURRENT_RECORD CURRENT_NORMAL 159#define CURRENT_RECORD CURRENT_NORMAL
160 160
161/* maximum charging current */
162#define CURRENT_MAX_CHG 150
163
161/* Define this to the CPU frequency */ 164/* Define this to the CPU frequency */
162#define CPU_FREQ 248000000 165#define CPU_FREQ 248000000
163 166
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index 8d6ffac9b5..8a0a0403f3 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -165,6 +165,8 @@
165#define CURRENT_BACKLIGHT 15 165#define CURRENT_BACKLIGHT 15
166#define CURRENT_RECORD CURRENT_NORMAL /* TODO */ 166#define CURRENT_RECORD CURRENT_NORMAL /* TODO */
167 167
168/* maximum charging current */
169#define CURRENT_MAX_CHG 150
168 170
169/* Define this to the CPU frequency */ 171/* Define this to the CPU frequency */
170#define CPU_FREQ 240000000 172#define CPU_FREQ 240000000
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index ad960c3051..a39fe3e12c 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -161,6 +161,9 @@
161#define CURRENT_BACKLIGHT 15 161#define CURRENT_BACKLIGHT 15
162#define CURRENT_RECORD 11 162#define CURRENT_RECORD 11
163 163
164/* maximum charging current */
165#define CURRENT_MAX_CHG 150
166
164/* Define this to the CPU frequency */ 167/* Define this to the CPU frequency */
165#define CPU_FREQ 240000000 168#define CPU_FREQ 240000000
166 169
diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h
index ef9c007a58..1b7d76e650 100644
--- a/firmware/export/config/sansae200v2.h
+++ b/firmware/export/config/sansae200v2.h
@@ -162,6 +162,9 @@
162#define CURRENT_BACKLIGHT 30 162#define CURRENT_BACKLIGHT 30
163#define CURRENT_RECORD CURRENT_NORMAL 163#define CURRENT_RECORD CURRENT_NORMAL
164 164
165/* maximum charging current */
166#define CURRENT_MAX_CHG 300
167
165/* The start address index for ROM builds */ 168/* The start address index for ROM builds */
166#define ROM_START 0x00000000 169#define ROM_START 0x00000000
167 170
diff --git a/firmware/export/config/sansafuze.h b/firmware/export/config/sansafuze.h
index 15f9f662cf..e2b3fa8aaa 100644
--- a/firmware/export/config/sansafuze.h
+++ b/firmware/export/config/sansafuze.h
@@ -166,6 +166,9 @@
166#define CURRENT_BACKLIGHT 30 166#define CURRENT_BACKLIGHT 30
167#define CURRENT_RECORD CURRENT_NORMAL 167#define CURRENT_RECORD CURRENT_NORMAL
168 168
169/* maximum charging current */
170#define CURRENT_MAX_CHG 200
171
169/* Define this to the CPU frequency */ 172/* Define this to the CPU frequency */
170#define CPU_FREQ 248000000 173#define CPU_FREQ 248000000
171 174
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index 78c2f6b721..b725ab5007 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -168,6 +168,9 @@
168#define CURRENT_BACKLIGHT 30 168#define CURRENT_BACKLIGHT 30
169#define CURRENT_RECORD CURRENT_NORMAL 169#define CURRENT_RECORD CURRENT_NORMAL
170 170
171/* maximum charging current */
172#define CURRENT_MAX_CHG 200
173
171/* Define this to the CPU frequency */ 174/* Define this to the CPU frequency */
172#define CPU_FREQ 240000000 175#define CPU_FREQ 240000000
173 176
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index 03b9d34d54..983825052e 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -22,6 +22,7 @@
22#define _POWERMGMT_H_ 22#define _POWERMGMT_H_
23 23
24#include <stdbool.h> 24#include <stdbool.h>
25#include "config.h"
25 26
26#define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */ 27#define POWER_HISTORY_LEN 2*60 /* 2 hours of samples, one per minute */
27 28