Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. /*
  2. This example code is in the Public Domain (or CC0 licensed, at your option.)
  3.  
  4. Unless required by applicable law or agreed to in writing, this
  5. software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  6. CONDITIONS OF ANY KIND, either express or implied.
  7. */
  8.  
  9. #include <stdio.h>
  10.  
  11. #include "esp_system.h"
  12. #include "freertos/FreeRTOS.h"
  13. #include "freertos/task.h"
  14. #include "esp_system.h"
  15. #include "esp_spi_flash.h"
  16.  
  17. /******************************************************************************
  18. * FunctionName : app_main
  19. * Description : entry of user application, init user function here
  20. * Parameters : none
  21. * Returns : none
  22. *******************************************************************************/
  23. void app_main(void)
  24. {
  25. printf("Hello world!\n");
  26.  
  27. printf("SDK version:%s\n", esp_get_idf_version());
  28. esp_restart();
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement