| 81 | } |
| 82 | |
| 83 | void showPrompt() |
| 84 | { |
| 85 | switch(gdb_present()) { |
| 86 | case eGDB_Attached: |
| 87 | Serial.print(_F("\r(Attached) ")); |
| 88 | break; |
| 89 | case eGDB_Detached: |
| 90 | Serial.print(_F("\r(Detached) ")); |
| 91 | break; |
| 92 | case eGDB_NotPresent: |
| 93 | default: |
| 94 | Serial.print(_F("\r(Non-GDB) ")); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | void onDataReceived(Stream& source, char arrivedChar, unsigned short availableCharsCount) |
| 99 | { |
no test coverage detected