Search found 2240 matches

by chegewara
Sun Nov 19, 2017 6:52 pm
Forum: General Discussion
Topic: Many Problems : ESP32 communicate to RC522 with SPI
Replies: 2
Views: 4501

Re: Many Problems : ESP32 communicate to RC522 with SPI

I think this is the problem: return *(uint8_t*) t.rx_data; You need to set rx buffer and ther return that buffer address: uint8_t data; t.rx = &data; return data; // or return &data; // watever suits you Or issue may be here: void RC522_cmd(spi_device_handle_t spi, uint8_t cmd) { esp_err_t ret; spi_...
by chegewara
Sun Nov 19, 2017 6:34 pm
Forum: General Discussion
Topic: Project organization in eclipse and github
Replies: 2
Views: 4768

Re: Project organization in eclipse and github

1) I dont know if it is possible to organize project the way you pictured, but you can have many workspaces. You can create workspace BASE and in it you can create every single project which you need 2) Very easy. It does not matter where do you have your project in file system. For example, you can...
by chegewara
Fri Nov 17, 2017 4:07 pm
Forum: ESP32 Arduino
Topic: ESP32 boot time with Arduino
Replies: 6
Views: 13117

Re: ESP32 boot time with Arduino

This is not exactly answer on you question, but i think you may be interested. ESP32 has deep sleep mode and can be wake up by signal on gpio and ready to work faster than you need. http://esp-idf.readthedocs.io/en/v2.1/api-reference/system/deep_sleep.html?highlight=deep%20sleep http://esp-idf.readt...
by chegewara
Thu Nov 16, 2017 11:01 pm
Forum: Hardware
Topic: bootloader doesnt respond (manually bootloading)
Replies: 3
Views: 6179

Re: bootloader doesnt respond (manually bootloading)

Im having similar symptoms from time to time. Im playing with esp on vbox ubuntu 14, and only unplug device and plug again helps. Sometimes this does not help then i have to turn on manually bootloader mode under windows and then switch to ubuntu and flash app. In my case it is with devKitC rev1 i g...
by chegewara
Sun Nov 12, 2017 9:37 pm
Forum: General Discussion
Topic: "Big" Example Repo
Replies: 1
Views: 3319

Re: "Big" Example Repo

Maybe it not covers all topics you want but its more just than simple example:
https://github.com/nkolban/ESP32_Explorer
by chegewara
Thu Nov 09, 2017 11:09 am
Forum: General Discussion
Topic: project build with focus on bluetooth
Replies: 1
Views: 3284

Re: project build with focus on bluetooth

I think it may be good start for you https://leanpub.com/kolban-ESP32
by chegewara
Tue Nov 07, 2017 6:26 am
Forum: General Discussion
Topic: The latest idf compile download start problem?
Replies: 2
Views: 4306

Re: The latest idf compile download start problem?

What offset parameters have you setup in flash downloader for each bin file?
by chegewara
Mon Nov 06, 2017 11:03 am
Forum: General Discussion
Topic: Multiple libraries were found for "WiFi.h"
Replies: 1
Views: 19615

Re: Multiple libraries were found for "WiFi.h"

Unlucky it is that arduino is delivering library WiFi and another WiFi library is delivered with BLE stack created by Neil Kolban. If you dont plan to use BLE stack from Kolban then you can delete it from hardware/espressif/esp32/libraries/. Im not guarantee it will solve this issue but its my best ...
by chegewara
Mon Nov 06, 2017 10:54 am
Forum: General Discussion
Topic: esp32 compilation problems ?
Replies: 6
Views: 8372

Re: esp32 compilation problems ?

Most likely its becuse you didnt use --recursive flag when you git cloned and didnt update submodule. You are missing few submodules.
by chegewara
Sat Nov 04, 2017 6:59 am
Forum: General Discussion
Topic: Inter-task Communication: pass the same payload through more then two tasks
Replies: 7
Views: 9517

Re: Inter-task Communication: pass the same payload through more then two tasks

This may be not good idea, but did you think about freeRTOS notifications? It has less footprint in ram usage. Let say you have task which is blocked until button is pushed. That task can keep pointers to all tasks you want to receive message about this event. Now, when button is pushed you can send...