import{_ as e,o,c as t,h as i}from"./app.5ce12319.js";const f=JSON.parse('{"title":"Firmware Environments","description":"","frontmatter":{},"headers":[{"level":2,"title":"What is it?","slug":"what-is-it","link":"#what-is-it","children":[]},{"level":2,"title":"Build Types","slug":"build-types","link":"#build-types","children":[]},{"level":2,"title":"Board Types","slug":"board-types","link":"#board-types","children":[]}],"relativePath":"firmware_guide/environments.md","lastUpdated":1678402493000}'),n={name:"firmware_guide/environments.md"},a=i('

Firmware Environments

What is it?

A firmware environment is a way to store the custom firmware config for a specific device. This is useful if you want to have multiple devices with different firmware configs.

We use environments to store the firmware config for each device, so that you can easily switch between them.

Environments are broken up into two distinct parts:

Build Types

We now have a couple of options letting us decide how we want to build the firmaware.

The debug environment is the default environment, so you don't need to specify it when building.

All debug environments are the default board environments, only OTA and release are specified in the name.

Tip

We recommend starting with a debug environment, and then switching to release once everything is working.

Warning

You need to change the IP to which board we should upload to, the setting is called the otaserverip and can be found in the user_config.ini file.

The otaserverip setting supports both IPv4 and mDNS names, as long as the mDNS name is resolvable on your network (i.e: you have bonjour installed on your computer).

You can also change the port and password, but it's not recommended.

Board Types

We currently support a few different boards, and we are working on adding more.

Warning

It is important to note that the esp32AIThinker environment is the default environment, and will work for the vast majority of users. Do not switch your environment unless you know what you are doing, and have tested the default environment first, and verified that it does not work for you.

Most esp32Cams from Aliexpress will work with the esp32AIThinker environment, but some may require the esp32cam environment. Test the default environment first, and if it does not work, try the esp32cam environment.

Currently supported boards:

Coming Soon

',20),s=[a];function r(d,c,l,h,p,u){return o(),t("div",null,s)}const v=e(n,[["render",r]]);export{f as __pageData,v as default};