Sfoglia il codice sorgente

Add comments about EEPROM size config

main
PaulStoffregen 6 anni fa
parent
commit
44359dcf6b
2 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. +3
    -0
      teensy3/avr/eeprom.h
  2. +8
    -0
      teensy3/eeprom.c

+ 3
- 0
teensy3/avr/eeprom.h Vedi 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 Vedi 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…
Annulla
Salva