muis

Console printing

Discussion created by muis on Jul 20, 2017
Latest reply on Jul 20, 2017 by muis

Using LPCExpresso I was able to use this code to print directly to the console:

 

#define LIBSTUB_SYS_WRITE __write

 

But using MCUExpresso it cannot compile because __write seems undefined?

 

Normally this is caused when you disable semihosting, but its enabled now, so how to upgrade my code?

Outcomes