Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

unable to get the path of working directory inside FVP

I tried using the getenv to read the CWD inside the FVP , but its returning NULL , I tried passing the in the arguments , environment tab in debug configutation which dint work out , How to fetch the absoulte path inside the baremetal application in FVP 

Parents
  • cluster0.cpu0.semihosting-cmd_line is used to pass arguments to main (argv).

    Depending on which FVP you are using, there should be a parameter of the form cluster.cpu.semihosting-cwd.

    Run "fvp_executable --list-params > parameters.txt" to see all, as well as an explanation of their use.

Reply
  • cluster0.cpu0.semihosting-cmd_line is used to pass arguments to main (argv).

    Depending on which FVP you are using, there should be a parameter of the form cluster.cpu.semihosting-cwd.

    Run "fvp_executable --list-params > parameters.txt" to see all, as well as an explanation of their use.

Children