Skip to content

Commit

Permalink
restored esp32s3 freenove settings
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Jan 16, 2024
1 parent 2b549e6 commit a99aec8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
4 changes: 2 additions & 2 deletions examples/freenove_webcam/app_httpd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ static const char *TAG = "camera_httpd";

// Face Detection will not work on boards without (or with disabled) PSRAM
#ifdef BOARD_HAS_PSRAM
#define CONFIG_ESP_FACE_DETECT_ENABLED 0
#define CONFIG_ESP_FACE_DETECT_ENABLED 1
// Face Recognition takes upward from 15 seconds per frame on chips other than ESP32S3
// Makes no sense to have it enabled for them
#if CONFIG_IDF_TARGET_ESP32S3
#define CONFIG_ESP_FACE_RECOGNITION_ENABLED 0
#define CONFIG_ESP_FACE_RECOGNITION_ENABLED 1
#else
#define CONFIG_ESP_FACE_RECOGNITION_ENABLED 0
#endif
Expand Down
5 changes: 0 additions & 5 deletions examples/freenove_webcam/partitions.csv

This file was deleted.

13 changes: 7 additions & 6 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,19 @@ build_flags =
'-DWIFI_SSID="${wifi.ssid}"'
'-DWIFI_PASS="${wifi.password}"'

[env:freenove-webcam]
[esp32common]
extends = env
board = esp32-s3-devkitc-1
board_build.flash_size = 16MB
board_build.partitions = ./examples/basic_m5cores3/partitions.csv

[env:freenove-webcam]
extends = esp32common
board_build.arduino.memory_type = dio_opi ;
build_src_filter = -<*> +<freenove_webcam/>

[m5cores3_common]
extends = env
board = esp32-s3-devkitc-1
board_build.flash_mode = qio
board_build.flash_size = 16MB
board_build.partitions = ./examples/basic_m5cores3/partitions.csv
extends = esp32common
lib_deps =
https://github.com/m5stack/M5CoreS3.git
m5stack/M5Unified@^0.1.6
Expand Down

0 comments on commit a99aec8

Please sign in to comment.