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.
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
i had also tried passing the absolute path through CMD , "-C cluster0.cpu0.semihosting-cmd_line=" , but is there a way to set the CWD through this parameter
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.
i had seen this cluster.cpu.semihosting-cwd from the list as well , the problem is to fetch the aboslute path inside the application since getcwd doesnt work for baremetal cases.