URL
https://opencores.org/ocsvn/amber/amber/trunk
Subversion Repositories amber
Compare Revisions
- This comparison shows the changes necessary to convert path
/amber
- from Rev 28 to Rev 27
- ↔ Reverse comparison
Rev 28 → Rev 27
/trunk/sw/boot-loader/boot-loader.c
46,7 → 46,16
#include "boot-loader.h" |
#include "fpga-version.h" |
|
/* Function prototypes */ |
void parse ( char * buf ); |
void printm ( unsigned int address ); |
int get_hex ( char * buf, int start_position, unsigned int *address, unsigned int *length ); |
int get_address_data ( char * buf, unsigned int *address, unsigned int *data ); |
void load_run( int type, unsigned int address ); |
void print_spaces ( int num ); |
void print_help ( void ); |
|
|
int main ( void ) { |
int c, esc = 0; |
char buf [20]; /* current line */ |
/trunk/sw/boot-loader/boot-loader.h
47,11 → 47,3
#define DEBUG_BUF 0x01800000 |
#define FILE_MAX_SIZE 0x00800000 /* 8MB max Xmodem transfer file size */ |
|
/* Function prototypes */ |
void parse ( char * buf ); |
void printm ( unsigned int address ); |
int get_hex ( char * buf, int start_position, unsigned int *address, unsigned int *length ); |
int get_address_data ( char * buf, unsigned int *address, unsigned int *data ); |
void load_run( int type, unsigned int address ); |
void print_spaces ( int num ); |
void print_help ( void ); |