The Eclipse Embedded CDT plug-ins for Arm & RISC-V C/C++ developers (formerly known as the GNU MCU Eclipse plug-ins). Includes the archive of previous plug-ins versions, as Releases.
int
main(int argc, char* argv[])
{
// Show the program parameters (passed via semihosting).
// Output is via the semihosting output channel.
trace_dump_args(argc, argv);
However, I can't find any documentation that describes how to actually pass custom parameters. Can you describe how to pass custom parameters via semihosting?
The blinky example dumps the args passed to main:
However, I can't find any documentation that describes how to actually pass custom parameters. Can you describe how to pass custom parameters via semihosting?