瀏覽代碼

Add comments about EEPROM size config

main
PaulStoffregen 6 年之前
父節點
當前提交
44359dcf6b
共有 2 個檔案被更改,包括 11 行新增0 行删除
  1. +3
    -0
      teensy3/avr/eeprom.h
  2. +8
    -0
      teensy3/eeprom.c

+ 3
- 0
teensy3/avr/eeprom.h 查看文件

* THE SOFTWARE. * THE SOFTWARE.
*/ */


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

#ifndef _AVR_EEPROM_H_ #ifndef _AVR_EEPROM_H_
#define _AVR_EEPROM_H_ 1 #define _AVR_EEPROM_H_ 1



+ 8
- 0
teensy3/eeprom.c 查看文件

* SOFTWARE. * 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 "kinetis.h"
#include <avr/eeprom.h> #include <avr/eeprom.h>
//#include "HardwareSerial.h" //#include "HardwareSerial.h"

Loading…
取消
儲存