diff --git a/examples/system/ulp/README.md b/examples/system/ulp/README.md index 17ba58f21e..4b2c5341a1 100644 --- a/examples/system/ulp/README.md +++ b/examples/system/ulp/README.md @@ -14,8 +14,6 @@ In this example the input signal is connected to GPIO0. Note that this pin was c ## Example output -Note: GPIO15 is connected to GND to disable ROM bootloader output. - ``` Not ULP wakeup, initializing ULP Entering deep sleep diff --git a/examples/system/ulp/main/ulp_example_main.c b/examples/system/ulp/main/ulp_example_main.c index 74c4febe40..a6e76bacb7 100644 --- a/examples/system/ulp/main/ulp_example_main.c +++ b/examples/system/ulp/main/ulp_example_main.c @@ -75,11 +75,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 /* Set ULP wake up period to T = 20ms. * Minimum pulse width has to be T * (ulp_debounce_counter + 1) = 80ms. diff --git a/examples/system/ulp_adc/main/ulp_adc_example_main.c b/examples/system/ulp_adc/main/ulp_adc_example_main.c index fd7d4ef438..80f9fc1ebf 100644 --- a/examples/system/ulp_adc/main/ulp_adc_example_main.c +++ b/examples/system/ulp_adc/main/ulp_adc_example_main.c @@ -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()