Reorganize repository structure

This commit is contained in:
Telekatz 2017-07-05 22:48:01 +02:00
parent f2259c5424
commit 6202a9f8ef
364 changed files with 0 additions and 42706 deletions

21
lpctool/toolcom.h Normal file
View file

@ -0,0 +1,21 @@
#ifndef TOOLCOM_H
#define TOOLCOM_H
#define ACK 0x00
#define HELO 0x01
#define BACK 0x02
#define MAXBUF 0x00100000
int makeList(unsigned long *buf, unsigned long len);
void freeList(void);
int openRamTool();
int setToolAdr(unsigned long adr);
int eraseFlash(void);
int writeFlash(void);
int enableBulk(unsigned char b);
int setNumBytes(unsigned long numBytes);
int uploadFlash(int fd, unsigned long loc, unsigned int erase);
int uploadChunks(int fd, unsigned long loc, unsigned int erase);
#endif