Search found 12 matches
- Fri Sep 27, 2024 2:25 pm
- Forum: ESP-IDF
- Topic: operations in different cores influence each other if 1 of those writes to memory
- Replies: 11
- Views: 5461
Re: operations in different cores influence each other if 1 of those writes to memory
Oh. I have the same problem. How did you solve this problem?
- Tue Mar 19, 2024 9:39 am
- Forum: ESP-IDF
- Topic: Change name final binary output file via CMakeLists
- Replies: 1
- Views: 464
Re: Change name final binary output file via CMakeLists
Alternatively, after compilation, you can copy the bin file with your own name.
viewtopic.php?f=13&t=11528&start=10#p47552
viewtopic.php?f=13&t=11528&start=10#p47552
- Mon Mar 18, 2024 5:20 pm
- Forum: ESP-IDF
- Topic: Change name final binary output file via CMakeLists
- Replies: 1
- Views: 464
Change name final binary output file via CMakeLists
project(myProject) creates the project itself, and specifies the project name. The project name is used for the final binary output files of the app - ie myProject.elf, myProject.bin.
How can I change the final binary output file to myNameFile.bin via CMakeLists?
How can I change the final binary output file to myNameFile.bin via CMakeLists?
- Tue Aug 08, 2023 5:21 pm
- Forum: Hardware
- Topic: esp32 poweron reset
- Replies: 5
- Views: 5777
Re: esp32 poweron reset
What is the solution to the problem? I have the same problem, I don't know what to do.
WiFi/BLE disabled. ESP32E spontaneously calls POWERON_RESET after 5-50 seconds
WiFi/BLE disabled. ESP32E spontaneously calls POWERON_RESET after 5-50 seconds
- Thu Jul 27, 2023 8:47 pm
- Forum: General Discussion
- Topic: attribute register or DRAM_ATTR
- Replies: 10
- Views: 2648
Re: attribute register or DRAM_ATTR
Indeed, the compiler optimizes.
Now showing 16 ticks
- //global
- volatile uint32_t start = 111;
- volatile uint32_t start2 = 111;
- volatile uint32_t startDiff = 111;
- Thu Jul 27, 2023 5:27 pm
- Forum: General Discussion
- Topic: attribute register or DRAM_ATTR
- Replies: 10
- Views: 2648
Re: attribute register or DRAM_ATTR
Thanks. I tried to take measurements in this way. In any case, I get 1 tick for different inputs to the formula. start = XTHAL_GET_CCOUNT(); delay_us = (_baseDelay_ns - (uint32_t)((float)(_dT_us_first - _dT_us_current) *kefK)) /1000 ; start2 = XTHAL_GET_CCOUNT(); startDiff = start2 - start ; portENA...
- Tue Jul 25, 2023 7:09 pm
- Forum: General Discussion
- Topic: attribute register or DRAM_ATTR
- Replies: 10
- Views: 2648
Re: attribute register or DRAM_ATTR
line 104 #define GPIO_Set(x) REG_WRITE(GPIO_OUT_W1TS_REG, 1<<x) #define GPIO_Clear(x) REG_WRITE(GPIO_OUT_W1TC_REG, 1<<x) #define GPIO_IN_Read(x) REG_READ(GPIO_IN_REG) & (1 << x) #define GPIO_IN_ReadAll() REG_READ(GPIO_IN_REG) #define GPIO_IN_ReadAll2() REG_READ(GPIO_IN1_REG) #define DEF_PIN_1 GPIO_N...
- Tue Jul 25, 2023 4:53 am
- Forum: General Discussion
- Topic: attribute register or DRAM_ATTR
- Replies: 10
- Views: 2648
Re: attribute register or DRAM_ATTR
My goal: to get the fastest possible calculations
I measure the period of the pin, do the calculation and raise another pin.
I measure the period of the pin, do the calculation and raise another pin.
- Thu Jul 20, 2023 6:41 am
- Forum: General Discussion
- Topic: attribute register or DRAM_ATTR
- Replies: 10
- Views: 2648
attribute register or DRAM_ATTR
- register uint32_t var1 = 123;
- DRAM_ATTR uint32_t var2 = 123;
- IRAM_ATTR uint32_t var3 = 123;
Can I use IRAM_ATTR on variables or structures?
- Tue Jun 27, 2023 5:29 am
- Forum: Sample Code
- Topic: OTA update with pre-encrypted file
- Replies: 1
- Views: 30340
Re: OTA update with pre-encrypted file
Thank you!
Can you send what your sdkconfig file looks like?
Can you send what your sdkconfig file looks like?