Is it possible multicore programming on T4.1?

Sandro

Well-known member
Hi all,
after haveing successfuly tested multicore programming on a Raspberry Pi Pico, I wonder if Teensy T4.1 allows to separately address the cores; I didn't find even a mention about this topic either here nor on the internet. So, I just tried this "brute-force" experiment, with Arduino IDE 2.2.1:
Code:
int a = 0;

void setup()
{
a = 100;
}

void setup1()
{
pinMode(LED_BUILTIN, OUTPUT);
}

void loop()
{
Serial.print("a:");
Serial.println(a++);
delay(100);
}

void loop1()
{
  digitalWrite(LED_BUILTIN, HIGH);
  delay(1000);
  digitalWrite(LED_BUILTIN, LOW);
  delay(1000);     
}

I was surprised that the code is compiled and uploaded without errors; but only setup() and loop() are executed, setup1() and loop1() are simply ignored...
Ok, it was only a super-naive experiment, but does anyone knows something about the possibility of multicore programming on Teensy 4.1?

Thanks a lot
 
Back
Top