Various small formatting and wording changes in Linux demo

This commit is contained in:
Cobus van Eeden 2020-09-08 20:51:54 -07:00
parent 8ada8156e0
commit c0df730de7
4 changed files with 24 additions and 26 deletions

View file

@ -27,19 +27,18 @@
/******************************************************************************
* This project provides three demo applications. A simple blinky style project,
* a more comprehensive test and demo application, and a TCP echo application.
* a more comprehensive test and demo application, and a TCP echo demo.
* The mainSELECTED_APPLICATION setting is used to select between
* the three
*
* if mainSELECTED_APPLICATION is BLINKY_DEMO.
* If mainSELECTED_APPLICATION = BLINKY_DEMO the simple blinky demo will be built.
* The simply blinky demo is implemented and described in main_blinky.c.
*
* The more comprehensive test and demo application is implemented
* and described in main_full.c and activated by
* setting mainSELECTED_APPLICATION FULL_DEMO.
* If mainSELECTED_APPLICATION = FULL_DEMO the more comprehensive test and demo
* application built. This is implemented and described in main_full.c.
*
* The ECHO_CLIENT_DEMO setting is used to select the tcp echo
* application implemeted in main_networking.c
* If mainSELECTED_APPLICATION = ECHO_CLIENT_DEMO the tcp echo demo will be built.
* This is implemented and described in main_networking.c
*
* This file implements the code that is not demo specific, including the
* hardware setup and FreeRTOS hook functions.
@ -197,13 +196,12 @@ void vApplicationIdleHook( void )
because it is the responsibility of the idle task to clean up memory
allocated by the kernel to any task that has since deleted itself. */
sleep( 1 );
#if ( mainSELECTED_APPLICATION == FULL_DEMO )
{
/* Call the idle task processing used by the full demo. The simple
blinky demo does not use the idle task hook. */
/* vFullDemoIdleFunction(); */
vFullDemoIdleFunction();
}
#endif
}

View file

@ -30,7 +30,7 @@
* this demo application. Also, the timing information in the FreeRTOS+Trace
* logs have no meaningful units. See the documentation page for the Linux
* port for further information:
* https://freertos-wordpress.corp.amazon.com/FreeRTOS-simulator-for-Linux.html
* https://freertos.org/FreeRTOS-simulator-for-Linux.html
*
* NOTE 2: This project provides two demo applications. A simple blinky style
* project, and a more comprehensive test and demo application. The
@ -77,7 +77,7 @@
* NOTE: Console input and output relies on Linux system calls, which can
* interfere with the execution of the FreeRTOS Linux port. This demo only
* uses Linux system call occasionally. Heavier use of Linux system calls
* can crash the port.
* may crash the port.
*/
#include <stdio.h>

View file

@ -27,8 +27,8 @@
/*
*******************************************************************************
* NOTE 1: The Win32 port is a simulation (or is that emulation?) only! Do not
* expect to get real time behaviour from the Win32 port or this demo
* NOTE 1: The Linux port is a simulation (or is that emulation?) only! Do not
* expect to get real time behaviour from the Linux port or this demo
* application. It is provided as a convenient development and demonstration
* test bed only.
*
@ -224,7 +224,7 @@ int main_full( void )
vStartMessageBufferTasks( configMINIMAL_STACK_SIZE );
/* vStartStreamBufferTasks(); */
/* vStartStreamBufferInterruptDemo(); */
vStartMessageBufferAMPTasks( configMINIMAL_STACK_SIZE );
/* vStartMessageBufferAMPTasks( configMINIMAL_STACK_SIZE ); */
#if( configSUPPORT_STATIC_ALLOCATION == 1 )
{

View file

@ -158,7 +158,7 @@ const uint32_t ulLongTime_ms = pdMS_TO_TICKS( 1000UL );
there was insufficient FreeRTOS heap memory available for the idle and/or
timer tasks to be created. See the memory management section on the
FreeRTOS web site for more details (this is standard text that is not not
really applicable to the Win32 simulator port). */
really applicable to the Linux simulator port). */
for( ; ; )
{
usleep( ulLongTime_ms * 1000 );