2021-07-28 03:22 PM
Some remote debugging tools (Arm's DS-5 semihosting) allow setting arguments to main(). I'm unable to figure out the steps do this with stlink + gdb remote targeting because it doesn't support "run", only "continue". Is there a way to do this with a combination of STM32 Cube tools?
Solved! Go to Solution.
2021-07-28 03:33 PM
Put your command line data into some agreed mail-box ram location, and parse/pass via your startup.s implementation.
2021-07-28 03:33 PM
Put your command line data into some agreed mail-box ram location, and parse/pass via your startup.s implementation.