How to exchange variable values in two programs
Hello, everyone!
I am a user of STM32H753. I want to run two programs within STM32H753 and exchange the values of the variables between these two programs. (Program 1 is running on Flash memory bank 1 sector 0; Program 2 is running on Flash memory bank 2 sector 0.)
For reference, I use STM32CubeIDE 1.3.0 as a compile tool.
In the past, when IAR was used, two variables in the program were placed in the same address in the noinit area, and after changing the compilation tool to STM32CubeIDE, I do not know what to do.
What is the way to exchange variables between the two programs?