Commit Graph

207 Commits

Author SHA1 Message Date
DaOfficialWizard
2afcad64b6 fix: XCLK preprocessor macro
- change condition to match USB_API not WROVER board
2023-04-19 23:01:30 +01:00
DaOfficialWizard
90a17d6e6f
feat: improve the initial USB implementation, increase the XCLK clock for S3 boards - higher framerate over usb
* refactor: begin cleaning up USB impl

* refactor: factor out the unneeded header

- use USB envs instead of a header
- use ifndef for one define

* fix: disable Observer on wifi handler

* refactor: rename wrovers3 environments

- add naming convention for QIO PSRAM

* ci(ci-fix): fix gh action environments

* Increase XCLK frequency to 24MHz for higher frame rates on ESP32-S3 boards (#49)

* feat: increase OV2640 clock freq to yield ~70FPS

* fix: cleanup comments

---------

Co-authored-by: Sebastian Fitt <9294002+Blu3u@users.noreply.github.com>
2023-04-19 23:55:52 +02:00
Zdzislaw Goik
8e34e31a2a
feat: usb support for esp32s3 (#47)
* fix: completed esp32s3 boards config

* feat: enable usb cdc on boot
* fix: memory_type has to be octal qio_opi for psram to init
* fix: cannot flash from platformio without --no-stub flag

* fix: fixed pinouts copy paste issues

* feat: add system header to unify future traits

* feat: add rudimentary usb cdc video streaming impl

* feat: add rudimentary impl for usb tracker in main

* fix: revert wrovers3 board names

* feat: disable radio to reduce power usage

* feat: add v2 serial comms with packet headers

---------

authored-by: Sebastian Fitt <sebastian.fitt@sebastianfitt.pl>
2023-04-10 20:36:12 +02:00
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
Zdzislaw Goik
58989b4567 feat: Initial implementation of Elegant OTA with support for API server (#41)
---------

Co-authored-by: ZanzyTHEbar <pyr0ndet0s97@gmail.com>
2023-03-24 22:27:58 +01:00
Zdzislaw Goik
0b3950dc86
DRAFT: Feature/leds (#40)
* WIP Remove unnecessary state, refactor led manager to be able to display more complex states, cleanup the code, document stuff

* fix: fix wifiHandler

- fixed wifiHandler instance issue
- added automatic mapping of WiFi Status to internal WifiState_e enum
- removed shaencoder util function
- removed serial manager

* Add a way of preventing the led from being continously displayed if its not ment to

* Further improvements to LED management

* fix: compile errors

---------

Co-authored-by: ZanzyTHEbar <pyr0ndet0s97@gmail.com>
Co-authored-by: DaOfficialWizard <45744329+ZanzyTHEbar@users.noreply.github.com>
2023-03-16 16:21:55 +00:00
ZanzyTHEbar
3eeae182ee feat: add esp32s3 support
- add beta simulator environment
2023-03-09 20:21:10 +00:00
ZanzyTHEbar
c96e3f7108 fix: fix current OTA stack
- update board.ini to clean it up
- minor update to OTA.cpp
2023-03-05 18:48:25 +00:00
ZanzyTHEbar
f254b7b194 no-release: minor formatting 2023-03-03 15:51:11 +00:00
ZanzyTHEbar
651b7b62ba fix: duplication of wifi network config
- migrate to cpp iterators
- migrate to assign method for strings
2023-03-03 15:32:17 +00:00
ZanzyTHEbar
1ca7d1f48c fix: bug in MDNS handler
- service name was basedon hostname which will cause issues with user-defined values
2023-03-03 13:43:24 +00:00
ZanzyTHEbar
4af73d0377 fix: bug in MDNS handler 2023-03-03 13:04:53 +00:00
ZanzyTHEbar
de3ab8b4f5 feat: add DELETE method to wifi endpoint 2023-02-27 15:38:11 +00:00
ZanzyTHEbar
8f2b6db65b feat: add wifi rssi endpoint 2023-02-27 15:26:45 +00:00
Zdzislaw Goik
58d0f26602
Add tasks for restarting the esp (#37) 2023-02-26 10:28:38 +00:00
Zdzislaw Goik
85094bc3f7
feat: Disable auto-exposure, tweak settings to produce a bit cleaner image, document the options (#38) 2023-02-25 18:45:26 +01:00
ZanzyTHEbar
14cc1dad62 refactor: prepare for merging binaries 2023-02-04 19:28:13 +00:00
DaOfficialWizard
8229a3a1e5
Create zip (#39)
* feat: testing craetezip script

* feat: testing craetezip script

* feat: testing craetezip script

* feat: testing craetezip script

* feat: testing createzip script

* feat: testing createzip script

* chore(minor): 1.4.0-create-zip.1 [skip ci]

## [1.4.0-create-zip.1](https://github.com/lorow/OpenIris/compare/v1.3.0...v1.4.0-create-zip.1) (2023-01-31)

### 🍕 Features

* testing craetezip script ([7db8063](7db8063291))
* testing craetezip script ([2584e37](2584e37ffa))
* testing craetezip script ([174e9ae](174e9aebe7))
* testing craetezip script ([0d2b56e](0d2b56e62f))
* testing createzip script ([c7d3ed7](c7d3ed7b79))
* testing createzip script ([4eb4758](4eb4758147))

* feat: testing createzip script

* chore(minor): 1.4.0-create-zip.2 [skip ci]

## [1.4.0-create-zip.2](https://github.com/lorow/OpenIris/compare/v1.4.0-create-zip.1...v1.4.0-create-zip.2) (2023-01-31)

### 🍕 Features

* testing createzip script ([fb9c35d](fb9c35dda9))

* feat: testing createzip script

* feat: testing createzip script

* feat: testing createzip script

* feat: testing createzip script

* feat: testing createzip script

* feat: testing createzip script

* feat: testing createzip script

* feat: testing createzip script

* feat: testing createzip script

* feat: testing createzip script

* feat: testing createzip script

* chore(minor): 1.4.0-create-zip.3 [skip ci]

## [1.4.0-create-zip.3](https://github.com/lorow/OpenIris/compare/v1.4.0-create-zip.2...v1.4.0-create-zip.3) (2023-01-31)

### 🍕 Features

* testing createzip script ([1a3ba1b](1a3ba1b47f))
* testing createzip script ([3094c29](3094c29d1f))
* testing createzip script ([af89d4d](af89d4d380))
* testing createzip script ([35bb0f2](35bb0f2935))
* testing createzip script ([ab196c5](ab196c56ac))
* testing createzip script ([c63e223](c63e223002))
* testing createzip script ([9d3fd65](9d3fd65d6f))
* testing createzip script ([ef652f4](ef652f4a92))
* testing createzip script ([bcef340](bcef34014d))
* testing createzip script ([8d4d5cc](8d4d5cc170))
* testing createzip script ([fd6ccdc](fd6ccdcae1))

* fix offset order bug

* fix: firmware binary bundling bug

* chore(patch): 1.4.0-create-zip.4 [skip ci]

## [1.4.0-create-zip.4](https://github.com/lorow/OpenIris/compare/v1.4.0-create-zip.3...v1.4.0-create-zip.4) (2023-02-01)

### 🐛 Bug Fixes

* firmware binary bundling bug ([6004cdf](6004cdf9b7))

* no-release: cleanup script

* refactor: cleanup script

* chore(patch): 1.4.0-create-zip.5 [skip ci]

## [1.4.0-create-zip.5](https://github.com/lorow/OpenIris/compare/v1.4.0-create-zip.4...v1.4.0-create-zip.5) (2023-02-02)

### 🧑‍💻 Code Refactoring

* cleanup script ([a2202d6](a2202d6288))

* feat: add detection of environment variable

* chore(minor): 1.4.0-create-zip.6 [skip ci]

## [1.4.0-create-zip.6](https://github.com/lorow/OpenIris/compare/v1.4.0-create-zip.5...v1.4.0-create-zip.6) (2023-02-02)

### 🍕 Features

* add detection of environment variable ([ca8080e](ca8080e7f1))

* refactor: prepare for merge

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
2023-02-02 10:43:53 +00:00
ZanzyTHEbar
05589705dd update: minor formatting 2023-01-08 20:27:57 +00:00
ZanzyTHEbar
fff43f6d16 fix pointer syntax for server object
- fix lower casing for wifi statemanager
2023-01-08 13:39:46 +00:00
ZanzyTHEbar
b770458ca6 update wifimanager to exclusively use std::string 2023-01-08 13:31:52 +00:00
ZanzyTHEbar
227044e5e9 moved AsyncWebServer class to local instance 2023-01-08 13:19:58 +00:00
ZanzyTHEbar
3f779f196d update
- set xclk to 16.5MHz by default
2023-01-03 13:58:04 +00:00
ZanzyTHEbar
6c5fad8cd9 update
- add minor logging to ADHOC method
2023-01-01 23:40:46 +00:00
ZanzyTHEbar
1d73ea1cf5 update
- speed up HTTP Server
2023-01-01 23:29:16 +00:00
ZanzyTHEbar
015af93efe update
- add dynamic support for ADHOC wifi creds
2023-01-01 22:57:17 +00:00
ZanzyTHEbar
4d3a67baa3 update
- fix bug where ADHOC mode stream pointed to localhost IP
2023-01-01 22:40:50 +00:00
ZanzyTHEbar
dfb66ffda8 update
- minor
2023-01-01 22:26:42 +00:00
ZanzyTHEbar
0cbf78ed82 update
- minor update
2022-12-31 03:28:20 +00:00
ZanzyTHEbar
27fc62a43f remove experimental code 2022-12-31 02:44:49 +00:00
ZanzyTHEbar
8baa6fbef7 remove experimental code 2022-12-31 02:40:04 +00:00
ZanzyTHEbar
cb036af724 fix double esp-eye error
fix version control error
2022-12-31 02:36:13 +00:00
ZanzyTHEbar
982a067c8c Merge branch 'feature/mdns-autodiscovery' of https://github.com/lorow/OpenIris 2022-12-31 02:27:47 +00:00
clienthax
5c7027f09b
Fix CI and use double matrix (#35)
Fix pipeline failing due to typo in ArduinoJson include, Fix pin deprecation warning, Add workaround for M5Stack not having a defined camera for now
2022-12-29 23:09:55 +01:00
ZanzyTHEbar
c9e523b701 Merge branch 'master' of https://github.com/lorow/OpenIris 2022-12-29 21:08:17 +00:00
ZanzyTHEbar
6ba0ee5a0c update
- fix CI not working do to capitalization errors
2022-12-29 21:08:16 +00:00
DaOfficialWizard
8fc9486214
Feature/esp eye support (#34)
- add support for ESP-EYE
2022-12-29 20:30:32 +01:00
ZanzyTHEbar
e9c51a61be update
- basic formatting
2022-12-27 18:06:53 +00:00
ZanzyTHEbar
faf9a5b347 update
- fix pathing in  autoversioning script
2022-12-26 23:07:48 +00:00
ZanzyTHEbar
42c8cdc944 comment out serialmananger class 2022-12-15 01:51:28 +00:00
ZanzyTHEbar
f776d74cff update
- fix customname build creating a folder
- implement creating a version.txt file
2022-12-15 00:54:46 +00:00
ZanzyTHEbar
74d09fb1f8 update
- add GitHub OTA Handler to API
2022-12-14 23:33:12 +00:00
ZanzyTHEbar
3123469953 update
- add support for logging tag
2022-12-14 20:19:13 +00:00
ZanzyTHEbar
ec0c344895 update
- begin adding Github OTA support
2022-12-14 19:58:23 +00:00
ZanzyTHEbar
1066caf6cd fix camera FB macro 2022-12-14 18:37:01 +00:00
ZanzyTHEbar
965499e067 update
- begin adding Github OTA support
2022-12-14 18:21:22 +00:00
ZanzyTHEbar
7537c68930 update
- begin adding PSRAM support fix
2022-12-14 17:11:21 +00:00
ZanzyTHEbar
e9fd1fdde7 update
- begin adding support for M5-Stack
2022-12-14 17:03:04 +00:00
ZanzyTHEbar
3c4df97b70 update
- minor formatting
2022-12-14 16:53:48 +00:00
ZanzyTHEbar
5d36fbf14a fix bug related to PSRAM error setting 2022-12-14 16:50:08 +00:00