feat: support ESP32-S3 new board bring-up
This commit is contained in:
@@ -324,7 +324,16 @@ esp_err_t platform_stepper_driver_init(void)
|
||||
.intr_type = GPIO_INTR_DISABLE
|
||||
};
|
||||
|
||||
return gpio_config(&io_conf);
|
||||
esp_err_t err = gpio_config(&io_conf);
|
||||
if (err == ESP_OK) {
|
||||
ESP_LOGI(TAG,
|
||||
"Stepper ready IN1=%d IN2=%d IN3=%d IN4=%d",
|
||||
PLATFORM_STEPPER_IN1_PIN,
|
||||
PLATFORM_STEPPER_IN2_PIN,
|
||||
PLATFORM_STEPPER_IN3_PIN,
|
||||
PLATFORM_STEPPER_IN4_PIN);
|
||||
}
|
||||
return err;
|
||||
}
|
||||
|
||||
esp_err_t platform_stepper_driver_rotate_angle_with_accel(float angle,
|
||||
|
||||
Reference in New Issue
Block a user