Am trying to experiment file based operations inside FVP environment , my intention is to pass the inputs via FILE for a Unit testing a function inside FVP in DS.
FILE *fp = fopen("D:\arm_ds5\sve2_matmul_f64\test.txt","r"); if(fp == NULL) printf("cannot read file "); --> always getting this print since File is not found , Kindly suggest the workaround for the same
realised the mistake , absolute path had to be given as per below format
FILE *fp = fopen("D:\\arm_ds5\\sve2_matmul_f64\\test.txt","r"); but couldnt udnerstand why the "set semihosting enabled 0" is needed , becuase it works without this setting as well
Thank you for returning to the Arm Development Studio to share your answer. Many thanks.