8c418fd779
This reverts commit 37b9baf7c8d9bf33c3ac29063f8ee697b20ef497.
41 lines
1.5 KiB
INI
41 lines
1.5 KiB
INI
; The indicated settings support placeholder substitution as follows:
|
|
;
|
|
; #{platform} - The microcontroller platform, e.g. "esp32" or "esp8266"
|
|
; #{unique_id} - A unique identifier derived from the MAC address, e.g. "0b0a859d6816"
|
|
; #{random} - A random number encoded as a hex string, e.g. "55722f94"
|
|
|
|
[factory_settings]
|
|
build_flags =
|
|
-D APP_NAME=\"Spot-Micro\" ; [a-zA-Z0-9-_]
|
|
-D APP_VERSION=\"0.1.0\"
|
|
|
|
; WiFi settings
|
|
-D FACTORY_WIFI_SSID=\"\"
|
|
-D FACTORY_WIFI_PASSWORD=\"\"
|
|
-D FACTORY_WIFI_HOSTNAME=\"spot-micro\" ; supports placeholders
|
|
|
|
; Access point settings
|
|
-D FACTORY_AP_PROVISION_MODE=AP_MODE_DISCONNECTED
|
|
-D FACTORY_AP_SSID=\"Spot-Micro-#{unique_id}\" ; 1-64 characters, supports placeholders
|
|
-D FACTORY_AP_PASSWORD=\"spot-leika\" ; 8-64 characters
|
|
-D FACTORY_AP_CHANNEL=1
|
|
-D FACTORY_AP_SSID_HIDDEN=false
|
|
-D FACTORY_AP_MAX_CLIENTS=4
|
|
-D FACTORY_AP_LOCAL_IP=\"192.168.4.1\"
|
|
-D FACTORY_AP_GATEWAY_IP=\"192.168.4.1\"
|
|
-D FACTORY_AP_SUBNET_MASK=\"255.255.255.0\"
|
|
|
|
; OTA settings
|
|
-D FACTORY_OTA_PORT=8266
|
|
-D FACTORY_OTA_PASSWORD=\"spot-leika\"
|
|
-D FACTORY_OTA_ENABLED=true
|
|
|
|
; Servo settings
|
|
-D FACTORY_SERVO_NUM=12
|
|
-D FACTORY_SERVO_OSCILLATOR_FREQUENCY=27000000
|
|
-D FACTORY_SERVO_PWM_FREQUENCY=50
|
|
-D FACTORY_SERVO_CENTER_ANGLE=90
|
|
|
|
; Deep Sleep Configuration
|
|
-D WAKEUP_PIN_NUMBER=38 ; pin number to wake up the ESP
|
|
-D WAKEUP_SIGNAL=0 ; 1 for wakeup on HIGH, 0 for wakeup on LOW |