FreeCalypso > hg > freecalypso-reveng
diff fluid-mnf/fileio.c @ 338:b730c7844233
fluid-mnf/fileio.c: passes compilation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 13 Mar 2020 02:26:02 +0000 |
parents | 9cecc930d78f |
children | f89a20e7adc7 |
line wrap: on
line diff
--- a/fluid-mnf/fileio.c Thu Mar 12 20:46:33 2020 +0000 +++ b/fluid-mnf/fileio.c Fri Mar 13 02:26:02 2020 +0000 @@ -15,14 +15,24 @@ #include "fileio.h" #include "misc.h" #include "trace.h" +#if 0 #include "../target/target.h" -#include "../inc/secure_types.h" // Secure Calypso Plus +#endif +#include "calplus/secure_types.h" // Secure Calypso Plus #include <stdio.h> #include <malloc.h> #include <stdlib.h> #include <string.h> +/* definitions from ../target/target.h */ + +// ESample +#define CALP_OFFSET 0x4000000 // CS_MODE 0: Flash at 0x04000000 @ CS5 + +// Secure Calypso Plus +#define CMD_SECURE_CALP_OFFSET 0x08020000 // Flash programmer offset in internal SRAM. + /****************************************************************************** * Globals