File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
SampleProjects/TestSomething/test Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,6 @@ unittest(length)
9
9
assertEqual (EEPROM_SIZE, EEPROM.length ());
10
10
}
11
11
12
- #else
13
-
14
- unittest (eeprom)
15
- {
16
- assertTrue (true );
17
- }
18
-
19
12
#endif
20
13
21
14
unittest_main ()
Original file line number Diff line number Diff line change 351
351
Last two letters: EEAR address. */
352
352
#define __EEPROM_REG_LOCATIONS__ 1F2021
353
353
354
+ /* According to https://ww1.microchip.com/downloads/en/devicedoc/atmel-2549-8-bit-avr-microcontroller-atmega640-1280-1281-2560-2561_datasheet.pdf,
355
+ * the Atmel ATmega640/V-1280/V-1281/V-2560/V-2561/V microcontrollers each have
356
+ * 4Kbytes of EEPROM and since this file is included from things that seem
357
+ * to match that description, it would be helpful to know that EEPROM is
358
+ * available and know its size. This macro is defined for many other models,
359
+ * so we will add it here.
360
+ *
361
+ * See https://github.com/Arduino-CI/arduino_ci/issues/166#issuecomment-703904394.
362
+ */
363
+ #define EEPROM_SIZE (4096)
364
+
354
365
#define GTCCR _SFR_IO8(0x23)
355
366
#define TSM 7
356
367
#define PSRASY 1
You can’t perform that action at this time.
0 commit comments