Search found 154 matches

by zliudr
Sun Jul 05, 2020 8:25 pm
Forum: ESP32 IDF
Topic: Make causes antimalware executable to run at high cpu and memory
Replies: 5
Views: 992

Re: Make causes antimalware executable to run at high cpu and memory

Chegewara, Thanks for the suggestion. I got rid of my old computers and have been using SSDs for a couple of years now. My data above were an i5-7400 with Samsung 850 PRO SATA SSD (~500MB/s read) vs. an i9-10900K with Samsung 970 EVO PCIe SSD (~3200MB/s read). The i5 has 4 cores/8 processes with 3.0...
by zliudr
Sun Jul 05, 2020 4:13 am
Forum: ESP32 IDF
Topic: Make causes antimalware executable to run at high cpu and memory
Replies: 5
Views: 992

Re: Make causes antimalware executable to run at high cpu and memory

Thank you! I made the change as you suggested but I didn't find where the esp-idf document is so if you could post a link that would be great! I added folder and process for exclusion. It's not specifically do-not-scan-on-access-list so maybe I can do better if you point me to the doc. Here's some t...
by zliudr
Sat Jul 04, 2020 4:44 pm
Forum: ESP32 IDF
Topic: Make causes antimalware executable to run at high cpu and memory
Replies: 5
Views: 992

Re: Make causes antimalware executable to run at high cpu and memory

I wish to bump this post since the issue is still there, release 3.3. I got a very fast computer and it compiles much faster but if I can make the antimalware executable not take over 100% of the cpu and memory, I bet even a moderate computer setup will do well.
by zliudr
Thu Jul 02, 2020 3:52 pm
Forum: ESP32 IDF
Topic: Sharing code base between ESP32 and arduino
Replies: 3
Views: 145

Re: Sharing code base between ESP32 and arduino

OK, since I'm using release 3.3, I couldn't find the esp_idf_version.h file. I could do some digging and testing that macro, but ESP_PLATFORM already works. Thanks again!
by zliudr
Thu Jul 02, 2020 3:03 pm
Forum: ESP32 IDF
Topic: Sharing code base between ESP32 and arduino
Replies: 3
Views: 145

Re: Sharing code base between ESP32 and arduino

Great! Thank you! I've been using:

Code: Select all

 'EXTRA_CPPFLAGS+=-DBLAHBLAH_IS_ESP32=1'
It's good to have the official #define

This is not very important but are these listed in the document somewhere I can read on my own?
Must be not waking up! You provided the link right there!
by zliudr
Wed Jul 01, 2020 11:01 pm
Forum: ESP32 IDF
Topic: Sharing code base between ESP32 and arduino
Replies: 3
Views: 145

Sharing code base between ESP32 and arduino

Does the ESP-IDF #define any variables like ESP_IDF, ESP32 etc. to pass to the compiler? I'm developing a project where I use ESP32 as the main processor and have ATMEGA MCUS such as 32u4 and 328p do peripherals. In developing the code, there are three firmware, one on each processor. It's a lot of ...
by zliudr
Wed Jul 01, 2020 12:36 am
Forum: ESP32 IDF
Topic: factory reset button not working
Replies: 0
Views: 93

factory reset button not working

I am trying to make factory reset work but it's not working. OTA partition is loaded regardless the button being depressed. I tested the buttons with my multimeter and read it within my firmware. When not held, it reads 1. When held, it reads 0. It's a simple button connecting pin 18 to ground. I've...
by zliudr
Fri Jun 12, 2020 5:06 am
Forum: General Discussion
Topic: Multiple definition of functions when trying to use regex
Replies: 11
Views: 1628

Re: Multiple definition of functions when trying to use regex

Just checked, it worked! Thank you so much PeterR! Thanks to the ESP team too I know you're all busy.
by zliudr
Thu Jun 11, 2020 9:04 pm
Forum: ESP32 IDF
Topic: tcpip_adapter_set_hostname() max host name length?
Replies: 1
Views: 104

Re: tcpip_adapter_set_hostname() max host name length?

OK I overlooked this:

#define TCPIP_HOSTNAME_MAX_SIZE 32

so the max is indeed 32 bytes
by zliudr
Thu Jun 11, 2020 9:01 pm
Forum: ESP32 IDF
Topic: tcpip_adapter_set_hostname() max host name length?
Replies: 1
Views: 104

tcpip_adapter_set_hostname() max host name length?

I tried 44 bytes and ESP_ERROR_CHECK() rebooted my device. 32 seems to work but I should know the limit. I'm using Release V3.3 I just read here that this function is depreciated since the most recent V4.1 release: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp...

Go to advanced search