Search found 7 matches

by lchazall
Tue Mar 14, 2017 2:26 pm
Forum: ESP-IDF
Topic: SPI master RX
Replies: 3
Views: 8522

Re: SPI master RX

Thank you for answering. The bug disappeared, I do not know how and I do not use any version control manager. I was using spi_device_transmit function which is supposed to be blocking my code till transaction is done. I cannot figure out what was the problem. Now my problem is about receiving via SP...
by lchazall
Mon Mar 13, 2017 4:18 pm
Forum: ESP-IDF
Topic: SPI master RX
Replies: 3
Views: 8522

SPI master RX

Hi, I am currently trying to use SPI master driver. With the help of esp-idf examples I succeeded sending my command. However, they do not provide examples for reading from buffer. To do it myself I configured my transaction structure like this : static spi_transaction_t trans; trans.flags = 0; // B...
by lchazall
Fri Feb 17, 2017 10:50 am
Forum: ESP-IDF
Topic: Updating wifi conf while running
Replies: 3
Views: 6604

Re: Updating wifi conf while running

I solved this by myself.

I Just have to set config and then connect ... As simple as that.
by lchazall
Thu Feb 16, 2017 5:52 pm
Forum: ESP-IDF
Topic: Updating wifi conf while running
Replies: 3
Views: 6604

Updating wifi conf while running

Hello, I am trying to configure the esp32 as a station remotely. So I first set the ESP32 as an access point, in order to get the SSID and the key (of a router) from a user interface. Then, I want to connect to this router but without restarting wifi (just starting station), in order to give a feedb...
by lchazall
Fri Dec 02, 2016 9:43 am
Forum: ESP-IDF
Topic: Static library - call target out of range
Replies: 5
Views: 11120

Re: Static library - call target out of range

Hi,

Compiling the third party lib with the "-mlongcalls" option did the job.
Thank you for your help.
by lchazall
Wed Nov 23, 2016 11:47 am
Forum: ESP-IDF
Topic: Static library - call target out of range
Replies: 5
Views: 11120

Re: Static library - call target out of range

Thank you for your answer.

The lib is provided by a third party.
Do they have to recompile with specific options ? if so, which ones ?
Or how can I compile my project without recompiling this lib ?
by lchazall
Wed Nov 23, 2016 10:05 am
Forum: ESP-IDF
Topic: Static library - call target out of range
Replies: 5
Views: 11120

Static library - call target out of range

Hi, I am having trouble compiling a project which is including a static library (a ".a" file). When I make the project I get those two errors : componentpath/lib/xtensa-esp32-elf/mylib.a(user.o): In function `delete_user': user.c:(.text.delete_user+0x5): dangerous relocation: call8: call target out ...