🔥 Cleanup factory settings
This commit is contained in:
@@ -1,9 +1,3 @@
|
|||||||
; 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]
|
[factory_settings]
|
||||||
build_flags =
|
build_flags =
|
||||||
-D APP_NAME=\"Spot-Micro\" ; [a-zA-Z0-9-_]
|
-D APP_NAME=\"Spot-Micro\" ; [a-zA-Z0-9-_]
|
||||||
@@ -16,7 +10,7 @@ build_flags =
|
|||||||
|
|
||||||
; Access point settings
|
; Access point settings
|
||||||
-D FACTORY_AP_PROVISION_MODE=AP_MODE_DISCONNECTED
|
-D FACTORY_AP_PROVISION_MODE=AP_MODE_DISCONNECTED
|
||||||
-D FACTORY_AP_SSID=\"Spot-Micro-#{unique_id}\" ; 1-64 characters, supports placeholders
|
-D FACTORY_AP_SSID=\"Spot-Micro\" ; 1-64 characters
|
||||||
-D FACTORY_AP_PASSWORD=\"spot-leika\" ; 8-64 characters
|
-D FACTORY_AP_PASSWORD=\"spot-leika\" ; 8-64 characters
|
||||||
-D FACTORY_AP_CHANNEL=1
|
-D FACTORY_AP_CHANNEL=1
|
||||||
-D FACTORY_AP_SSID_HIDDEN=false
|
-D FACTORY_AP_SSID_HIDDEN=false
|
||||||
@@ -25,16 +19,9 @@ build_flags =
|
|||||||
-D FACTORY_AP_GATEWAY_IP=\"192.168.4.1\"
|
-D FACTORY_AP_GATEWAY_IP=\"192.168.4.1\"
|
||||||
-D FACTORY_AP_SUBNET_MASK=\"255.255.255.0\"
|
-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
|
; Servo settings
|
||||||
-D FACTORY_SERVO_NUM=12
|
|
||||||
-D FACTORY_SERVO_OSCILLATOR_FREQUENCY=27000000
|
-D FACTORY_SERVO_OSCILLATOR_FREQUENCY=27000000
|
||||||
-D FACTORY_SERVO_PWM_FREQUENCY=50
|
-D FACTORY_SERVO_PWM_FREQUENCY=50
|
||||||
-D FACTORY_SERVO_CENTER_ANGLE=90
|
|
||||||
|
|
||||||
; Deep Sleep Configuration
|
; Deep Sleep Configuration
|
||||||
-D WAKEUP_PIN_NUMBER=38 ; pin number to wake up the ESP
|
-D WAKEUP_PIN_NUMBER=38 ; pin number to wake up the ESP
|
||||||
|
|||||||
Reference in New Issue
Block a user