admin管理员组

文章数量:1390610

I've made an Arduino Uno project and I would like to simulate it directly on my PC since wokwi online simulation takes too long and many times it's not even available. I've figured out how to do it with normal wokwi projects but this time around it doesn't work since custom chips (written in c with wokwi-api.h) are included. The major issue is that in the wokwi.toml file I need to write the relative path to a .wasm file of my custom chip. I'm a newbie to this, how can I get this file from my .c source? Right now I'm using platformIO extension to build my project and get the firmware files needed to simulate (.hex and .elf)

I've looked on the documentation of wokwi and it doesn't explain how to. Also various online tutorials don't get to the point since all of them are using standard components.

本文标签: arduinoWokwi simulation of custom chip via VSCodeStack Overflow