mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
examples: re-enable console examples for C2, C6, H2
- Split the sleep-related system commands into a separate file - Don't compile that file and don't register sleep commands for H2 yet - Exclude Wi-Fi commands if the chip doesn't have Wi-Fi
This commit is contained in:
@@ -79,8 +79,13 @@ void app_main(void)
|
||||
|
||||
/* Register commands */
|
||||
esp_console_register_help_command();
|
||||
register_system();
|
||||
register_system_common();
|
||||
#ifndef CONFIG_IDF_TARGET_ESP32H2 // needs deep sleep support, IDF-6268
|
||||
register_system_sleep();
|
||||
#endif
|
||||
#if SOC_WIFI_SUPPORTED
|
||||
register_wifi();
|
||||
#endif
|
||||
register_nvs();
|
||||
|
||||
#if defined(CONFIG_ESP_CONSOLE_UART_DEFAULT) || defined(CONFIG_ESP_CONSOLE_UART_CUSTOM)
|
||||
|
Reference in New Issue
Block a user