Page 1 of 1

PC as an ESP32 simulator ?

Posted: Tue Apr 02, 2019 10:18 am
by Wei Lin
Bridges - PC as an ESP32 simulator ?
Pretend your PC a Raspberry Pi or an ESP32 to connect I2C / SPI / GPIO / UART peripherals.

Hello,

I wrote a package for PC, in order to:

1. Use the PC to drive (via bus-converter) I2C / SPI / GPIO / UART interfaced peripheral devices.

2. On your PC, simulating the I2C / SPI / GPIO / UART intreface objects of ESP32 / Raspberry, in order to develop the peripheral device drivers in the PyCharm environment, you can set breakpoints and inspect variables easily. No more "print" to debug, no more repeatedly uploading code to the controller.

https://github.com/Wei1234c/Bridges/blo ... adme_en.md

Regards.

Wei Lin

Re: PC as an ESP32 simulator ?

Posted: Tue Apr 02, 2019 1:41 pm
by shaoziyang
That is great!

Re: PC as an ESP32 simulator ?

Posted: Tue Apr 02, 2019 5:22 pm
by jickster
If we had debugging on uPy this wouldn’t be necessary.


Sent from my iPhone using Tapatalk Pro

Re: PC as an ESP32 simulator ?

Posted: Tue Apr 02, 2019 6:52 pm
by rpr
That is pretty neat.

Re: PC as an ESP32 simulator ?

Posted: Sun Jun 28, 2020 1:54 am
by Wei Lin
This article explains more on why it is worth doing.