Merge pull request #47 from espressif/bugfix/idf_v5.0_compat

Add missing header file for IDF 5.0
This commit is contained in:
Ivan Grokhotkov 2022-03-21 13:35:36 +01:00 committed by GitHub
commit 01ba33ea7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@
#include "freertos/task.h" #include "freertos/task.h"
#include "esp_system.h" #include "esp_system.h"
#include "esp_spi_flash.h" #include "esp_spi_flash.h"
#include "esp_idf_version.h"
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)
#include "esp_chip_info.h"
#endif
#include "RustApi.h" #include "RustApi.h"