Coder Social home page Coder Social logo

learn-nodemcu's Introduction

learn-nodemcu

##远程复制

scp -r [email protected]:/path/to/foo /home/user/Desktop/

scp -r [email protected]:/home/yi/nodemcu-firmware/bin .

##下载固件

../tools/esptool.py --port /dev/ttyUSB0 write_flash 0x00000 ../bin/0x00000.bin 0x10000 ../bin/0x10000.bin

esptool.py --port COM4 write_flash 0x1000 my_app-0x01000.bin

##固件编译流程

export PATH=/home/yi/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
export PATH=${PATH}:~/bin

##树莓派编译固件

export PATH=/home/yi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin:$PATH

learn-nodemcu's People

Contributors

yhnu avatar

Watchers

 avatar

learn-nodemcu's Issues

ImportError: No module named serial

../tools/esptool.py elf2image .output/eagle/debug/image/eagle.app.v6.out -o ../bin/ Traceback (most recent call last): File "../tools/esptool.py", line 26, in <module> import serial ImportError: No module named serial make[1]: *** [.output/eagle/debug/bin/eagle.app.v6.bin] Error 1 make: *** [.subdirs] Error 2

解决方法:
手动下载,并安装pyserial

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.