Search found 2071 matches
- Mon Jul 24, 2023 3:32 pm
- Forum: ESP-IDF
- Topic: Cmake issues
- Replies: 4
- Views: 1359
Re: Cmake issues
I don't have the rest of the project to check if this works, but it should be something along these lines: idf_component_register( SRCS "main.cpp" "widgets/tux_panel.c" "images/dev_bg.c" # Status icons like BLE "fonts/font_fa_14.c" # Weather icons like clouds etc "fonts/font_fa_weather_42.c" # Motot...
- Mon Jul 24, 2023 2:21 pm
- Forum: ESP-IDF
- Topic: Cmake issues
- Replies: 4
- Views: 1359
Re: Cmake issues
If CMakeLists.txt in ui subdirectory is declaring a library (using "add_library(your-library-name)"), then you can use "target_link_libraries(your-library-name PRIVATE idf::main)" to add a dependency of "ui" on "main". Note that cyclic dependencies may require setting LINK_INTERFACE_MULTIPLICITY pro...
- Mon Jul 24, 2023 10:56 am
- Forum: ESP-IDF
- Topic: ESP32-C3 CoreMark Results
- Replies: 2
- Views: 1513
Re: ESP32-C3 CoreMark Results
Hi. We are trying to measure coremark on esp32-c3. We have got score of 386 with -O3 which significantly less than the one marked in the datasheet (407.22). Does anyone know which parameters are selected in menuconfig in the datasheet benchmark? Is there a github repo with the settings of the datas...
- Mon Jul 24, 2023 8:08 am
- Forum: ESP-IDF
- Topic: Panic when writing flash and UART interrupt - both IRAM_ATTR and DRAM_ATTR used
- Replies: 4
- Views: 1616
Re: Panic when writing flash and UART interrupt - both IRAM_ATTR and DRAM_ATTR used
Hi Mike, when the system panics, there should be a register dump and backtrace printed (see the docs for more information). IDF monitor will decode the addresses in the backtrace, converting them into function names and line numbers. You can use this information to find the function which is not in ...
- Mon Jul 24, 2023 6:20 am
- Forum: ESP-BOX 中文讨论版
- Topic: espbox lite使用squareline生成lvgl问题
- Replies: 9
- Views: 10715
Re: espbox lite使用squareline生成lvgl问题
You can also get the complete package from https://github.com/espressif/esp-bsp/re ... ine-latest — it is automatically updated for any new board.
- Sun Jul 23, 2023 6:53 pm
- Forum: Hardware
- Topic: Memory Structure of LX6 Processor and ESP32 Board
- Replies: 14
- Views: 5076
Re: Memory Structure of LX6 Processor and ESP32 Board
1. Is the Flash Memory (U3) of Fig-3 marked as **External Memory** in Fig-2? Yes, it is. 2. Is FreeRTOS firmware pre-installed in "Instruction ROM Memory" of Fig-1? Which core it is -- Core0 or Core1? It's not. FreeRTOS (plus every other part of the system: heap implementation, C library, periphera...
- Sun Jul 23, 2023 6:45 pm
- Forum: ESP-IDF
- Topic: version.txt file format ?
- Replies: 8
- Views: 4958
Re: version.txt file format ?
The ota update use image version i think, i didn't know there was app version and image version. How to "automate" image version ? I'm sorry, I can't understand this part. The line of code you are pointing to uses the "version" field of esp_app_desc_t structure. This field can be set in a variety o...
- Sat Jul 22, 2023 5:29 pm
- Forum: ESP-IDF
- Topic: Why does xQueueCreate doesn't use PSRAM?
- Replies: 2
- Views: 1433
Re: Why does xQueueCreate doesn't use PSRAM?
It seems this change had been mentioned in the release notes of v5.1. To allocate a Freertos object in PSRAM, you have to first allocate memory for it with heap_caps_malloc(..., MALLOC_CAP_SPIRAM) and then use xQueueCreateStatic to initialize the object inside the allocated buffer. Here's an example...
- Sat Jul 22, 2023 12:28 pm
- Forum: ESP-IDF
- Topic: version.txt file format ?
- Replies: 8
- Views: 4958
Re: version.txt file format ?
Please try adding --version 2 after image_info command, then it should print the app metadata info (https://docs.espressif.com/projects/esp ... image-info)
- Fri Jul 21, 2023 8:03 pm
- Forum: General Discussion
- Topic: Command Line Interface for Programming EPS32
- Replies: 2
- Views: 1504
Re: Command Line Interface for Programming EPS32
Espflash (https://github.com/esp-rs/espflash) can also be built into a standalone binary.