Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions components/esp32-timer-cam/example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,27 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.20)

set(ENV{IDF_COMPONENT_MANAGER} "0")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)

# add the component directories that we want to use
set(EXTRA_COMPONENT_DIRS
"../../../components/"
"../../../components/base_component"
Comment thread
finger563 marked this conversation as resolved.
"../../../components/cli"
"../../../components/esp32-timer-cam"
"../../../components/format"
"../../../components/i2c"
"../../../components/logger"
"../../../components/monitor"
"../../../components/nvs"
"../../../components/rtsp"
"../../../components/socket"
"../../../components/task"
"../../../components/wifi"
)

set(
COMPONENTS
"main esptool_py esp32-timer-cam"
"main esptool_py esp32-camera esp32-timer-cam mdns monitor nvs rtsp socket task wifi"
CACHE STRING
"List of components to include"
)
Expand Down
27 changes: 27 additions & 0 deletions components/esp32-timer-cam/example/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
menu "Camera Streamer Configuration"

config RTSP_SERVER_PORT
int "RTSP Server Port"
default 8554
help
The port number of the RTSP server.

config ESP_WIFI_SSID
string "WiFi SSID"
default ""
help
SSID (network name) for the camera streamer to connect to.

config ESP_WIFI_PASSWORD
string "WiFi Password"
default ""
help
WiFi password (WPA or WPA2) for the camera streamer to use.

config ESP_MAXIMUM_RETRY
int "Maximum retry"
default 5
help
Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent.

endmenu
Loading
Loading