Xinyuan-LilyGO / LilyGo-HiGrow

https://pt.aliexpress.com/item/32815782900.html
117 stars 51 forks source link

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

Open Copyrighter opened 1 month ago

Copyrighter commented 1 month ago

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


2. 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.