Skip to content

Commit

Permalink
Rework WP commands
Browse files Browse the repository at this point in the history
- Move Monitor_ReadMemory, Monitor_WriteMemory, Monitor_EraseMemory, Monitor_QueryConfiguration, Monitor_QueryConfiguration, Monitor_UpdateConfiguration, Monitor_CheckMemory, Monitor_MemoryMap, and Monitor_FlashSectorMap implementations to a common location.
- Remove unnecessary flags check on several commands.
- Remove weak attribute on several WP commands implementation.
  • Loading branch information
josesimoes committed Nov 24, 2020
1 parent 3a2d2c5 commit 26f1bbb
Show file tree
Hide file tree
Showing 5 changed files with 300 additions and 691 deletions.
1 change: 1 addition & 0 deletions src/CLR/Include/WireProtocol_MonitorCommands.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ extern "C"
int Monitor_TargetInfo(WP_Message *message);

// helper functions
int AccessMemory(uint32_t location, uint32_t lengthInBytes, uint8_t *buffer, int32_t mode, uint32_t *errorCode);
int nanoBooter_GetTargetInfo(TargetInfo *targetInfo);
int NanoBooter_GetReleaseInfo(ReleaseInfo *releaseInfo);

Expand Down
Loading

0 comments on commit 26f1bbb

Please sign in to comment.