mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
2 lines
4.5 KiB
JavaScript
2 lines
4.5 KiB
JavaScript
import{_ as e,o,c as t,h as i}from"./app.0fb3db86.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('<h1 class="text-[var(--font-accent)]" id="firmware-environments" tabindex="-1">Firmware Environments <a class="header-anchor" href="#firmware-environments" aria-hidden="true">#</a></h1><h2 id="what-is-it" tabindex="-1">What is it? <a class="header-anchor" href="#what-is-it" aria-hidden="true">#</a></h2><p>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.</p><p>We use environments to store the firmware config for each device, so that you can easily switch between them.</p><p>Environments are broken up into two distinct parts:</p><ul><li>The <code>build type</code> (e.g. <code>debug</code>, <code>release</code>)</li><li>The <code>board type</code> (e.g. <code>espaithinker</code>, <code>esp32cam</code>)</li></ul><h2 id="build-types" tabindex="-1">Build Types <a class="header-anchor" href="#build-types" aria-hidden="true">#</a></h2><p>We now have a couple of options letting us decide how we want to build the firmaware.</p><ul><li><code>Debug</code> - Has a lot of logging, useful for getting everything setup for the first time and to see what is going on.</li></ul><p>The debug environment is the default environment, so you don't need to specify it when building.</p><p>All debug environments are the default board environments, only <code>OTA</code> and <code>release</code> are specified in the name.</p><div class="tip custom-block"><p class="custom-block-title">Tip</p><p>We recommend starting with a debug environment, and then switching to release once everything is working.</p></div><ul><li><p><code>Release</code> - Has a lot less debugging, may also be missing some things availible only in debug for debug purposes, this should be flashed when everything is working.</p></li><li><p><code>OTA</code> - Just like release, but it will upload your firmware to your esp wirelessly.</p></li></ul><div class="warning custom-block"><p class="custom-block-title">Warning</p><p>You need to change the IP to which board we should upload to, the setting is called the <code>otaserverip</code> and can be found in the <code>user_config.ini</code> file.</p><p>The <code>otaserverip</code> setting supports both <code>IPv4</code> and <code>mDNS</code> names, as long as the <code>mDNS</code> name is resolvable on your network (i.e: you have bonjour installed on your computer).</p><p>You can also change the port and password, but it's not recommended.</p></div><h2 id="board-types" tabindex="-1">Board Types <a class="header-anchor" href="#board-types" aria-hidden="true">#</a></h2><p>We currently support a few different boards, and we are working on adding more.</p><div class="warning custom-block"><p class="custom-block-title">Warning</p><p>It is important to note that the <code>esp32AIThinker</code> 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.</p><p>Most esp32Cams from Aliexpress will work with the <code>esp32AIThinker</code> environment, but some may require the <code>esp32cam</code> environment. Test the default environment first, and if it does not work, try the <code>esp32cam</code> environment.</p></div><p>Currently supported boards:</p><ul><li><code>esp32AIThinker</code> - The ESP32 Ai Thinker.</li><li><code>esp32cam</code> - The ESP32 Camera.</li><li><code>esp_eye</code> - The Non-Esp32S3 version of the ESP-EYE camera.</li><li><code>esp32M5Stack</code> - The ESP32 M5Stack camera.</li><li><code>wrover</code> - The ESP32 WRover (Non-ESP32-S3 variant).</li></ul><div class="tip custom-block"><p class="custom-block-title">Coming Soon</p><ul><li><code>esp32s3cam</code> - The ESP32-S3 Camera boards.</li></ul></div>',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};
|