LilyGo-HiGrow icon indicating copy to clipboard operation
LilyGo-HiGrow copied to clipboard

Compilation problems with LILYGO® T-Higrow ESP32 Soil Tester DHT11 BEM280 Kit.

Open Copyrighter opened this issue 1 year ago • 2 comments

Hi,

I'm just received LILYGO® T-Higrow ESP32 Soil Tester DHT11 BEM280 Kit and trying to follow instructions and connect it to WIFI.

But, I get two errors during compilation:

  1. Compilation error: 'GPIO_SEL_35' was not declared in this scope; did you mean 'GPIO_NUM_35'?
C:\Users\Any1\Documents\Arduino\src\src.ino: In function 'void sleepHandler(Button2&)':
C:\Users\Any1\Documents\Arduino\src\src.ino:119:34: error: 'GPIO_SEL_35' was not declared in this scope; did you mean 'GPIO_NUM_35'?
  119 |     esp_sleep_enable_ext1_wakeup(GPIO_SEL_35, ESP_EXT1_WAKEUP_ALL_LOW);
      |                                  ^~~~~~~~~~~
      |                                  GPIO_NUM_35

exit status 1
  1. Compilation error: text section exceeds available space in board
Sketch uses 1413085 bytes (107%) of program storage space. Maximum is 1310720 bytes.
Global variables use 50396 bytes (15%) of dynamic memory, leaving 277284 bytes for local variables. Maximum is 327680 bytes.

No changes were made to configuration.h, except changing WIFI_SSID and WIFI_PASSWD. No changes to src.ino, except exception to line 119 "esp_sleep_enable_ext1_wakeup(GPIO_SEL_35, ESP_EXT1_WAKEUP_ALL_LOW);".

Someone can help?

Thank You.

Copyrighter avatar Jun 05 '24 00:06 Copyrighter

I have the same problem, i found some documentation where is stated you need to downgrade the esp32 boards to a lower version.

edegraaff avatar Jan 21 '25 10:01 edegraaff

Downgrading to esp boards 2.08 delivers a different error it seems still a declare arror.

\Arduino\HiGrow\src\src.ino:118:34: error: 'GPIO_SEL_' was not declared in this scope

                              ^~~~~~~~~

o\HiGrow\src\src.ino:118:34: note: suggested alternative: 'GPIO_SEL_0' esp_sleep_enable_ext1_wakeup(GPIO_SEL_,35 ESP_EXT1_WAKEUP_ALL_LOW); ^~~~~~~~~ GPIO_SEL_0 iGrow\src\src.ino:118:46: error: expected ')' before 'ESP_EXT1_WAKEUP_ALL_LOW' esp_sleep_enable_ext1_wakeup(GPIO_SEL_,35 ESP_EXT1_WAKEUP_ALL_LOW); ~ ^~~~~~~~~~~~~~~~~~~~~~~~ )

edegraaff avatar Jan 24 '25 21:01 edegraaff