Wilson Tang
/
HSP_RPC_GUI
Fork of the offical HSP_RPC_GUI firmware
Fork of MAXREFDES100 firmware for MAX32620HSP
Diff: HSP/Devices/S25FS256/S25FS512_RPC.cpp
- Revision:
- 3:8e9b9f5818aa
- Parent:
- 1:9490836294ea
--- a/HSP/Devices/S25FS256/S25FS512_RPC.cpp Fri Apr 21 18:10:37 2017 -0500 +++ b/HSP/Devices/S25FS256/S25FS512_RPC.cpp Tue Apr 25 10:47:10 2017 -0500 @@ -36,6 +36,7 @@ #include "StringInOut.h" #include "StringHelper.h" #include "Peripherals.h" +#include "RpcServer.h" int S25FS512_Reset(char argStrs[32][32], char replyStrs[32][32]) { uint32_t reply[1]; @@ -103,6 +104,9 @@ uint32_t endPage; uint32_t page; + // indicate that we are doing a flash binary transfer + RPC_TransferingFlashPages(); + ProcessArgs32(argStrs, args, sizeof(args) / sizeof(uint32_t)); startPage = args[0]; endPage = args[1];