Skip to content

balena-io-experimental/esp32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32

edge-node-manager compatible firmware for the ESP32

Getting started

  • Ensure you have PlatformIO Core installed on your local machine
  • Sign up on resin.io
  • Work through the getting started guide
  • Create a dependent application called esp32
  • Set these variables in the Fleet Configuration dependent application side tab
    • RESIN_SUPERVISOR_DELTA=1
    • RESIN_HOST_TYPE=esp32
  • Clone this repository to your local workspace
  • Add the dependent application resin remote to your local workspace
  • Retrieve the dependent application ID from the Resin dashboard, for example: If your dependent application URL is https://dashboard.staging.io/apps/13829/devices the ID is 13829
  • Change line 4 in src/main.cpp String applicationUUID = "1234567890"; to point to your dependent application ID e.g. String applicationUUID = "13829";
  • Connect the ESP32 to your computer using a USB cable
  • Run platformio run --environment esp32dev --target upload to compile the initial firmware and flash the ESP32 (replace esp32dev with a different board ID from the link below if you are not using the esp32dev)
  • Push code to resin as normal :)

Note

You will need to ensure your gateway device has a spare WiFi interface

Supported ESP32 boards

The supported boards can be found on the platform.io website, if you are not using the esp32dev you will need to change line 9 in the Dockerfile to the ID of the board you are using

Releases

No releases published

Packages

No packages published

Languages