瀏覽代碼

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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存