Semihosting is handy for debugging, so allow the core to use `SerialSemi` as the ::printf port. Add menu item to the IDE to allow selection. Add RISC-V implementation of semihost call
6 lines
151 B
C++
6 lines
151 B
C++
#include "Semihosting.h"
|
|
#include "SerialSemi.h"
|
|
#include "SemiFS.h"
|
|
|
|
SerialSemiClass SerialSemi;
|
|
FS SemiFS = FS(FSImplPtr(new semifs::SemiFSImpl()));
|