Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EBlink as a terminal?
#9
(18-01-2021, 01:37 PM)vdaniel Wrote: It is certainly possible to make a fully functional terminal (command line interface) using just the STLink and EBMonitor, I do it all the time.
I documented how to do it on my blog: https://www.dalbert.net/?p=921

The only issue is that if you want to support *both* UART (for non-developer use) *and* EBMonitor (for developer use), you need to unhook _write() for your debug builds since EBMonitor must hook it to do its thing.  I add a define for USE_EBMONITOR to my Debug build options (Compiler Settings->#defines) and then wrap the _write() implementation for uart I/O in an #ifndef USE_EBMONITOR

I'll add some detail on this to my blog page soon, but maybe Gerard has a better idea for how to do this?
Reply


Messages In This Thread
EBlink as a terminal? - by vdaniel - 17-01-2021, 10:03 AM
RE: EBlink as a terminal? - by embitz - 18-01-2021, 08:14 AM
RE: EBlink as a terminal? - by vdaniel - 18-01-2021, 09:51 AM
RE: EBlink as a terminal? - by embitz - 18-01-2021, 10:49 AM
RE: EBlink as a terminal? - by vdaniel - 18-01-2021, 11:40 AM
RE: EBlink as a terminal? - by embitz - 18-01-2021, 12:44 PM
RE: EBlink as a terminal? - by vdaniel - 18-01-2021, 01:37 PM
RE: EBlink as a terminal? - by dalbert - 13-02-2021, 12:23 PM
RE: EBlink as a terminal? - by vdaniel - 13-02-2021, 01:40 PM
RE: EBlink as a terminal? - by dalbert - 13-02-2021, 08:28 PM
RE: EBlink as a terminal? - by vdaniel - 14-02-2021, 04:27 PM
RE: EBlink as a terminal? - by dalbert - 15-02-2021, 01:15 AM
RE: EBlink as a terminal? - by embitz - 21-01-2021, 07:26 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)