Search found 56 matches

by MartyMacGyver
Wed Sep 27, 2017 7:59 pm
Forum: ESP-IDF
Topic: undefined reference to memcpy, memmove, memset, ...
Replies: 14
Views: 9940

Re: undefined reference to memcpy, memmove, memset, ...

Yes, that's what I learned after I got the same undefined reference error the original poster got.

Had I included string.h (or something else that includes it) I'd never have had reason to look for this answer. That said, it didn't occur to me to look at the Linux man pages for this problem.
by MartyMacGyver
Wed Sep 27, 2017 10:45 am
Forum: ESP-IDF
Topic: undefined reference to memcpy, memmove, memset, ...
Replies: 14
Views: 9940

Re: undefined reference to memcpy, memmove, memset, ...

Followup: Given there are demo esp-idf apps that presumably build OK, I looked at the includes of a simple one. By process of elimination I found that `#include <string.h>` fixes the problem. A deeper search through the msys32 cross-compiler installation reveals that only /usr/include/string.h (and ...
by MartyMacGyver
Wed Sep 27, 2017 10:09 am
Forum: ESP-IDF
Topic: undefined reference to memcpy, memmove, memset, ...
Replies: 14
Views: 9940

Re: undefined reference to memcpy, memmove, memset, ...

What's the status of this issue? I was on a version of the IDF from about 3 weeks back and just stumbled on this (decided to use memset()). It failed to build in the IDF even after doing `make clean` first. I updated to the very latest (including the newer toolchain) - same process, same issue: /ESP...
by MartyMacGyver
Fri Sep 22, 2017 7:34 am
Forum: General Discussion
Topic: Program compiled with Arduino-ESP32 runs noticeably faster than the same thing on ESP-IDF - why?
Replies: 6
Views: 4511

Re: Program compiled with Arduino-ESP32 runs noticeably faster than the same thing on ESP-IDF - why?

permal wrote:Also enable release build in menuconfig, otherwise you'll flash code made for debugging and it is sometimes considerably slower than the optimized version.
In this case it was all about the settings I noted, but yes, this was something I tried changing previously (to no noticeable effect).
by MartyMacGyver
Fri Sep 22, 2017 7:32 am
Forum: General Discussion
Topic: Program compiled with Arduino-ESP32 runs noticeably faster than the same thing on ESP-IDF - why?
Replies: 6
Views: 4511

Re: Program compiled with Arduino-ESP32 runs noticeably faster than the same thing on ESP-IDF - why?

loboris wrote:You can add the default settings to sdkconfig.defaults file in your project directory.
Perfect! Thanks for the tip!
by MartyMacGyver
Fri Sep 22, 2017 12:28 am
Forum: General Discussion
Topic: Program compiled with Arduino-ESP32 runs noticeably faster than the same thing on ESP-IDF - why?
Replies: 6
Views: 4511

Re: Program compiled with Arduino-ESP32 runs noticeably faster than the same thing on ESP-IDF - why?

Could it perhaps be because the clock frequency actually is different? Not sure how you set it in the arduino environment, but in esp-idf, you can set it using 'make menuconfig' and by default it is set to 160MHz. Doubly odd: I never got a notification for this subscribed thread, and the reply I po...
by MartyMacGyver
Wed Sep 20, 2017 6:41 am
Forum: General Discussion
Topic: Program compiled with Arduino-ESP32 runs noticeably faster than the same thing on ESP-IDF - why?
Replies: 6
Views: 4511

Program compiled with Arduino-ESP32 runs noticeably faster than the same thing on ESP-IDF - why?

I am working on a feature for a library I maintain, to use multiple RMT channels to control multiple digital RGB LED strands. The current feature work is here: https://github.com/MartyMacGyver/ESP32-Digital-RGB-LED-Drivers/tree/feature-multistrand Note: Eventually that work will be merged and the br...
by MartyMacGyver
Fri Sep 01, 2017 11:56 pm
Forum: ESP-IDF
Topic: RMT interface not working after last update SDK
Replies: 8
Views: 5120

Re: RMT interface not working after last update SDK

BuddyCasino wrote:And I was wondering why it kept crashing. Thanks, that was a life saver!
Was it actually crashing or just not working? I hadn't seen crashes though I hope it's all good now!
by MartyMacGyver
Fri Sep 01, 2017 7:41 am
Forum: ESP-IDF
Topic: RMT interface not working after last update SDK
Replies: 8
Views: 5120

Re: RMT interface not working after last update SDK

FYI, I've opened a bug against the esp-idf - not sure if it's a bug there or something that requires a bit more code on our part to enable. https://github.com/espressif/esp-idf/issues/949 Edit: And I think it's resolved by a user code change (that is, I don't think the IDF is broken). See the issue ...
by MartyMacGyver
Mon Jun 05, 2017 7:03 am
Forum: ESP32 Arduino
Topic: How-to: Building esptool.py into esptool.exe in Windows
Replies: 2
Views: 14566

Re: How-to: Building esptool.py into esptool.exe in Windows

>>(the packager doesn't work right with Python 3.6 yet) Is this still a problem with 3.6.1 ? Evidently pyinstaller is taking a long time getting up-to-date: https://github.com/pyinstaller/pyinstaller/issues/2331 However ... as I have MS Visual C 2010 installed from some long-ago project, I was able...

Go to advanced search