Search found 268 matches

by urbanze
Tue Sep 12, 2017 4:30 pm
Forum: ESP-IDF
Topic: IDF Component
Replies: 4
Views: 2556

Re: IDF Component

I'm of a mind set that says if the developer of a library says "call XYZ()" before using the library then I had better "call XYZ()" before using it. I'm afraid I'm missing the notion of even asking the question "Why are we calling XYZ()"? My doctor told me, "Don't drink grapefruit juice while takin...
by urbanze
Tue Sep 12, 2017 12:03 pm
Forum: ESP-IDF
Topic: IDF Component
Replies: 4
Views: 2556

Re: IDF Component

When I read docs and the developer provides "instructions" on how to setup, I usually trust their judgement on what that means. If we look at the following source code: https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-misc.c#L80 We see what initArduino() apparently does....
by urbanze
Tue Sep 12, 2017 2:14 am
Forum: ESP-IDF
Topic: IDF Component
Replies: 4
Views: 2556

IDF Component

Hi guys! I have a big simple question. Why in IDF Component tutorial (https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md) , if I don't select arduino auto start , I need to put "InitArduino()" in app_main, why? What that do? I try with and without this function, and bot...
by urbanze
Mon Jun 12, 2017 2:37 pm
Forum: ESP-IDF
Topic: Dual core
Replies: 18
Views: 12060

Re: Dual core

@urbanze, A question if I may. Do you really need "dual core" or do you need "multi task"? What is the nature of your solution where you think you need to harness the power of dual core processors as opposed to a potential logical design where your design calls for multi-tasking? You can run multip...
by urbanze
Mon Jun 12, 2017 2:34 pm
Forum: ESP-IDF
Topic: Dual core
Replies: 18
Views: 12060

Re: Dual core

thanks! if i not use this functions, the code is usually run in core 0? core 1? or in two in same time? any datasheet for this informations? Hi, If you have looked into make menuconfig configurations for your application then there is one options defined into configuration like "[*] Run FreeRTOS on...
by urbanze
Mon Jun 12, 2017 1:44 am
Forum: ESP-IDF
Topic: Dual core
Replies: 18
Views: 12060

Re: Dual core

As per my understanding, By default if you will directly use xTaskCreate API then it will create task for CPU1 as CPU0 is dedicated for WiFi and Bluetooth by default. No it will create task with no affinity meaning it will run on either core, whichever is available. and, if i want to call a X funct...
by urbanze
Sun Jun 11, 2017 10:05 pm
Forum: ESP-IDF
Topic: Dual core
Replies: 18
Views: 12060

Re: Dual core

thanks!

if i not use this functions, the code is usually run in core 0? core 1? or in two in same time? any datasheet for this informations?
by urbanze
Sat Jun 10, 2017 9:58 pm
Forum: ESP-IDF
Topic: Dual core
Replies: 18
Views: 12060

Dual core

Hello guys! i buy esp32 and need to know how to use dual core with arduino ide. i need to create a simillar structure, like this:

void setup1()
void loop1()


void setup2()
void loop2()

how? thanks! :D

Go to advanced search