Browse Source

Add comments about EEPROM size config

teensy4-core
PaulStoffregen 6 years ago
parent
commit
44359dcf6b
2 changed files with 11 additions and 0 deletions
  1. +3
    -0
      teensy3/avr/eeprom.h
  2. +8
    -0
      teensy3/eeprom.c

+ 3
- 0
teensy3/avr/eeprom.h View File

@@ -20,6 +20,9 @@
* THE SOFTWARE.
*/

// Guidelines for editing this file:
// https://forum.pjrc.com/threads/34537-Teensy-LC-Increase-EEPROM-Size/page2

#ifndef _AVR_EEPROM_H_
#define _AVR_EEPROM_H_ 1


+ 8
- 0
teensy3/eeprom.c View File

@@ -28,6 +28,14 @@
* SOFTWARE.
*/

// To configure the EEPROM size, edit E2END in avr/eeprom.h.
//
// Do *NOT* edit EEPROM_SIZE in this file. It will automatically
// change based on your changes to E2END in avr/eeprom.h.
//
// Generally you should avoid editing this code, unless you really
// know what you're doing.

#include "kinetis.h"
#include <avr/eeprom.h>
//#include "HardwareSerial.h"

Loading…
Cancel
Save