mirror of
https://github.com/Mercantec-GHC/h5-projekt-mst.git
synced 2026-08-26 21:27:38 +02:00
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
menu "Skateboard config"
|
|
|
|
config WIFI_SSID
|
|
string "WIFI SSID"
|
|
default "myssid"
|
|
|
|
config WIFI_PASSWORD
|
|
string "WIFI password"
|
|
default "mypassword"
|
|
|
|
config WIFI_MAXIMUM_RETRIES
|
|
int "WIFI maximum connection retries"
|
|
default 5
|
|
|
|
config MQTT_URL
|
|
string "MQTT URL"
|
|
default "mqtt://mqtt.eclipseprojects.io"
|
|
help
|
|
URL of the broker to connect to
|
|
|
|
config MQTT_USERNAME
|
|
string "MQTT Username"
|
|
default "test"
|
|
|
|
config MQTT_PASSWORD
|
|
string "MQTT Password"
|
|
default "1234"
|
|
|
|
choice MPU6050_I2C_ADDRESS
|
|
prompt "Select I2C address"
|
|
default MPU6050_I2C_ADDRESS_LOW
|
|
help
|
|
Select I2C address
|
|
|
|
config MPU6050_I2C_ADDRESS_LOW
|
|
bool "MPU6050_I2C_ADDRESS_LOW"
|
|
help
|
|
Choose this when ADDR pin is disconnected or connected to ground
|
|
config MPU6050_I2C_ADDRESS_HIGH
|
|
bool "MPU6050_I2C_ADDRESS_HIGH"
|
|
help
|
|
Choose this when ADDR pin is connected to VCC
|
|
endchoice
|
|
|
|
config MPU6050_SCL_GPIO
|
|
int "MPU6050 SCL GPIO Number"
|
|
default 12
|
|
help
|
|
GPIO number for I2C Master clock line.
|
|
|
|
config MPU6050_SDA_GPIO
|
|
int "MPU6050 SDA GPIO Number"
|
|
default 11
|
|
help
|
|
GPIO number for I2C Master data line.
|
|
|
|
endmenu
|