OpenIris/ESP/ini/sim.ini
DaOfficialWizard 17e3049be1
feat: Code cleanup and initial implementation of improv
* feat: add improv

- add version to build flags
- add improv
- remove byte pointers from config calls

* ´fix: improve not initilizing in ADHOC mode

* feat: add wifihandler to observers

* refactor: move improv handler to top of loop

* refactor: minor refactor to callback

* refactor: minor refactor to callback

* refactor: trying to weed out the timeout issue

* refactor: trying to weed out the timeout issue

* refactor: total refactor to clean up code

-  clean up statemanagers
- fix observer
- fix bugs introducted by fixing the observer

BREAKING CHANGES

* refactor: minor logging refactor

* fix: add config save to delete method

* fix: improv provisioning error

* refactor: simplify library interface

- implement pass by reference for all objects
- implement get by reference for all objects
- remove passing state to classes
- migrate to range based for loops

BREAKING CHANGES

* fix: esp crash on wifi updates

- figure out why esp crashes sometimes when wifi config changes

* fix: add warning about clang-format to baseAPI.hpp

* refactor: update improv

* ci(ci-test): setup prerelease

- use ci to merge binaries for testing in etvr app

* fix: compile time error

* fix: compile time error

* fix folder names

* fix folder names

* fix: compile time error

* fix: compile time error

* feat: remove improv from main

- keep improv code, incase we fix issue later on
- comment out improv includes

* fix: remove pre-release from release cycle

* fix: resolve wifiState manager state in config

* fix: file name casing

* fix: file name casing

* feat: add custom string_view header

- it is the intention to implement string_view
- vastly reduce heap allocations and improve performance of strings

* refactor: move improv class to new branch

* fix: file name casing

* feat: add newer esp cam driver

* Cleanup after merge

---------

Co-authored-by: lorow <smykupyka@gmail.com>
2023-04-02 17:44:38 +02:00

42 lines
1.4 KiB
INI

[sim]
ssid = "Wokwi-GUEST" # required for simulator
password = ""
[env:esp32AIThinker_sim]
board = esp32cam
build_type = debug
extra_scripts =
${env.extra_scripts}
post:tools/createwokwi.py
build_flags = -DENABLE_ADHOC=${wifi.enableadhoc}
-DADHOC_CHANNEL=${wifi.adhocchannel}
-DWIFI_CHANNEL=${wifi.channel}
-DDEBUG_ESP_PORT=Serial ; set the debug port
'-DMDNS_HOSTNAME=${wifi.mdnsname}' ; Set the OTA password
# required for simulator
'-DWIFI_SSID=${sim.ssid}'
'-DWIFI_PASSWORD=${sim.password}'
'-DWIFI_AP_SSID=${wifi.ap_ssid}'
'-DWIFI_AP_PASSWORD=${wifi.ap_password}'
'-DWIFI_AP_CHANNEL=${wifi.adhocchannel}'
'-DVERSION=""'
-DOTA_SERVER_PORT=${ota.otaserverport}
'-DOTA_PASSWORD=${ota.otapassword}' ; Set the OTA password
'-DOTA_LOGIN=${ota.otalogin}'
'-DOTA_IP=${ota.otaserverip}' ; Set the OTA password
-O2 ; optimize for speed
-DASYNCWEBSERVER_REGEX ; enable regex in asyncwebserver
# Comment these out if you are not using psram
-DBOARD_HAS_PSRAM ; enable psram
-mfix-esp32-psram-cache-issue ; fix for psram
; Compile with -DHTTP_PARSER_STRICT=0 to make less checks, but run faster
-DHTTP_PARSER_STRICT=0
-DCORE_DEBUG_LEVEL=4 ; set the debug level
-DDEBUG_MODE=1
-DSIM_ENABLED
; CAMERA PINOUT DEFINITIONS
${pinoutsAIThinker.build_flags}