Hi Rocketmagnet,
I am able to run the static allocation example above without problem. This pull request is the modification I made to run the example in FreeRTOS-Community-Supported-Demos.
Example result from uart:
TestTasks()
Task 1 created OK
Task 2 created OK
Task1
Task2
0 0 0
1 1 0
2 2 0
3 3 0
4 3 0
5 4 0
6 5 0
7 6 0
8 6 0
9 7 0
10 8 0
11 9 0
12 9 0
13 10 0
14 11 0
The pico SDK I used to run this demo is v1.4.0.
2e6142b | 2022-06-29 | graham sanderson | SDK 1.4.0 release
Can you also give it a try to see if we can have the same result?
Also share my setup to debug RP2040 in windows.
I use another Raspberry Pi as a debug probe to debug RP2040 and run a GDB server on it. Then I can use GDB client in windows to connect to GDB server. If this looks convenient to you, you can reference this blog to setup the Raspberry Pi and connect to RP2040.