Browse Source

Improve avr eeprom emulation, E2END

teensy4-core
PaulStoffregen 9 years ago
parent
commit
7a750fe78e
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      teensy3/avr/eeprom.h

+ 9
- 1
teensy3/avr/eeprom.h View File

#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>


#define E2END 0x80
#include "avr_functions.h"

#if defined(__MK20DX128__) || defined(__MK20DX256__)
#define E2END 2048
#elif defined(__MKL26Z64__)
#define E2END 128
#else
#define E2END 0
#endif


#endif #endif

Loading…
Cancel
Save