Search found 606 matches

by fly135
Wed Apr 17, 2019 5:01 pm
Forum: ESP-IDF
Topic: (resolved) I2C call panicking system
Replies: 29
Views: 27093

Re: I2C call panicking system

Looks to me like you are writing outside of allocated memory. What's the function prototype for readReg?
by fly135
Wed Apr 17, 2019 12:43 am
Forum: General Discussion
Topic: make command to compile library (ESP32 setting windows)
Replies: 3
Views: 4956

Re: make command to compile library (ESP32 setting windows)

Let me help you out with that...

viewtopic.php?f=13&t=9798
Need to do these two things in win10, as it appear the requirements script doesn't work correctly on 10 with IDF v3.1.1

pacman -S mingw-w64-i686-python2-cryptography
pacman -S mingw-w64-i686-python2-enum
by fly135
Tue Apr 16, 2019 9:35 pm
Forum: ESP-IDF
Topic: (resolved) is there a way to make a function uninterruptible?
Replies: 10
Views: 11892

Re: is there a way to make a function uninterruptible?

Excellent...thanks. The wording in the FreeRTOS doc is a little odd: Calls to taskENTER_CRITICAL() and taskEXIT_CRITICAL() are designed to nest. Therefore, a critical section will only be exited when one call to taskEXIT_CRITICAL() has been executed for every preceding call to taskENTER_CRITICAL()....
by fly135
Tue Apr 16, 2019 5:48 pm
Forum: ESP-IDF
Topic: (resolved) is there a way to make a function uninterruptible?
Replies: 10
Views: 11892

Re: is there a way to make a function uninterruptible?

This was just posted in the General discussion....

viewtopic.php?f=2&t=10149

John A
by fly135
Tue Apr 16, 2019 5:09 pm
Forum: ESP-IDF
Topic: DAC work reverse
Replies: 2
Views: 3550

Re: DAC work reverse

Other than being surprised that HTML like constructs compile ok, I'm going with the tilde. :lol:
by fly135
Tue Apr 16, 2019 3:36 pm
Forum: General Discussion
Topic: Static variable (NVS handle) in a file getting overwritten
Replies: 1
Views: 2824

Re: Static variable (NVS handle) in a file getting overwritten

The most obvious answer is that you are writing past the end of cHex.
by fly135
Fri Apr 12, 2019 7:17 pm
Forum: Hardware
Topic: ESP32 can't talk to LAN8270 <SOLVED>
Replies: 3
Views: 8502

Re: ESP32 can't talk to LAN8270 <SOLVED>

I just got my long awaited LAN8720 module and wanted to make it work with my network. Can you share the code or point to good example? Also any advices ? Thanks I just used the IDF .../examples/ethernet/ethernet The only thing that caused me a problem was the default PHY address was 31 and I figure...
by fly135
Fri Apr 12, 2019 6:32 pm
Forum: General Discussion
Topic: Create define for build question
Replies: 2
Views: 3434

Re: Create define for build question

To make project-wide changes, add a Makefile.projbuild file to one of your components (alongside component.mk), that sets "CPPFLAGS += -Dxyz" (Note that these are a blunt instrument as they will also change all IDF source file compiler flags. Sparing use is recommended.) The guy who's going to auto...
by fly135
Thu Apr 11, 2019 5:45 pm
Forum: ESP-IDF
Topic: ESP32 Unable to get IP from Server in Native_OTA
Replies: 2
Views: 4085

Re: ESP32 Unable to get IP from Server in Native_OTA

Put some debug prints in the event handler for SYSTEM_EVENT_STA_DISCONNECTED. More specifically see if you are getting that event and print the reason code.

John A
by fly135
Thu Apr 11, 2019 5:42 pm
Forum: General Discussion
Topic: Create define for build question
Replies: 2
Views: 3434

Create define for build question

I want to be able to dynamically create a define for builds. I'm planning to have a build script that will write... CXXFLAGS=-Dmydefine to a component.mk file. If i write it in my root project directory it seems to do nothing. If I write to my main project subdirectory it works, but doesn't work in ...