Firmware enhancements for HSP_RPC_GUI 3.0.1
Fork of HSP_RPC_GUI by
This command can be used to import the project to your local environment
Quote:
mbed import http://mbed.org/users/jbradshaw/code/HSP_RPC_GUI_3_0_1/
This command can be used to compile the code and produce the HSP_RPC_GUI_3_0_1.bin
Quote:
mbed compile -t GCC_ARM -m MAX32620HSP
This link may be used to install the mbed command-line-interface (cli) if needed
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];