Remove extensive logging
This commit is contained in:
@@ -286,7 +286,6 @@ public:
|
|||||||
unsigned short port = 22;
|
unsigned short port = 22;
|
||||||
void *my_abstract = NULL;
|
void *my_abstract = NULL;
|
||||||
LIBSSH2_SESSION *session;
|
LIBSSH2_SESSION *session;
|
||||||
LIBSSH2_CHANNEL *channel;
|
|
||||||
|
|
||||||
ESP_LOGI(TAG, "libssh2_version is %s", LIBSSH2_VERSION);
|
ESP_LOGI(TAG, "libssh2_version is %s", LIBSSH2_VERSION);
|
||||||
int rc = libssh2_init(0);
|
int rc = libssh2_init(0);
|
||||||
@@ -349,8 +348,10 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libssh2_trace(session, ~0);
|
// Enables extensive logging from libssh2
|
||||||
libssh2_trace_sethandler(session, NULL, my_trace_handler);
|
// Needs debug logging enabled in menuconfig > components > libssh2
|
||||||
|
// libssh2_trace(session, ~0);
|
||||||
|
// libssh2_trace_sethandler(session, NULL, my_trace_handler);
|
||||||
|
|
||||||
printf("Session initialized. Setting timeout...\n");
|
printf("Session initialized. Setting timeout...\n");
|
||||||
// libssh2_session_set_timeout(session, 10000);
|
// libssh2_session_set_timeout(session, 10000);
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
# Target Configuration
|
# This file was generated using idf.py save-defconfig. It can be edited manually.
|
||||||
CONFIG_IDF_TARGET="esp32c6"
|
# Espressif IoT Development Framework (ESP-IDF) 5.5.2 Project Minimal Configuration
|
||||||
|
#
|
||||||
# WiFi Configuration
|
|
||||||
CONFIG_WIFI_SSID="DoNotSetTheRealValueHere"
|
CONFIG_WIFI_SSID="DoNotSetTheRealValueHere"
|
||||||
CONFIG_WIFI_PASSWORD="PutTheRealPassInTheSdkconfigFile"
|
CONFIG_WIFI_PASSWORD="PutTheRealPassInTheSdkconfigFile"
|
||||||
|
CONFIG_IDF_TARGET="esp32c6"
|
||||||
# ATECC608A Configuration
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||||
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||||
|
CONFIG_ESP_MAIN_TASK_STACK_SIZE=24000
|
||||||
|
CONFIG_ATECC608A_TCUSTOM=y
|
||||||
CONFIG_ATCA_I2C_SDA_PIN=22
|
CONFIG_ATCA_I2C_SDA_PIN=22
|
||||||
CONFIG_ATCA_I2C_SCL_PIN=23
|
CONFIG_ATCA_I2C_SCL_PIN=23
|
||||||
CONFIG_ATCA_I2C_ADDRESS=0xC0
|
|
||||||
CONFIG_ATCA_I2C_BAUD_RATE=1000000
|
CONFIG_ATCA_I2C_BAUD_RATE=1000000
|
||||||
CONFIG_ATECC608A_TCUSTOM=y
|
CONFIG_LIBSSH2_DEBUG_ENABLE=n
|
||||||
|
|||||||
Reference in New Issue
Block a user