remote: Packets may be larger than 256 bytes.
This commit is contained in:
parent
88cce08ce4
commit
db1f13db25
10
src/remote.c
10
src/remote.c
|
@ -133,7 +133,7 @@ static ADIv5_DP_t remote_dp = {
|
|||
};
|
||||
|
||||
|
||||
void remotePacketProcessSWD(uint8_t i, char *packet)
|
||||
static void remotePacketProcessSWD(unsigned i, char *packet)
|
||||
{
|
||||
uint8_t ticks;
|
||||
uint32_t param;
|
||||
|
@ -184,7 +184,7 @@ void remotePacketProcessSWD(uint8_t i, char *packet)
|
|||
}
|
||||
}
|
||||
|
||||
void remotePacketProcessJTAG(uint8_t i, char *packet)
|
||||
static void remotePacketProcessJTAG(unsigned i, char *packet)
|
||||
{
|
||||
uint32_t MS;
|
||||
uint64_t DO;
|
||||
|
@ -267,7 +267,7 @@ void remotePacketProcessJTAG(uint8_t i, char *packet)
|
|||
}
|
||||
}
|
||||
|
||||
void remotePacketProcessGEN(uint8_t i, char *packet)
|
||||
static void remotePacketProcessGEN(unsigned i, char *packet)
|
||||
|
||||
{
|
||||
(void)i;
|
||||
|
@ -324,7 +324,7 @@ void remotePacketProcessGEN(uint8_t i, char *packet)
|
|||
}
|
||||
}
|
||||
|
||||
void remotePacketProcessHL(uint8_t i, char *packet)
|
||||
static void remotePacketProcessHL(unsigned i, char *packet)
|
||||
|
||||
{
|
||||
(void)i;
|
||||
|
@ -428,7 +428,7 @@ void remotePacketProcessHL(uint8_t i, char *packet)
|
|||
}
|
||||
|
||||
|
||||
void remotePacketProcess(uint8_t i, char *packet)
|
||||
void remotePacketProcess(unsigned i, char *packet)
|
||||
{
|
||||
switch (packet[0]) {
|
||||
case REMOTE_SWDP_PACKET:
|
||||
|
|
|
@ -178,6 +178,6 @@
|
|||
'%','0', '2', 'x', '%','0','2','x', HEX_U32(address), HEX_U32(count), 0}
|
||||
|
||||
uint64_t remotehston(uint32_t limit, char *s);
|
||||
void remotePacketProcess(uint8_t i, char *packet);
|
||||
void remotePacketProcess(unsigned int i, char *packet);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue