xSemaphoreCreateBinary does not work across two cpu
Posted: Tue Feb 05, 2019 10:52 am
Hi,
I am running this example
https://github.com/espressif/esp-idf/bl ... ple_main.c
Driver uninstalled never gets executed.
If I use CPU=1
xTaskCreatePinnedToCore(tx_task, "CAN_tx", 4096, NULL, TX_TASK_PRIO, NULL, 1);
xTaskCreatePinnedToCore(ctrl_task, "CAN_ctrl", 4096, NULL, CTRL_TASK_PRIO, NULL, 1);
It works. but with same cpu = 0 . This examples also does not work.
xTaskCreatePinnedToCore(tx_task, "CAN_tx", 4096, NULL, TX_TASK_PRIO, NULL, 0);
xTaskCreatePinnedToCore(ctrl_task, "CAN_ctrl", 4096, NULL, CTRL_TASK_PRIO, NULL, 0);
Any idea?
I am running this example
https://github.com/espressif/esp-idf/bl ... ple_main.c
Driver uninstalled never gets executed.
If I use CPU=1
xTaskCreatePinnedToCore(tx_task, "CAN_tx", 4096, NULL, TX_TASK_PRIO, NULL, 1);
xTaskCreatePinnedToCore(ctrl_task, "CAN_ctrl", 4096, NULL, CTRL_TASK_PRIO, NULL, 1);
It works. but with same cpu = 0 . This examples also does not work.
xTaskCreatePinnedToCore(tx_task, "CAN_tx", 4096, NULL, TX_TASK_PRIO, NULL, 0);
xTaskCreatePinnedToCore(ctrl_task, "CAN_ctrl", 4096, NULL, CTRL_TASK_PRIO, NULL, 0);
Any idea?