Search found 18 matches

by Serdar
Sun May 05, 2024 7:26 pm
Forum: General Discussion
Topic: TinyUSB problem in Custom CMake Projects
Replies: 1
Views: 2455

Re: TinyUSB problem in Custom CMake Projects

Hi, Is there anyone who can help with this?
by Serdar
Wed Mar 27, 2024 2:53 pm
Forum: General Discussion
Topic: TinyUSB problem in Custom CMake Projects
Replies: 1
Views: 2455

TinyUSB problem in Custom CMake Projects

https://github.com/espressif/esp-idf/tree/release/v5.2/examples/build_system/cmake/idf_as_lib Hi, We have an old and large project running in this structure. In the past, tinyUSB was inside esp-idf files. But now it is downloaded automatically as a project dependency. I'm having trouble adding exter...
by Serdar
Mon Jun 12, 2023 5:59 pm
Forum: ESP-IDF
Topic: nvs_flash_init_partition() fails when running concurrently with WIFI
Replies: 1
Views: 1052

nvs_flash_init_partition() fails when running concurrently with WIFI

Hi, I have 2 tasks that are working fine separately. Actually, I know where the problem comes from. // Initialize NVS esp_err_t ret = nvs_flash_init(); if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) { ESP_ERROR_CHECK(nvs_flash_erase()); ret = nvs_flash_init(); } ESP_ER...
by Serdar
Mon May 22, 2023 10:37 pm
Forum: ESP-IDF
Topic: How to add ULP features to Custom CMake Projects
Replies: 0
Views: 917

How to add ULP features to Custom CMake Projects

Hi, How can I add ULP features to this sample project. Or can I use ULP features in an external component? https://github.com/serdartoren/Test_repo/tree/main include($ENV{IDF_PATH}/components/ulp/project_include.cmake) include($ENV{IDF_PATH}/tools/cmake/idf.cmake) # Create idf::{target} and idf::fre...
by Serdar
Wed Feb 22, 2023 3:11 am
Forum: ESP-IDF
Topic: How to create a variable at an absolute address in DRAM ?
Replies: 10
Views: 8095

Re: How to create a variable at an absolute address in DRAM ?

I have an architecture like this. ///////////////////////////// any_page.c static const volatile Tracks g_tracks __attribute__((section(".tracks\n\t#"))); ..... there are other variables in different pages defined like this ... memory.c /* Base @ of Sector 0, 16 Kbytes */ #define ADDR_FLASH_SECTOR_0...
by Serdar
Wed Feb 22, 2023 2:56 am
Forum: ESP-IDF
Topic: How to set "ESP_PLATFORM" to 1 in Custom CMake Projects
Replies: 1
Views: 2046

How to set "ESP_PLATFORM" to 1 in Custom CMake Projects

Hi, i have a similar project to this. I used tinyUSB inside this project. https://github.com/espressif/esp-idf/tree/master/examples/build_system/cmake/idf_as_lib After get this warning I realized that ESP_PLATFORM is 0 warning: implicit declaration of function 'traceISR_EXIT_TO_SCHEDULER' [-Wimplici...
by Serdar
Tue Feb 21, 2023 9:31 pm
Forum: ESP-IDF
Topic: How to create a variable at an absolute address in DRAM ?
Replies: 10
Views: 8095

Re: How to create a variable at an absolute address in DRAM ?

I need an absolute address.
If that's not possible, I'll have to access the variable addresses from other .c pages after the code runs.
by Serdar
Mon Feb 20, 2023 10:31 pm
Forum: ESP-IDF
Topic: How to create a variable at an absolute address in DRAM ?
Replies: 10
Views: 8095

Re: How to create a variable at an absolute address in DRAM ?

Hi, thanks for your replies. I created linker_fragment_file like this. [sections:CONFIG_ASL ] entries: .CONFIG_ASL+ [sections:TRACKS ] entries: .TRACKS+ [scheme:auto_default] entries: CONFIG_ASL -> dram0_data TRACKS -> dram0_data [mapping:CONFIG_ASL ] archive: * entries: * (auto_default); CONFIG_ASL...
by Serdar
Tue Feb 14, 2023 6:15 pm
Forum: ESP-IDF
Topic: How to create a variable at an absolute address in DRAM ?
Replies: 10
Views: 8095

Re: How to create a variable at an absolute address in DRAM ?

Hi again, i really need this answer.
by Serdar
Sat Jan 28, 2023 12:08 pm
Forum: ESP-IDF
Topic: How to create a variable at an absolute address in DRAM ?
Replies: 10
Views: 8095

How to create a variable at an absolute address in DRAM ?

Hi, I need to create variable in absolute addresses in DRAM. I used a dirty method to do this. sections.ld config : { . = ALIGN(4); KEEP (*(.config)) } > CONFIG tracks : { . = ALIGN(4); KEEP (*(.tracks)) } > TRACKS memory.ld CONFIG (RW) : org = 0x3FCC0000, len = 0x4000 TRACKS (RW) : org = 0x3FCC4000...