有没有一个好的esp8266模拟器软件可以用于自动化测试?能否在这些模拟器上运行在Arduino IDE上编写的代码?
有没有一个好的esp8266模拟器软件可以用于自动化测试?能否在这些模拟器上运行在Arduino IDE上编写的代码?
qemu-system-xtensa -machine esp8266 -nographic -kernel <your-project>/sketch/app.out -S -s
cd /my/source/dir
git clone https://github.com/gschorcht/qemu-xtensa
cd qemu-xtensa/
git checkout xtensa-esp8266
export QEMU=/path/to/esp/qemu
./configure --prefix=$QEMU --target-list=xtensa-softmmu --disable-werror
make
make install
gschorcht/qemu-xtensa
存储库(最后更新于2018年)是原始的 OSLL/qemu-xtensa
项目的分支,因此您可以使用原始存储库:cd /my/source/dir
git clone https://github.com/OSLL/qemu-xtensa
cd qemu-xtensa/
git checkout xtensa-esp8266
export QEMU=/path/to/esp/qemu
./configure --prefix=$QEMU --target-list=xtensa-softmmu --disable-werror
make
make install
configure --disable-werror --target-list=xtensa-softmmu --python=python2.7 --prefix=$QEMU
。 - ccrause