int main( void ) { /* Initialise the trace recorder and create the label used to post user events to the trace recording on each tick interrupt. */ vTraceInitTraceData(); xTickTraceUserEvent = xTraceOpenLabel( "tick" ); /* Start the trace recording - the recording is written to a file if configASSERT() is called. */ printf( "\r\nTrace started. Hit a key to dump trace file to disk.\r\n" ); uiTraceStart(); /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if ( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 ) { main_blinky(); } #else { main_full(); } #endif return 0; }
int main( void ) { /* See http://www.freertos.org/RTOS-Xilinx-Zynq.html for instructions. */ /* Configure the hardware ready to run the demo. */ prvSetupHardware(); /* The mainSELECTED_APPLICATION setting is described at the top of this file. */ #if( mainSELECTED_APPLICATION == 0 ) { main_blinky(); } #elif( mainSELECTED_APPLICATION == 1 ) { main_full(); } #else { main_lwIP(); } #endif /* Don't expect to reach here. */ return 0; }
int main( void ) { /* * See the following link for instructions: * http://www.freertos.org/EFM32-Giant-Gecko-Pearl-Gecko-tickless-RTOS-demo.html */ /* Configure the hardware ready to run the demo. */ prvSetupHardware(); /* The mainCREATE_LOW_POWER_DEMO setting is described at the top of this file. */ #if( configCREATE_LOW_POWER_DEMO != 0 ) { main_low_power(); } #else { main_full(); } #endif /* Should not get here. */ return 0; }
int main( void ) { /* This demo uses heap_5.c, so start by defining some heap regions. This is only done to provide an example as this demo could easily create one large heap region instead of multiple smaller heap regions - in which case heap_4.c would be the more appropriate choice. No initialisation is required when heap_4.c is used. */ prvInitialiseHeap(); /* Initialise the trace recorder and create the label used to post user events to the trace recording on each tick interrupt. */ vTraceInitTraceData(); xTickTraceUserEvent = xTraceOpenLabel( "tick" ); /* Start the trace recording - the recording is written to a file if configASSERT() is called. */ printf( "\r\nTrace started. Hit a key to dump trace file to disk (does not work from Eclipse console).\r\n" ); fflush( stdout ); uiTraceStart(); /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if ( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 ) { main_blinky(); } #else { main_full(); } #endif return 0; }
int main( void ) { /* See http://www.freertos.org/Microchip_CEC1302_ARM_Cortex-M4F_Low_Power_Demo.html */ /* Configure the hardware ready to run the demo. */ prvSetupHardware(); /* The configCREATE_LOW_POWER_DEMO setting is described at the top of this file. */ #if( configCREATE_LOW_POWER_DEMO == 1 ) { /* The low power demo also demonstrated aggregated interrupts, so clear the interrupt control register to disable the alternative NVIC vectors. */ mainEC_INTERRUPT_CONTROL = pdFALSE; main_low_power(); } #else { /* The full demo also demonstrated disaggregated interrupts, so set the interrupt control register to enable the alternative NVIC vectors. */ mainEC_INTERRUPT_CONTROL = pdTRUE; main_full(); } #endif /* Should not get here. */ return 0; }
void main( void ) { /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 { main_blinky(); } #else { main_full(); } #endif }
int main (void) { /* Prepare the hardware for the demo. */ prvSetupHardware(); /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 { main_blinky(); } #else { main_full(); } #endif }
int main( void ) { /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 { main_blinky(); } #else { main_full(); } #endif /* Should not get here. See the definitions of main_blinky() and main_full(). */ return 0; }
void main( void ) { lcd_initialize(); lcd_display( LCD_LINE1, "FreeRTOS" ); /* The configCREATE_LOW_POWER_DEMO setting is described in FreeRTOSConfig.h. */ #if configCREATE_LOW_POWER_DEMO == 1 { lcd_display( LCD_LINE2, "LP Demo" ); main_low_power(); } #else { lcd_display( LCD_LINE2, "Ful Demo" ); main_full(); } #endif }
/* See the documentation page for this demo on the FreeRTOS.org web site for full information - including hardware setup requirements. */ int main( void ) { /* Prepare the hardware to run this demo. */ prvSetupHardware(); /* The configCREATE_LOW_POWER_DEMO setting is described at the top of this file. */ #if configCREATE_LOW_POWER_DEMO == 1 { main_low_power(); } #else { main_full(); } #endif return 0; }
/* See http://www.freertos.org/RX231_RTOS_Renesas_GCC_IAR.html */ int main( void ) { /* Configure the hardware ready to run the demo. */ prvSetupHardware(); /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 ) { main_blinky(); } #else { main_full(); } #endif return 0; }
int main( void ) { /* Configure the hardware ready to run the demo. */ prvSetupHardware(); /* The configCREATE_LOW_POWER_DEMO setting is described at the top of this file. */ #if( configCREATE_LOW_POWER_DEMO == 1 ) { main_low_power(); } #else { main_full(); } #endif /* Should not get here. */ return 0; }
int main( void ) { /* Configure the hardware ready to run the demo. */ prvSetupHardware(); /* The mainSELECTED_APPLICATION setting is described at the top of this file. */ #if( mainSELECTED_APPLICATION == 0 ) { main_blinky(); } #elif( mainSELECTED_APPLICATION == 1 ) { main_full(); } #endif /* Don't expect to reach here. */ return 0; }
void main( void ) { /* Call the Renesas provided setup. */ vHardwareSetup(); lcd_initialize(); lcd_display( LCD_LINE1, "FreeRTOS" ); /* The configCREATE_LOW_POWER_DEMO setting is described in FreeRTOSConfig.h. */ #if configCREATE_LOW_POWER_DEMO == 1 { lcd_display( LCD_LINE2, "LP Demo" ); main_low_power(); } #else { lcd_display( LCD_LINE2, "Ful Demo" ); main_full(); } #endif }
int main( void ) { /* See http://www.FreeRTOS.org/TI_MSP432_Free_RTOS_Demo.html for instructions. */ /* Prepare the hardware to run this demo. */ prvSetupHardware(); /* The configCREATE_SIMPLE_TICKLESS_DEMO setting is described at the top of this file. */ #if( configCREATE_SIMPLE_TICKLESS_DEMO == 1 ) { main_blinky(); } #else { main_full(); } #endif return 0; }
int main( void ) { /* See http://www.FreeRTOS.org/MSP430FR5969_Free_RTOS_Demo.html */ /* Configure the hardware ready to run the demo. */ prvSetupHardware(); /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 ) { main_blinky(); } #else { main_full(); } #endif return 0; }
int main( void ) { /* Prepare the hardware to run this demo. */ prvSetupHardware(); /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if ( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 ) { main_blinky(); } #else { /* Full user instructions are provided on the following URL: http://www.FreeRTOS.org/Atmel_SAM4E_RTOS_Demo.html */ main_full(); } #endif /* mainCREATE_SIMPLE_BLINKY_DEMO_ONLY */ return 0; }
int main( void ) { /* See http://www.FreeRTOS.org/RTOS-Xilinx-UltraScale_MPSoC_64-bit.html for additional information on this demo. */ /* Configure the hardware ready to run the demo. */ prvSetupHardware(); /* The mainSELECTED_APPLICATION setting is described at the top of this file. */ #if( mainSELECTED_APPLICATION == 0 ) { main_blinky(); } #elif( mainSELECTED_APPLICATION == 1 ) { main_full(); } #endif /* Don't expect to reach here. */ return 0; }
/* See http://www.freertos.org/Renesas_RZ-T_Cortex-R4F-RTOS.html */ int main( void ) { /* The start up code does not include a routine to clear the BSS segment to 0 (as would be normal before calling main()), so the BSS is cleared manually using the following function. */ prvClearBSS(); /* Configure the hardware ready to run the demo. */ R_Systeminit(); /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 ) { main_blinky(); } #else { main_full(); } #endif return 0; }
/* See http://www.FreeRTOS.org/RTOS_Intel_Quark_Galileo_GCC.html for usage instructions. */ int main( void ) { /* Optionally wait for a debugger to connect. */ prvLoopToWaitForDebugConnection(); /* Init the UART, GPIO, etc. */ prvSetupHardware(); /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top of this file. */ #if( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 ) { screen_puts( "Running main_blinky().\n" ); main_blinky(); } #else { screen_puts( "Running main_full().\n" ); main_full(); } #endif return 0; }