Skip to content

Commit

Permalink
Merge pull request #583 from rob4226/bugfix-helpers-h2
Browse files Browse the repository at this point in the history
Add support for H2 chip
  • Loading branch information
UncleRus authored Nov 23, 2023
2 parents 707ee39 + dcbd978 commit 47fabc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/esp_idf_lib_helpers/esp_idf_lib_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
|| defined(CONFIG_IDF_TARGET_ESP32S3) \
|| defined(CONFIG_IDF_TARGET_ESP32C2) \
|| defined(CONFIG_IDF_TARGET_ESP32C3) \
|| defined(CONFIG_IDF_TARGET_ESP32C6)
|| defined(CONFIG_IDF_TARGET_ESP32C6) \
|| defined(CONFIG_IDF_TARGET_ESP32H2)
#define HELPER_TARGET_IS_ESP32 (1)
#define HELPER_TARGET_IS_ESP8266 (0)

Expand Down Expand Up @@ -73,6 +74,7 @@
#define VALUE(x) VALUE_TO_STRING(x)
#define VAR_NAME_VALUE(var) #var "=" VALUE(var)
#pragma message(VAR_NAME_VALUE(CONFIG_IDF_TARGET_ESP32C3))
#pragma message(VAR_NAME_VALUE(CONFIG_IDF_TARGET_ESP32H2))
#pragma message(VAR_NAME_VALUE(CONFIG_IDF_TARGET_ESP32S2))
#pragma message(VAR_NAME_VALUE(CONFIG_IDF_TARGET_ESP32))
#pragma message(VAR_NAME_VALUE(CONFIG_IDF_TARGET_ESP8266))
Expand Down

0 comments on commit 47fabc5

Please sign in to comment.