Search found 6 matches
- Mon May 06, 2024 10:48 pm
- Forum: ESP-IDF
- Topic: Using CMake add_custom_command() to perform POST_BUILD action
- Replies: 19
- Views: 34367
Re: Using CMake add_custom_command() to perform POST_BUILD action
Just wanted to add to this thread, it's exactly what I needed. We have a source code library that we don't distribute directly to customers; instead we compile an archive and include that with the application source. For Eclipse-based toolchains, this is fairly simple to manage by making two ...
- Thu May 02, 2024 7:08 pm
- Forum: ESP-IDF
- Topic: Creating a component from a prebuilt lib
- Replies: 2
- Views: 3943
Re: Creating a component from a prebuilt lib
I just followed these instructions, and I was able to build a Hello World app while pulling a couple of functions from my application libraries. Here's the CMakeLists.txt for the component:
# App libs include component w/ prebuilt source library.
# Set this to whatever components your library ...
# App libs include component w/ prebuilt source library.
# Set this to whatever components your library ...
- Thu May 02, 2024 7:08 pm
- Forum: ESP-IDF
- Topic: Link an external static object archive (.a)
- Replies: 3
- Views: 6745
Re: Link an external static object archive (.a)
FWIW, this is the correct answer:
https://esp32.com/viewtopic.php?t=16452
I just followed these instructions, and I was able to build a Hello World app while pulling a couple of functions from my application libraries. Here's the CMakeLists.txt for the component:
# App libs include component w ...
https://esp32.com/viewtopic.php?t=16452
I just followed these instructions, and I was able to build a Hello World app while pulling a couple of functions from my application libraries. Here's the CMakeLists.txt for the component:
# App libs include component w ...
- Fri May 12, 2023 8:42 pm
- Forum: General Discussion
- Topic: What is the meaning of " state wrong txa_flags=9"
- Replies: 1
- Views: 3369
Re: What is the meaning of " state wrong txa_flags=9"
I'm also getting this debug output:
W (2051848) wifi:state wrong txa_flags=9
W (3311360) wifi:state wrong txa_flags=9
W (7570754) wifi:state wrong txa_flags=9
W (8051716) wifi:state wrong txa_flags=9
W (9288310) wifi:state wrong txa_flags=9
W (9769166) wifi:state wrong txa_flags=9
W (10593560) wifi ...
W (2051848) wifi:state wrong txa_flags=9
W (3311360) wifi:state wrong txa_flags=9
W (7570754) wifi:state wrong txa_flags=9
W (8051716) wifi:state wrong txa_flags=9
W (9288310) wifi:state wrong txa_flags=9
W (9769166) wifi:state wrong txa_flags=9
W (10593560) wifi ...
- Wed May 10, 2023 2:05 pm
- Forum: ESP-IDF
- Topic: ESP32S3 - Enabling CONFIG_FREERTOS_USE_TICK_HOOK causes nvs_flash_init() to panic
- Replies: 2
- Views: 1616
Re: ESP32S3 - Enabling CONFIG_FREERTOS_USE_TICK_HOOK causes nvs_flash_init() to panic
Aye, I soon discovered/realized that as I was waiting for my post to be approved. I also discovered that ESP has a whole separate API for tick and idle hooks that handles multi-core (esp_freertos_hooks.h). Determined that I can turn off the CONFIG_FREERTOS_USE_TICK_HOOK flag and instead use esp ...
- Mon May 08, 2023 10:41 pm
- Forum: ESP-IDF
- Topic: ESP32S3 - Enabling CONFIG_FREERTOS_USE_TICK_HOOK causes nvs_flash_init() to panic
- Replies: 2
- Views: 1616
ESP32S3 - Enabling CONFIG_FREERTOS_USE_TICK_HOOK causes nvs_flash_init() to panic
I've run into a rather perplexing issue. I've been developing an app on an ESP32-S3 in C and C++, using SPI and I2C and other facilities, all working fine. I then folded in code to run the Wi-Fi interface, based on the simple "station" example in IDF v5.0.1. Unfortunately, I found that my app would ...