Code Monkey home page Code Monkey logo

esp-homekit-vagrant-buildenv's Introduction

ESP HomeKit Vagrant Build Environment

In order to run maximkulkin/esp-homekit-demo you need pfalcon/esp-open-sdk which requires a case-sensitive build environment on OS X and is just generally a pain.

Using

  1. Edit the Vagrantfile and update the USB device identification section for your ESP. VBoxManage list usbhost on the host machine will help you identify the device. (N.B. feel free to edit CPU/memory allocations while you're here, but the initial provisioning will fail if set to the default 512MB - I did not test the actual minimum this will build at)
  2. vagrant up and wait
  3. vagrant ssh to connect to the build environment
  4. To test esp-homekit-demo, cd esp-homekit-demo
  5. cp wifi.h.sample wifi.h and edit wifi.h
  6. Execute make -C examples/led test and if all goes well it should compile and write to your device
  7. This directory should be visible and usable from /vagrant/ with all the tools you expect for compiling and burning ESP firmware

Notes

  • The Vagrantfile assumes that your ESP is using the cp210x serial UART driver
  • The ESPPORT variable is set to point to /dev/TTYUSB0 which may need to be adjusted depending on where your USB serial device is detected within the VM

esp-homekit-vagrant-buildenv's People

Contributors

mccahan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

esp-homekit-vagrant-buildenv's Issues

using this code for esp32

hi, i saw this file in youtube and i tried to use with esp32 it didint work.
do you know, how to do it ?

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.