We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
We are running unit tests using Simulator in uVision 5. Is it possible to write files when executing code in Simulator? If so, is there an example project I could reference?
Thanks
What, exactly, do you mean by, "write files" ?
Is that files on the simulated target, or files on the Host?
Do you want the simulator to write files, or the code under test to write files ... ?
We want the unit test framework code to write a file to the host. Currently, printf is used to write to the Debug (printf) Viewer. We'd like to capture that output in a file.
after entering the debugger but before executing the test framework, this should do the trick:
slog >c:\temp\test.log
Thanks for this help! (Sorry for the late response)