我想将配置文本作为 argv[1] 传递给 main() 函数,并且已经尝试过命令行。set semihosting args "config txt" ,but it seems like the config txt is argv[0] not argv[1],so how to pass multi arguments to main()?
set semihosting args "config txt" ,but it seems like the config txt is argv[0] not argv[1],so how to pass multi arguments to main()?
Thanks,the .ds script using
set semihosting vector ADDR EL3:0x00000200set semihosting enabled onset semihosting args 1 2 3
it works successfuly when using AEM vAx1 FVP model,
but crashed in NeoverN2x1 FVP model, the disassembly code wrote: EL3:0x0000000000000200 DEADDEAD DCI 0xdeaddead,
seems like semihosting vector ADDR not right.
Is there documents than can find the different FVP models semihosting settings?