examples/ulp: Add using esp_deep_sleep_disable_rom_logging

This commit is contained in:
Konstantin Kondrashov
2018-09-04 18:21:34 +08:00
parent 38098b713f
commit dbad72e6b5
3 changed files with 2 additions and 4 deletions

View File

@@ -76,11 +76,11 @@ static void init_ulp_program()
/* Disconnect GPIO12 and GPIO15 to remove current drain through
* pullup/pulldown resistors.
* GPIO15 may be connected to ground to suppress boot messages.
* GPIO12 may be pulled high to select flash voltage.
*/
rtc_gpio_isolate(GPIO_NUM_12);
rtc_gpio_isolate(GPIO_NUM_15);
esp_deep_sleep_disable_rom_logging(); // suppress boot messages
}
static void start_ulp_program()