cmd_system.h 565 B

1234567891011121314151617181920212223
  1. /* Console example — various system commands
  2. This example code is in the Public Domain (or CC0 licensed, at your option.)
  3. Unless required by applicable law or agreed to in writing, this
  4. software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  5. CONDITIONS OF ANY KIND, either express or implied.
  6. */
  7. #pragma once
  8. #include "esp_system.h"
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. // Register system functions
  13. void register_system();
  14. esp_err_t guided_factory();
  15. esp_err_t guided_restart_ota();
  16. void simple_restart();
  17. #ifdef __cplusplus
  18. }
  19. #endif