Skip to content

Commit

Permalink
Increased size of EEPROM buffer in eepromtool.c
Browse files Browse the repository at this point in the history
This PR increases the size eepromtool can read/write to 4 megabit, which is the maximum slave devices seem to support according to the datasheets.

Due to space constraints on our device we store some application specific data on our slave that exceeds 32kbyte, hence the need for the ability to read/write larger images to EEPROM.
  • Loading branch information
jespersmith authored Jun 21, 2018
1 parent 0398b6b commit d8c5620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/linux/eepromtool/eepromtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include "ethercat.h"

#define MAXBUF 32768
#define MAXBUF 524288
#define STDBUF 2048
#define MINBUF 128
#define CRCBUF 14
Expand Down

0 comments on commit d8c5620

Please sign in to comment.