You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
builderLogger.Warn(tr("Couldn't determine program size"))
140
+
b.logger.Warn(tr("Couldn't determine program size"))
149
141
returnnil, nil
150
142
}
151
143
152
-
builderLogger.Info(tr("Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s bytes.",
144
+
b.logger.Info(tr("Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s bytes.",
153
145
strconv.Itoa(textSize),
154
146
strconv.Itoa(maxTextSize),
155
147
strconv.Itoa(textSize*100/maxTextSize)))
156
148
ifdataSize>=0 {
157
149
ifmaxDataSize>0 {
158
-
builderLogger.Info(tr("Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s bytes for local variables. Maximum is %[2]s bytes.",
150
+
b.logger.Info(tr("Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s bytes for local variables. Maximum is %[2]s bytes.",
159
151
strconv.Itoa(dataSize),
160
152
strconv.Itoa(maxDataSize),
161
153
strconv.Itoa(dataSize*100/maxDataSize),
162
154
strconv.Itoa(maxDataSize-dataSize)))
163
155
} else {
164
-
builderLogger.Info(tr("Global variables use %[1]s bytes of dynamic memory.", strconv.Itoa(dataSize)))
156
+
b.logger.Info(tr("Global variables use %[1]s bytes of dynamic memory.", strconv.Itoa(dataSize)))
builderLogger.Warn(tr("Sketch too big; see %[1]s for tips on reducing it.", "https://support.arduino.cc/hc/en-us/articles/360013825179"))
176
+
b.logger.Warn(tr("Sketch too big; see %[1]s for tips on reducing it.", "https://support.arduino.cc/hc/en-us/articles/360013825179"))
185
177
returnexecutableSectionsSize, errors.New(tr("text section exceeds available space in board"))
186
178
}
187
179
188
180
ifmaxDataSize>0&&dataSize>maxDataSize {
189
-
builderLogger.Warn(tr("Not enough memory; see %[1]s for tips on reducing your footprint.", "https://support.arduino.cc/hc/en-us/articles/360013825179"))
181
+
b.logger.Warn(tr("Not enough memory; see %[1]s for tips on reducing your footprint.", "https://support.arduino.cc/hc/en-us/articles/360013825179"))
190
182
returnexecutableSectionsSize, errors.New(tr("data section exceeds available space in board"))
0 commit comments