AnsweredAssumed Answered

How to run code on multiple cores?

Question asked by stevenstarnes on Dec 5, 2017
Latest reply on Jan 7, 2018 by Yiping Wang

Hello I am trying to figure out how to run specific sections of code on different cores. I have created a barebones project for the B4860 to get used to the CodeWarrior IDE. I selected my startup core to be Core 0 and when I run the code the printf() statement shows that is the correct core. Now I would like to run the same printf statement on a different core because I will need to do this with more complicated code later but the idea is the same. I know for Linux/Windows you can set affinity but since this is "barebones" I am not sure what I need to do? Do I need to create a process on a separate core in assembly? Any help is appreciated.