summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/Posix_GCC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/Posix_GCC/main.c')
-rw-r--r--FreeRTOS/Demo/Posix_GCC/main.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/FreeRTOS/Demo/Posix_GCC/main.c b/FreeRTOS/Demo/Posix_GCC/main.c
index 6bcc07e3e..e3d522e48 100644
--- a/FreeRTOS/Demo/Posix_GCC/main.c
+++ b/FreeRTOS/Demo/Posix_GCC/main.c
@@ -36,9 +36,6 @@
* If mainSELECTED_APPLICATION = FULL_DEMO the more comprehensive test and demo
* application built. This is implemented and described in main_full.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.
*
@@ -68,9 +65,8 @@
#define BLINKY_DEMO 0
#define FULL_DEMO 1
-#define ECHO_CLIENT_DEMO 2
-#define mainSELECTED_APPLICATION FULL_DEMO
+#define mainSELECTED_APPLICATION BLINKY_DEMO
/* This demo uses heap_3.c (the libc provided malloc() and free()). */
@@ -140,12 +136,7 @@ int main( void )
#endif
console_init();
- #if ( mainSELECTED_APPLICATION == ECHO_CLIENT_DEMO )
- {
- console_print("Starting echo client demo\n");
- main_tcp_echo_client_tasks();
- }
- #elif ( mainSELECTED_APPLICATION == BLINKY_DEMO )
+ #if ( mainSELECTED_APPLICATION == BLINKY_DEMO )
{
console_print("Starting echo blinky demo\n");
main_blinky();
@@ -193,7 +184,7 @@ void vApplicationIdleHook( void )
vTaskDelete() API function to delete themselves then it is also important
that vApplicationIdleHook() is permitted to return to its calling function,
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. */
+ allocated by the kernel to any task that has since deleted itself. */
usleep(15000);