PaesslerAG / maker-monday

Maker Monday related stuff
BSD 3-Clause "New" or "Revised" License
19 stars 6 forks source link

compile error Smart Mailbox #7

Open martz170 opened 1 month ago

martz170 commented 1 month ago

Hi, thanks for this cool Smart-Mailbox project, but i constantly get an compilation error:

Compilation error: 'GPIO_SEL_25' was not declared in this scope; did you mean 'GPIO_NUM_25'?

I tried to rename, but no success. All Libs are present and Board Support URL is also ok.

Using Arduino 2.3.2 / Firebeetle ESP 32 E

Any Ideas ?

Thanks

McSlow commented 1 month ago

Hi, the code is pretty old and it seems the bitselectors for getting the wakeup reason are no more defined. Instead, there's now a function for getting the pin like there is one for getting the wakeup reason, called esp_sleep_get_ext1_wakeup_status()

If you give me a day or two, i'll find out how.

martz170 commented 1 month ago

Hi McSlow,

that would be awsome !

Cheers