wear_levelling: Re-enable for ESP32-C3

This commit is contained in:
Angus Gratton 2020-12-22 19:45:50 +11:00
parent 690dc5d023
commit 570ef56d86
2 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,3 @@
idf_build_get_property(target IDF_TARGET)
if(${target} STREQUAL "esp32c3")
return() # TODO ESP32-C3 IDF-2180
endif()
idf_component_register(SRCS "Partition.cpp"
"SPI_Flash.cpp"
"WL_Ext_Perf.cpp"

View File

@ -13,6 +13,8 @@
#include "esp32s2/clk.h"
#elif CONFIG_IDF_TARGET_ESP32S3
#include "esp32s3/clk.h"
#elif CONFIG_IDF_TARGET_ESP32C3
#include "esp32c3/clk.h"
#endif
#include "soc/cpu.h"
#include "esp_rom_sys.h"