410 tmp = (
char*)malloc(1000);
415 printf(F(
"RAM {\"RAM2\":{\"addr\":\"%08X\",\"chunk\":\""),0x20000000);
417 for(uint32_t i = 0x20000000; i < 0x20280000; i+=1){
418 if (i == 0x20010000) i = 0x20200000;
422 if(i%32==0 && i != 0x20000000){
423 print(F(
"\",\"decode\":\""));
431 pct = 100.0 * ((float)(i-0x20000000)/(float)(0x20280000-0x20000000));
432 Serial.printf(F(
"CLS\nM GET_RAM2 %08X %.0f pct "),i,pct);
433 for(uint16_t div = 0; div < (uint16_t)pct; div += 5){
439 printf(F(
"RAM {\"RAM2\":{\"addr\":\"%08X\",\"chunk\":\""),i);
442 printf(
"%02X ",(uint8_t)c);
443 const char* escape =
"\\";
445 strncat(tmp, escape, 1);
448 strncat(tmp, escape, 1);
450 }
else if (isprint((
int)c)){
452 }
else if (iscntrl((
int)c)){
461 println(F(
"RAM END"));
bool requestStartLZ4Message()
request to start a lz4 compressed message starts the message and returns true if available returns f...
bool throttle()
returns true if the available serial buffer falls below SERIAL_THROTTLE_BUFFER_REMAINING_THRESHOLD if...
void sendLZ4Message()
Calling this function signals the end of a compressed message. The txBuffer contents are lz4 compres...