mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-02-06 08:04:49 +00:00
20 lines
588 B
C
20 lines
588 B
C
#ifndef FPGA_H
|
|
#define FPGA_H
|
|
|
|
#include "fat_compat.h"
|
|
|
|
void fpga_init(char *name);
|
|
unsigned char ConfigureFpga(char *);
|
|
void SendFile(FIL *file);
|
|
void SendFileEncrypted(FIL *file,unsigned char *key,int keysize);
|
|
void SendFileV2(FIL* file, unsigned char* key, int keysize, int address, int size);
|
|
char BootDraw(char *data, unsigned short len, unsigned short offset);
|
|
char BootPrint(const char *text);
|
|
char PrepareBootUpload(unsigned char base, unsigned char size);
|
|
void BootExit(void);
|
|
void ClearMemory(unsigned long base, unsigned long size);
|
|
unsigned char GetFPGAStatus(void);
|
|
|
|
#endif
|
|
|