Search found 9031 matches

by ESP_Sprite
Fri Feb 17, 2023 6:42 am
Forum: ESP32 Arduino
Topic: Compile time vs CPU
Replies: 4
Views: 2234

Re: Compile time vs CPU

My setup is somewhat different, but it may give an indication. I have an i7-7600U laptop, which is about 50% slower than your CPU (because mine is an ultra-low power version... hence the U and the shitty performance). I run Linux and ESP-IDF, and a full compile of the 'hello world' is 54 seconds the...
by ESP_Sprite
Fri Feb 17, 2023 6:33 am
Forum: ESP32 Arduino
Topic: Uncalled function loop repeatedly
Replies: 3
Views: 2242

Re: Uncalled function loop repeatedly

How did you conclude that this (uncalled loop being called and halting) is what's happening?
by ESP_Sprite
Fri Feb 17, 2023 6:30 am
Forum: ESP-IDF
Topic: Memory optimization
Replies: 5
Views: 4122

Re: Memory optimization

@ESP_Sprite In your experience, is reduced ISR latency/jitter another valid reason to go to IRAM, or does it not really make a difference? Yes, it's also a reason some people put stuff in IRAM: if not there, it has to come from flash via the cache and if it's a relatively lightly used function, it ...
by ESP_Sprite
Fri Feb 17, 2023 6:27 am
Forum: ESP-IDF
Topic: ESP32S3 : FAT FileSystem :
Replies: 5
Views: 3780

Re: ESP32S3 : FAT FileSystem :

Actually, we have an optional wear leveling layer between fatfs and the 'raw' flash that alleviates a lot of the issues. If you don't need specifically flash FAT, then something like littlefs or spiffs might be a better option indeed though.
by ESP_Sprite
Fri Feb 17, 2023 6:24 am
Forum: General Discussion
Topic: ESP32 as Ethernet/IP (Industrial Protocol) Adapter
Replies: 2
Views: 3402

Re: ESP32 as Ethernet/IP (Industrial Protocol) Adapter

There's an open-source library for that here . I have no experience with it, but given that it purports to be portable and expects a POSIX interface, I'm decently sure it shouldn't be that hard to port to ESP-IDF. It can use the lower-level TCP/IP layers already available on the ESP32/ESP-IDF, so yo...
by ESP_Sprite
Fri Feb 17, 2023 5:53 am
Forum: General Discussion
Topic: microUSB and USB coexistence in project
Replies: 2
Views: 1763

Re: microUSB and USB coexistence in project

Yeah, sorry, you can't use the USB port for debugging and USB host at the same time. You can either change over to UART0 for debugging or programming, or add a 2nd USB PHY (e.g. a SP5301), but do note that the latter is somewhat undocumented; there's no easy tutorial.
by ESP_Sprite
Fri Feb 17, 2023 5:49 am
Forum: General Discussion
Topic: Forum questions
Replies: 4
Views: 2351

Re: Forum questions

If you're new, the first 3 posts need to be approved. Just post as you normally would; we usually approve the posts within a day, and after three have been approved, your posts will be visible immediately.
by ESP_Sprite
Thu Feb 16, 2023 4:04 am
Forum: ESP RainMaker
Topic: REST architecture expansion
Replies: 4
Views: 4622

Re: REST architecture expansion

You'd probably want to use something like UDP for this. ESP-NOW isn't forwarded by access points, so you could get into the situation that two devices can talk over REST but not over ESP-NOW.
by ESP_Sprite
Thu Feb 16, 2023 4:02 am
Forum: ESP32 Arduino
Topic: ESP-NOW Rx detecting loss of Tx signal.
Replies: 3
Views: 2240

Re: ESP-NOW Rx detecting loss of Tx signal.

Well, ESP-Now is sent as packets, meaning on the receiving end there's no difference between 'the transmitter sent something that wasn't received' and 'the transmitter didn't send anything'. What you would want to do is send data periodically (e.g. every 100ms or so), and detect loss of Tx by notici...
by ESP_Sprite
Thu Feb 16, 2023 3:54 am
Forum: ESP-IDF
Topic: How to set GPIO42 on ESP32-S3 as normal GPIO output?
Replies: 1
Views: 2491

Re: How to set GPIO42 on ESP32-S3 as normal GPIO output?

Either use gpio_config(), or call gpio_reset() on the pin before your code.