개발 관련 이야기/ESP32개발
ESP32 / 아두이노IDE) 듀얼코어, xTaskCreatePinnedToCore함수
오픈서포트
2020. 7. 8. 11:06
randomnerdtutorials.com/esp32-dual-core-arduino-ide/
ESP32 Dual Core with Arduino IDE | Random Nerd Tutorials
The ESP32 is dual core: it comes with 2 microprocessors. In this article we'll show you how to use both ESP32 cores using Arduino IDE by creating tasks.
randomnerdtutorials.com
=> In summary:
- The ESP32 is dual core;
- Arduino sketches run on core 1 by default;
- To use core 0 you need to create tasks;
- You can use the xTaskCreatePinnedToCore() function to pin a specific task to a specific core;
- Using this method you can run two different tasks independently and simultaneously using the two cores.