# HG changeset patch # User Mychaela Falconia # Date 1584066362 0 # Node ID b730c7844233f7f3aa5ca3cea4d51f4eb331da66 # Parent 814d3f24bed6dbf8a41b276de1e6599b664efd24 fluid-mnf/fileio.c: passes compilation diff -r 814d3f24bed6 -r b730c7844233 fluid-mnf/fileio.c --- 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 #include #include #include +/* 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