Search found 4 matches
- Sun Jun 04, 2023 4:57 pm
- Forum: ESP-IDF
- Topic: How can I set a digital pin's state from wake stub, go sleep and preserve pin's state throughout deep sleep?
- Replies: 1
- Views: 942
Re: How can I set a digital pin's state from wake stub, go sleep and preserve pin's state throughout deep sleep?
Nothing? Any hints? What am I missing?
- Sun May 28, 2023 3:44 pm
- Forum: ESP-IDF
- Topic: How can I set a digital pin's state from wake stub, go sleep and preserve pin's state throughout deep sleep?
- Replies: 1
- Views: 942
How can I set a digital pin's state from wake stub, go sleep and preserve pin's state throughout deep sleep?
I want to set a pin's state in wake stub, but this code doesn't hold the pin's state when going to sleep void RTC_IRAM_ATTR esp_wake_deep_sleep(void) { esp_default_wake_deep_sleep(); REG_SET_BIT(GPIO_ENABLE_REG, BIT2); REG_WRITE(GPIO_OUT_W1TS_REG, BIT2); //the pin is on for 1/10 second ets_delay_us(...
- Sun Jan 22, 2023 5:42 am
- Forum: ESP-IDF
- Topic: fatal error: esp_wifi.h: No such file or directory
- Replies: 1
- Views: 5337
Re: fatal error: esp_wifi.h: No such file or directory
I was missing:
REQUIRES esp_wifi in main/CMakeLists.txt.
REQUIRES esp_wifi in main/CMakeLists.txt.
Code: Select all
idf_component_register(
SRCS "main.c"
INCLUDE_DIRS res
EMBED_FILES res/settings.html
REQUIRES esp_wifi
)
- Wed Jan 18, 2023 2:53 pm
- Forum: ESP-IDF
- Topic: fatal error: esp_wifi.h: No such file or directory
- Replies: 1
- Views: 5337
fatal error: esp_wifi.h: No such file or directory
After installing idf 5.0 (vscode) I cannot build my project any more, because of: fatal error: esp_wifi.h: No such file or directory The component esp_wifi is listed in der components: -- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp32-w...