Files
ros2-assignments/IMU/main/Kconfig.projbuild

78 lines
2.0 KiB
Plaintext
Executable File

menu "ESP32 IMU Project Configuration"
orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
menu "I2C Master Configuration"
config I2C_MASTER_SCL
int "SCL GPIO Num"
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 22
help
GPIO number for I2C Master clock line.
config I2C_MASTER_SDA
int "SDA GPIO Num"
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 21
help
GPIO number for I2C Master data line.
config I2C_MASTER_FREQUENCY
int "Master Frequency"
default 100000
help
I2C Speed of Master device.
endmenu
menu "MQTT Configuration"
config MQTT_BROKER_URI
string "MQTT Broker URI"
default "mqtt://192.168.4.2:1883"
help
URI of the MQTT broker to connect to.
config MQTT_TOPIC
string "MQTT Topic"
default "esp32/imu"
help
MQTT topic to publish IMU data to.
endmenu
menu "WiFi Access Point Configuration"
config WIFI_AP_MODE
bool "Enable WiFi AP Mode"
default y
help
Enable this option to start the device in Access Point mode.
If disabled, the device will start in Station mode.
config WIFI_SSID
string "WiFi SSID"
default "YourNetworkName"
depends on !WIFI_AP_MODE
help
SSID of WiFi network to connect to.
config WIFI_PASSWORD
string "WiFi Password"
default "YourPassword"
depends on !WIFI_AP_MODE
help
Password of WiFi network to connect to.
config WIFI_AP_SSID
string "WiFi AP SSID"
default "ESP32_IMU_AP"
depends on WIFI_AP_MODE
help
SSID of the WiFi Access Point when in AP mode.
config WIFI_AP_PASSWORD
string "WiFi AP Password"
default "esp32imuap"
depends on WIFI_AP_MODE
help
Password of the WiFi Access Point when in AP mode.
endmenu
endmenu