I started using FreeRTOS on Cortex M3 NXP 1766. I found example projects:
Now I’m trying to modify the source code to control leds on board.
I took Example 1. I removed the creation of Task2. I modified Task1 by addong following lines:
for( ;; )
/* Print out the name of this task. */
vPrintString( pcTaskName );
LPC_GPIO1->FIODIR = 0xB0000000; /* LEDs on PORT1 defined as Output */
LPC_GPIO2->FIODIR = 0x0000007C; /* LEDs on PORT2 defined as Output */
After executing these instruction, leds should stop shining (after RESET they are normally on). But it doesn’t work. Am I doing something wrong?