PlatformIO Community

PIO for uC emulation?


I installed the PIO extension on VS Code and I am loving it. It was very smooth to install the embedded library for STM32 and I was able to build a test example, without any issue. I am also looking forward to try Travis CI for my embedded test cases. I was wondering whether PIO has emulator capabilities as well. By this I mean, can I run my code against multiple targets like STM32L vs STM32F etc. and get a record of execution time, memory used etc. We have an algorithm that does some numerical computations and we wanted to see how it performs (time taken, accuracy, etc.) across hardware platforms. It might be helpful if we can find these performance metrics on an emulator rather than having to upload the code onto the specific hardware every time.

Chintan Pathak