From eb87d247f9d46a05e8b4623abcc58b9fe28696a0 Mon Sep 17 00:00:00 2001 From: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com> Date: Fri, 21 Feb 2020 11:37:44 -0800 Subject: [PATCH] After this commit, this repository contains only POSIX source code. --- .../include/FreeRTOS_POSIX.h | 0 .../include/FreeRTOS_POSIX_internal.h | 0 .../include/FreeRTOS_POSIX_types.h | 0 .../FreeRTOS_POSIX_portable_default.h | 0 .../FreeRTOS_POSIX_portable.h | 0 .../FreeRTOS_POSIX_portable.h | 0 .../FreeRTOS_POSIX_portable.h | 0 .../pc/windows/FreeRTOS_POSIX_portable.h | 0 .../FreeRTOS_POSIX_portable.h | 0 .../FreeRTOS_POSIX_portable.h | 0 .../source/FreeRTOS_POSIX_clock.c | 0 .../source/FreeRTOS_POSIX_mqueue.c | 0 .../source/FreeRTOS_POSIX_pthread.c | 0 .../source/FreeRTOS_POSIX_pthread_barrier.c | 0 .../source/FreeRTOS_POSIX_pthread_cond.c | 0 .../source/FreeRTOS_POSIX_pthread_mutex.c | 0 .../source/FreeRTOS_POSIX_sched.c | 0 .../source/FreeRTOS_POSIX_semaphore.c | 0 .../source/FreeRTOS_POSIX_timer.c | 0 .../source/FreeRTOS_POSIX_unistd.c | 0 .../source/FreeRTOS_POSIX_utils.c | 0 .../FreeRTOSConfig.h | 119 ------ .../FreeRTOS_Plus_POSIX_with_actor.sln | 25 -- .../WIN32.vcxproj | 184 --------- .../WIN32.vcxproj.filters | 174 -------- .../WIN32.vcxproj.user | 3 - .../main.c | 197 --------- .../posix_demo.c | 374 ------------------ .../posix_demo.h | 32 -- .../readme.txt | 6 - FreeRTOS-Plus/Demo/readme.txt | 9 - FreeRTOS/License/license.txt | 37 -- FreeRTOS/Source | 1 - ...nks_to_doc_pages_for_the_demo_projects.url | 5 - FreeRTOS/readme.txt | 21 - .../FreeRTOS_POSIX/errno.h | 0 .../FreeRTOS_POSIX/fcntl.h | 0 .../FreeRTOS_POSIX/mqueue.h | 0 .../FreeRTOS_POSIX/pthread.h | 0 .../FreeRTOS_POSIX/sched.h | 0 .../FreeRTOS_POSIX/semaphore.h | 0 .../FreeRTOS_POSIX/signal.h | 0 .../FreeRTOS_POSIX/sys/types.h | 0 .../include => include}/FreeRTOS_POSIX/time.h | 0 .../FreeRTOS_POSIX/unistd.h | 0 .../FreeRTOS_POSIX/utils.h | 0 .../private/iot_doubly_linked_list.h | 0 47 files changed, 1187 deletions(-) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/FreeRTOS_POSIX.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/FreeRTOS_POSIX_internal.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/FreeRTOS_POSIX_types.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/portable/FreeRTOS_POSIX_portable_default.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/portable/espressif/esp32_devkitc_esp_wrover_kit/FreeRTOS_POSIX_portable.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/portable/microchip/curiosity_pic32mzef/FreeRTOS_POSIX_portable.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/portable/nxp/lpc54018iotmodule/FreeRTOS_POSIX_portable.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/portable/pc/windows/FreeRTOS_POSIX_portable.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/portable/st/stm32l475_discovery/FreeRTOS_POSIX_portable.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/include/portable/ti/cc3220_launchpad/FreeRTOS_POSIX_portable.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_clock.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_mqueue.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_pthread.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_pthread_barrier.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_pthread_cond.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_pthread_mutex.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_sched.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_semaphore.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_timer.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_unistd.c (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX => FreeRTOS-Plus-POSIX}/source/FreeRTOS_POSIX_utils.c (100%) delete mode 100755 FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/FreeRTOSConfig.h delete mode 100755 FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/FreeRTOS_Plus_POSIX_with_actor.sln delete mode 100755 FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj delete mode 100755 FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj.filters delete mode 100755 FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj.user delete mode 100755 FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/main.c delete mode 100755 FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/posix_demo.c delete mode 100755 FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/posix_demo.h delete mode 100755 FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/readme.txt delete mode 100755 FreeRTOS-Plus/Demo/readme.txt delete mode 100755 FreeRTOS/License/license.txt delete mode 160000 FreeRTOS/Source delete mode 100755 FreeRTOS/links_to_doc_pages_for_the_demo_projects.url delete mode 100755 FreeRTOS/readme.txt rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/errno.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/fcntl.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/mqueue.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/pthread.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/sched.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/semaphore.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/signal.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/sys/types.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/time.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/unistd.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/FreeRTOS_POSIX/utils.h (100%) rename {FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include => include}/private/iot_doubly_linked_list.h (100%) diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX.h b/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX.h rename to FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_internal.h b/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_internal.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_internal.h rename to FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_internal.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_types.h b/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_types.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_types.h rename to FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_types.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/FreeRTOS_POSIX_portable_default.h b/FreeRTOS-Plus-POSIX/include/portable/FreeRTOS_POSIX_portable_default.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/FreeRTOS_POSIX_portable_default.h rename to FreeRTOS-Plus-POSIX/include/portable/FreeRTOS_POSIX_portable_default.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/espressif/esp32_devkitc_esp_wrover_kit/FreeRTOS_POSIX_portable.h b/FreeRTOS-Plus-POSIX/include/portable/espressif/esp32_devkitc_esp_wrover_kit/FreeRTOS_POSIX_portable.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/espressif/esp32_devkitc_esp_wrover_kit/FreeRTOS_POSIX_portable.h rename to FreeRTOS-Plus-POSIX/include/portable/espressif/esp32_devkitc_esp_wrover_kit/FreeRTOS_POSIX_portable.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/microchip/curiosity_pic32mzef/FreeRTOS_POSIX_portable.h b/FreeRTOS-Plus-POSIX/include/portable/microchip/curiosity_pic32mzef/FreeRTOS_POSIX_portable.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/microchip/curiosity_pic32mzef/FreeRTOS_POSIX_portable.h rename to FreeRTOS-Plus-POSIX/include/portable/microchip/curiosity_pic32mzef/FreeRTOS_POSIX_portable.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/nxp/lpc54018iotmodule/FreeRTOS_POSIX_portable.h b/FreeRTOS-Plus-POSIX/include/portable/nxp/lpc54018iotmodule/FreeRTOS_POSIX_portable.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/nxp/lpc54018iotmodule/FreeRTOS_POSIX_portable.h rename to FreeRTOS-Plus-POSIX/include/portable/nxp/lpc54018iotmodule/FreeRTOS_POSIX_portable.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/pc/windows/FreeRTOS_POSIX_portable.h b/FreeRTOS-Plus-POSIX/include/portable/pc/windows/FreeRTOS_POSIX_portable.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/pc/windows/FreeRTOS_POSIX_portable.h rename to FreeRTOS-Plus-POSIX/include/portable/pc/windows/FreeRTOS_POSIX_portable.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/st/stm32l475_discovery/FreeRTOS_POSIX_portable.h b/FreeRTOS-Plus-POSIX/include/portable/st/stm32l475_discovery/FreeRTOS_POSIX_portable.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/st/stm32l475_discovery/FreeRTOS_POSIX_portable.h rename to FreeRTOS-Plus-POSIX/include/portable/st/stm32l475_discovery/FreeRTOS_POSIX_portable.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/ti/cc3220_launchpad/FreeRTOS_POSIX_portable.h b/FreeRTOS-Plus-POSIX/include/portable/ti/cc3220_launchpad/FreeRTOS_POSIX_portable.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/include/portable/ti/cc3220_launchpad/FreeRTOS_POSIX_portable.h rename to FreeRTOS-Plus-POSIX/include/portable/ti/cc3220_launchpad/FreeRTOS_POSIX_portable.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_clock.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_clock.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_clock.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_clock.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_mqueue.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_mqueue.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_mqueue.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_mqueue.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_barrier.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_barrier.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_barrier.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_barrier.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_cond.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_cond.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_cond.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_cond.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_mutex.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_mutex.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_mutex.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread_mutex.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_sched.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_sched.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_sched.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_sched.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_semaphore.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_semaphore.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_semaphore.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_semaphore.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_timer.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_timer.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_timer.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_timer.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_unistd.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_unistd.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_unistd.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_unistd.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_utils.c b/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_utils.c similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_utils.c rename to FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_utils.c diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/FreeRTOSConfig.h b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/FreeRTOSConfig.h deleted file mode 100755 index d511e69..0000000 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/FreeRTOSConfig.h +++ /dev/null @@ -1,119 +0,0 @@ -/* - * FreeRTOS Kernel V10.0.1 - * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - * the Software, and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - * http://www.FreeRTOS.org - * http://aws.amazon.com/freertos - * - * 1 tab == 4 spaces! - */ - - -#ifndef FREERTOS_CONFIG_H -#define FREERTOS_CONFIG_H - -#include - -/*----------------------------------------------------------- - * Application specific definitions. - * - * These definitions should be adjusted for your particular hardware and - * application requirements. - * - * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE - * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. - * http://www.freertos.org/a00110.html - *----------------------------------------------------------*/ - -#define configUSE_PREEMPTION 1 -#define configTICK_RATE_HZ ( 1000 ) /* In this non-real time simulated environment the tick frequency has to be at least a multiple of the Win32 tick frequency, and therefore very slow. */ -#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 60 ) /* In this simulated case, the stack only has to hold one small structure as the real stack is part of the Win32 thread. */ -#define configMAX_TASK_NAME_LEN ( 7 ) -#define configUSE_TRACE_FACILITY 0 -#define configUSE_16_BIT_TICKS 0 -#define configIDLE_SHOULD_YIELD 1 -#define configUSE_CO_ROUTINES 0 -#define configUSE_MUTEXES 1 -#define configCHECK_FOR_STACK_OVERFLOW 0 /* Not applicable to the Win32 port. */ -#define configUSE_RECURSIVE_MUTEXES 1 -#define configQUEUE_REGISTRY_SIZE 0 -#define configUSE_APPLICATION_TASK_TAG 1 -#define configUSE_COUNTING_SEMAPHORES 1 -#define configUSE_ALTERNATIVE_API 0 - -#define configUSE_TIMERS 1 -#define configTIMER_TASK_PRIORITY 2 -#define configTIMER_QUEUE_LENGTH 20 -#define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 ) - -#define configMAX_PRIORITIES ( 7 ) -#define configMAX_CO_ROUTINE_PRIORITIES ( 2 ) - -/* Hook functions */ -#define configUSE_IDLE_HOOK 0 -#define configUSE_TICK_HOOK 0 -#define configUSE_MALLOC_FAILED_HOOK 1 - -/* Co-routine definitions. */ -#define configUSE_CO_ROUTINES 0 - -/* Set the following definitions to 1 to include the API function, or zero -to exclude the API function. */ -#define INCLUDE_vTaskPrioritySet 1 -#define INCLUDE_uxTaskPriorityGet 1 -#define INCLUDE_vTaskDelete 1 -#define INCLUDE_vTaskCleanUpResources 0 -#define INCLUDE_vTaskSuspend 1 -#define INCLUDE_vTaskDelayUntil 1 -#define INCLUDE_vTaskDelay 1 -#define INCLUDE_uxTaskGetStackHighWaterMark 1 -#define INCLUDE_xTaskGetSchedulerState 1 -#define INCLUDE_xTimerGetTimerTaskHandle 0 -#define INCLUDE_xTaskGetIdleTaskHandle 0 -#define INCLUDE_xQueueGetMutexHolder 1 -#define INCLUDE_eTaskGetState 1 -#define INCLUDE_xEventGroupSetBitsFromISR 1 -#define INCLUDE_xTimerPendFunctionCall 1 -#define INCLUDE_xTaskGetCurrentTaskHandle 1 -#define INCLUDE_xTaskAbortDelay 1 - -/* heap_4.c, */ -#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 2048U * 1024U ) ) - -/* Allow RTOS objects to be created using RAM provided by the application writer. */ -#define configSUPPORT_STATIC_ALLOCATION 1 - -/* Create RTOS objects using dynamically allocated RAM */ -#define configSUPPORT_DYNAMIC_ALLOCATION 1 - -/* This demo makes use of one or more example stats formatting functions. These -format the raw data provided by the uxTaskGetSystemState() function in to human -readable ASCII form. See the notes in the implementation of vTaskList() within -FreeRTOS/Source/tasks.c for limitations. */ -#define configUSE_STATS_FORMATTING_FUNCTIONS 1 - -/* Run time stats gathering definitions. */ -#define configGENERATE_RUN_TIME_STATS 0 - -/* Assert call defined for debug builds. */ -extern void vAssertCalled(const char * pcFile, uint32_t ulLine); -#define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled( __FILE__, __LINE__ ) - -#endif /* FREERTOS_CONFIG_H */ diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/FreeRTOS_Plus_POSIX_with_actor.sln b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/FreeRTOS_Plus_POSIX_with_actor.sln deleted file mode 100755 index 4443b91..0000000 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/FreeRTOS_Plus_POSIX_with_actor.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2050 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RTOS_POSIX_Demo", "WIN32.vcxproj", "{C686325E-3261-42F7-AEB1-DDE5280E1CEB}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C686325E-3261-42F7-AEB1-DDE5280E1CEB}.Debug|Win32.ActiveCfg = Debug|Win32 - {C686325E-3261-42F7-AEB1-DDE5280E1CEB}.Debug|Win32.Build.0 = Debug|Win32 - {C686325E-3261-42F7-AEB1-DDE5280E1CEB}.Release|Win32.ActiveCfg = Release|Win32 - {C686325E-3261-42F7-AEB1-DDE5280E1CEB}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {18112148-F9F0-43E0-B713-B146289BDEF3} - EndGlobalSection -EndGlobal diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj deleted file mode 100755 index e2b95db..0000000 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj +++ /dev/null @@ -1,184 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - {C686325E-3261-42F7-AEB1-DDE5280E1CEB} - RTOS_POSIX_Demo - - - - Application - false - MultiByte - v141 - - - Application - false - MultiByte - v141 - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - .\Debug\ - .\Debug\ - true - .\Release\ - .\Release\ - false - - - - .\Debug/WIN32.tlb - - - - - Disabled - ..\..\..\FreeRTOS\Source\include;..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\FreeRTOS-Plus\Demo\FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator\lib\FreeRTOS-Plus-POSIX\include\portable\pc\windows;..\..\..\FreeRTOS-Plus\Demo\FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator\lib\FreeRTOS-Plus-POSIX\include\portable;..\..\..\FreeRTOS-Plus\Demo\FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator\lib\FreeRTOS-Plus-POSIX\include;..\..\..\FreeRTOS-Plus\Demo\FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator\lib\FreeRTOS-Plus-POSIX\source;..\..\..\FreeRTOS-Plus\Demo\FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator\lib\include\private;..\..\..\FreeRTOS-Plus\Demo\FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator\lib\third_party\win_pcap;..\..\..\FreeRTOS-Plus\Demo\FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator\lib\include;..\..\..\FreeRTOS-Plus\Demo\FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator;..\..\..\FreeRTOS\Demo\Common\ethernet\lwip-1.4.0\ports\win32\WinPCap;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0500;WINVER=0x400;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - .\Debug/WIN32.pch - .\Debug/ - .\Debug/ - .\Debug/ - Level3 - true - false - EditAndContinue - - - _DEBUG;%(PreprocessorDefinitions) - 0x0c09 - - - .\Debug/RTOS_POSIX_demo.exe - true - true - .\Debug/WIN32.pdb - Console - MachineX86 - %(AdditionalDependencies) - - - false - - - true - .\Debug/WIN32.bsc - - - - - .\Release/WIN32.tlb - - - - - MaxSpeed - OnlyExplicitInline - _WINSOCKAPI_;WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - true - MultiThreaded - true - .\Release/WIN32.pch - .\Release/ - .\Release/ - .\Release/ - Level3 - true - ..\Common\Utils;..\Common\ethernet\lwip-1.4.0\ports\win32\WinPCap;..\Common\ethernet\lwip-1.4.0\src\include\ipv4;..\Common\ethernet\lwip-1.4.0\src\include;..\..\Source\include;..\..\Source\portable\MSVC-MingW;..\Common\ethernet\lwip-1.4.0\ports\win32\include;..\Common\Include;.\lwIP_Apps;.;%(AdditionalIncludeDirectories) - - - NDEBUG;%(PreprocessorDefinitions) - 0x0c09 - - - .\Release/RTOSDemo.exe - true - .\Release/WIN32.pdb - Console - MachineX86 - ..\Common\ethernet\lwip-1.4.0\ports\win32\WinPCap - wpcap.lib;%(AdditionalDependencies) - - - true - .\Release/WIN32.bsc - - - - - - - - - - - - - - - - - - - - - - - - %(AdditionalIncludeDirectories) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj.filters b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj.filters deleted file mode 100755 index 60e3a44..0000000 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj.filters +++ /dev/null @@ -1,174 +0,0 @@ - - - - - {34567deb-d5ab-4a56-8640-0aaec609521a} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {e3396fdf-de1f-4cb9-975c-673cb9315287} - - - {02f5b936-2f92-411d-89d3-985520c10e9d} - - - {1f6970f5-2901-4d3b-a119-86195fed3601} - - - {63611657-d97d-479c-af87-69d6817b564d} - - - {7c2a7031-ca15-4d3e-838e-efe7b508f899} - - - {dddb94ad-d701-41db-ab34-8fd5b9b4d2db} - - - {db0fccd4-1177-4630-8a6d-b1ea48d0b0fa} - - - {af3445a1-4908-4170-89ed-39345d90d30c} - - - {26ccdf01-559e-4934-9311-bd1a25bdd658} - - - {19ff1a34-36de-4c48-9d10-3fb1fa0d1fa4} - - - - - {88f409e6-d396-4ac5-94bd-7a99c914be46} - - - {a4b373f5-dc97-40ff-9b67-118253049621} - - - {0447c18c-e805-43d8-8b36-744f7c7fb88f} - - - - - application_code - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS-Plus-POSIX\source - - - lib\FreeRTOS\Portable\MemMang - - - lib\FreeRTOS\Portable\MSVC-W - - - lib\FreeRTOS - - - lib\FreeRTOS - - - lib\FreeRTOS - - - lib\FreeRTOS - - - lib\FreeRTOS - - - lib\FreeRTOS - - - application_code - - - - - configuration_files - - - lib\FreeRTOS-Plus-POSIX\include - - - lib\FreeRTOS-Plus-POSIX\include - - - lib\FreeRTOS-Plus-POSIX\include - - - lib\FreeRTOS-Plus-POSIX\include - - - lib\include\private - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX - - - lib\include\FreeRTOS_POSIX\sys - - - lib\FreeRTOS\Portable\MSVC-W - - - application_code - - - \ No newline at end of file diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj.user b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj.user deleted file mode 100755 index ace9a86..0000000 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/WIN32.vcxproj.user +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/main.c b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/main.c deleted file mode 100755 index e61c670..0000000 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/main.c +++ /dev/null @@ -1,197 +0,0 @@ -/* - * FreeRTOS POSIX Demo V1.0.0 - * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - * the Software, and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - * http://www.FreeRTOS.org - * http://aws.amazon.com/freertos - * - * 1 tab == 4 spaces! - */ - -/* - ****************************************************************************** - * -NOTE- 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 - * application. It is provided as a convenient development and demonstration - * test bed only. This was tested using Windows 10 with Intel Core i7-6700 CPU. - * - * Windows will not be running the FreeRTOS simulator threads continuously, so - * the timing information has no meaningful units. See the documentation page for - * the Windows simulator for an explanation of the slow timing: - * http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html - * - READ THE WEB DOCUMENTATION FOR THIS PORT FOR MORE INFORMATION ON USING IT - - * - * Documentation for this demo can be found on: - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_POSIX/demo/posix_demo.html - ****************************************************************************** - * - * - * /* FreeRTOS includes. */ -#include "FreeRTOS.h" -#include "task.h" - -/* System headers */ -#include - -/* demo include */ -#include "posix_demo.h" - -/* Demo task priority */ -#define mainPOSIX_DEMO_PRIORITY ( tskIDLE_PRIORITY + 4 ) - -/*-----------------------------------------------------------*/ - -int main( void ) -{ - configASSERT( ( mainPOSIX_DEMO_PRIORITY < configMAX_PRIORITIES ) ); - - const uint32_t ulLongTime_ms = pdMS_TO_TICKS( 1000UL ); - - printf( "FreeRTOS POSIX demo\n" ); - - /* Start the task to run POSIX demo */ - xTaskCreate( vStartPOSIXDemo, - "posix", - configMINIMAL_STACK_SIZE, - NULL, - mainPOSIX_DEMO_PRIORITY, - NULL ); - - vTaskStartScheduler(); - - /* If all is well, the scheduler will now be running, and the following - * line will never be reached. If the following line does execute, then - * 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 - * really applicable to the Win32 simulator port). */ - for( ; ; ) - { - Sleep( ulLongTime_ms ); - } - - return 0; -} - - -/*-----------------------------------------------------------*/ - -void vAssertCalled( const char * pcFile, - uint32_t ulLine ) -{ - const uint32_t ulLongSleep = 1000UL; - volatile uint32_t ulBlockVariable = 0UL; - volatile char * pcFileName = ( volatile char * ) pcFile; - volatile uint32_t ulLineNumber = ulLine; - - ( void ) pcFileName; - ( void ) ulLineNumber; - - printf( "vAssertCalled %s, %ld\n", pcFile, ( long ) ulLine ); - fflush( stdout ); - - /* Setting ulBlockVariable to a non-zero value in the debugger will allow - * this function to be exited. */ - taskDISABLE_INTERRUPTS(); - { - while( ulBlockVariable == 0UL ) - { - Sleep( ulLongSleep ); - } - } - taskENABLE_INTERRUPTS(); -} - -/*-----------------------------------------------------------*/ - -/* configUSE_STATIC_ALLOCATION is set to 1, so the application must provide an - * implementation of vApplicationGetIdleTaskMemory() to provide the memory that is - * used by the Idle task. */ -void vApplicationGetIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer, - StackType_t ** ppxIdleTaskStackBuffer, - uint32_t * pulIdleTaskStackSize ) -{ - /* If the buffers to be provided to the Idle task are declared inside this - * function then they must be declared static - otherwise they will be allocated on - * the stack and so not exists after this function exits. */ - static StaticTask_t xIdleTaskTCB; - static StackType_t uxIdleTaskStack[ configMINIMAL_STACK_SIZE ]; - - /* Pass out a pointer to the StaticTask_t structure in which the Idle - * task's state will be stored. */ - *ppxIdleTaskTCBBuffer = &xIdleTaskTCB; - - /* Pass out the array that will be used as the Idle task's stack. */ - *ppxIdleTaskStackBuffer = uxIdleTaskStack; - - /* Pass out the size of the array pointed to by *ppxIdleTaskStackBuffer. - * Note that, as the array is necessarily of type StackType_t, - * configMINIMAL_STACK_SIZE is specified in words, not bytes. */ - *pulIdleTaskStackSize = configMINIMAL_STACK_SIZE; -} - -/*-----------------------------------------------------------*/ - -/* configUSE_STATIC_ALLOCATION and configUSE_TIMERS are both set to 1, so the - * application must provide an implementation of vApplicationGetTimerTaskMemory() - * to provide the memory that is used by the Timer service task. */ -void vApplicationGetTimerTaskMemory( StaticTask_t ** ppxTimerTaskTCBBuffer, - StackType_t ** ppxTimerTaskStackBuffer, - uint32_t * pulTimerTaskStackSize ) -{ - /* If the buffers to be provided to the Timer task are declared inside this - * function then they must be declared static - otherwise they will be allocated on - * the stack and so not exists after this function exits. */ - static StaticTask_t xTimerTaskTCB; - static StackType_t uxTimerTaskStack[ configTIMER_TASK_STACK_DEPTH ]; - - /* Pass out a pointer to the StaticTask_t structure in which the Timer - * task's state will be stored. */ - *ppxTimerTaskTCBBuffer = &xTimerTaskTCB; - - /* Pass out the array that will be used as the Timer task's stack. */ - *ppxTimerTaskStackBuffer = uxTimerTaskStack; - - /* Pass out the size of the array pointed to by *ppxTimerTaskStackBuffer. - * Note that, as the array is necessarily of type StackType_t, - * configTIMER_TASK_STACK_DEPTH is specified in words, not bytes. */ - *pulTimerTaskStackSize = configTIMER_TASK_STACK_DEPTH; -} - -/*-----------------------------------------------------------*/ - -/** - * @brief Warn user if pvPortMalloc fails. - * - * Called if a call to pvPortMalloc() fails because there is insufficient - * free memory available in the FreeRTOS heap. pvPortMalloc() is called - * internally by FreeRTOS API functions that create tasks, queues, software - * timers, and semaphores. The size of the FreeRTOS heap is set by the - * configTOTAL_HEAP_SIZE configuration constant in FreeRTOSConfig.h. - * - */ -void vApplicationMallocFailedHook() -{ - taskDISABLE_INTERRUPTS(); - - for( ; ; ) - { - } -} diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/posix_demo.c b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/posix_demo.c deleted file mode 100755 index 63560c7..0000000 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/posix_demo.c +++ /dev/null @@ -1,374 +0,0 @@ -/* - * FreeRTOS POSIX Demo V1.0.0 - * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - * the Software, and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - * http://aws.amazon.com/freertos - * http://www.FreeRTOS.org - */ - -/** - * @brief Demo intro: job distribution with actor model. - * - * This demo simulates job distribution with actor model. - * https://en.wikipedia.org/wiki/Actor_model - * - * In this demo, vStartPOSIXDemo() first creates all mailboxes - * which will be used by actors to send and receive messages. - * Then it spins up two types of actors -- Dispatcher and Workers. - * - * Dispatcher -- Distributing sub-tasks to workers. - * Distribution is done by putting messages into each worker's inbox, - * which is essentially an mqueue. Dispatcher keeps distributing tasks - * until all intended tasks are distributed. - * - * Workers -- Take sub-tasks and perform predefined routine for each type of tasks. - * - * Upon finishing distributing all tasks, Dispatcher will send a "terminate" message to - * each worker. vStartPOSIXDemo() will then join all actor threads and clean up mailboxes. - * - * @note A few assumptions are made in this demo, which a user might have to alter - * if to adopt this model in a new application: - * - * - The upper limit for MQUEUE_NUMBER_OF_WORKERS is set to 10. - * This is not due to physical constraint (e.g. memory), rather to make queue - * names end with a single digit number. - * - * - Message enum is cast to char/uint8_t directly, with the assumption that - * the system is not going to have more than 254 messages, which is often true - * in practice. Could extend bits used in a message to either have more messages - * or include additional arguments for a message. Proper typecasting is needed - * in that case. - * - * - The philosophy is "failure is expected". It is shown in both the way dispatcher - * delivers messages (i.e. messages can be dropped by worker(s)), and also the - * way workers process messages (i.e. workers do not inform dispatcher success or - * failure). - * - * - Following the philosophy, dispatcher shall never use blocking calls to distribute - * tasks. The only exception made here is that dispatcher needs to make sure the - * successful delivery of "terminate" messages. So that, main thread could join - * all actor threads and finish the demo. - */ - -/* FreeRTOS includes. */ -#include "FreeRTOS_POSIX.h" - -/* System headers. */ -#include -#include -#include - -/* Demo includes. */ -#include "posix_demo.h" - -/* FreeRTOS+POSIX. */ -#include "FreeRTOS_POSIX/pthread.h" -#include "FreeRTOS_POSIX/mqueue.h" -#include "FreeRTOS_POSIX/time.h" -#include "FreeRTOS_POSIX/fcntl.h" -#include "FreeRTOS_POSIX/errno.h" - -/* Constants. */ -#define LINE_BREAK "\r\n" - -/** - * @brief Control messages. - * - * uint8_t is sufficient for this enum, that we are going to cast to char directly. - * If ever needed, implement a function to properly typecast. - */ -/**@{ */ -typedef enum ControlMessage -{ - eMSG_LOWER_INAVLID = 0x00, /**< Guard, let's not use 0x00 for messages. */ - eWORKER_CTRL_MSG_CONTINUE = 0x01, /**< Dispatcher to worker, distributing another job. */ - eWORKER_CTRL_MSG_EXIT = 0x02, /**< Dispatcher to worker, all jobs are finished and the worker receiving such can exit. */ - - /* define additional messages here */ - - eMSG_UPPER_INVALID = 0xFF /**< Guard, additional tasks shall be defined above. */ -} eControlMessage; -/**@} */ - -/** - * @defgroup Configuration constants for the dispatcher-worker demo. - */ -/**@{ */ -#define MQUEUE_NUMBER_OF_WORKERS ( 4 ) /**< The number of worker threads, each thread has one queue which is used as income box. */ - -#if ( MQUEUE_NUMBER_OF_WORKERS > 10 ) - #error "Please keep MQUEUE_NUMBER_OF_WORKERS < 10." -#endif - -#define MQUEUE_WORKER_QNAME_BASE "/qNode0" /**< Queue name base. */ -#define MQUEUE_WORKER_QNAME_BASE_LEN ( 6 ) /** Queue name base length. */ - -#define MQUEUE_TIMEOUT_SECONDS ( 1 ) /**< Relative timeout for mqueue functions. */ -#define MQUEUE_MAX_NUMBER_OF_MESSAGES_WORKER ( 1 ) /**< Maximum number of messages in a queue. */ - -#define MQUEUE_MSG_WORKER_CTRL_MSG_SIZE sizeof( uint8_t ) /**< Control message size. */ -#define DEMO_ERROR ( -1 ) /**< Any non-zero value would work. */ -/**@} */ - -/** - * @brief Structure used by Worker thread. - */ -/**@{ */ -typedef struct WorkerThreadResources -{ - pthread_t pxID; /**< thread ID. */ - mqd_t xInboxID; /**< mqueue inbox ID. */ -} WorkerThreadResources_t; -/**@} */ - -/** - * @brief Structure used by Dispatcher thread. - */ -/**@{ */ -typedef struct DispatcherThreadResources -{ - pthread_t pxID; /**< thread ID. */ - mqd_t * pOutboxID; /**< a list of mqueue outbox ID. */ -} DispatcherThreadResources_t; -/**@} */ - -/*-----------------------------------------------------------*/ - -static void * prvWorkerThread( void * pvArgs ) -{ - WorkerThreadResources_t pArgList = *( WorkerThreadResources_t * ) pvArgs; - - printf( "Worker thread #[%d] - start %s", ( int ) pArgList.pxID, LINE_BREAK ); - - struct timespec xReceiveTimeout = { 0 }; - - ssize_t xMessageSize = 0; - char pcReceiveBuffer[ MQUEUE_MSG_WORKER_CTRL_MSG_SIZE ] = { 0 }; - - /* This is a worker thread that reacts based on what is sent to its inbox (mqueue). */ - while( true ) - { - clock_gettime( CLOCK_REALTIME, &xReceiveTimeout ); - xReceiveTimeout.tv_sec += MQUEUE_TIMEOUT_SECONDS; - - xMessageSize = mq_receive( pArgList.xInboxID, - pcReceiveBuffer, - MQUEUE_MSG_WORKER_CTRL_MSG_SIZE, - 0 ); - - /* Parse messages */ - if( xMessageSize == MQUEUE_MSG_WORKER_CTRL_MSG_SIZE ) - { - switch( ( int ) pcReceiveBuffer[ 0 ] ) - { - case eWORKER_CTRL_MSG_CONTINUE: - /* Task branch, currently only prints message to screen. */ - /* Could perform tasks here. Could also notify dispatcher upon completion, if desired. */ - printf( "Worker thread #[%d] -- Received eWORKER_CTRL_MSG_CONTINUE %s", ( int ) pArgList.pxID, LINE_BREAK ); - break; - - case eWORKER_CTRL_MSG_EXIT: - printf( "Worker thread #[%d] -- Finished. Exit now. %s", ( int ) pArgList.pxID, LINE_BREAK ); - - return NULL; - - default: - /* Received a message that we don't care or not defined. */ - break; - } - } - else - { - /* Invalid message. Error handling can be done here, if desired. */ - } - } - - /* You should never hit here. */ - /* return NULL; */ -} - -/*-----------------------------------------------------------*/ - -static void * prvDispatcherThread( void * pvArgs ) -{ - DispatcherThreadResources_t pArgList = *( DispatcherThreadResources_t * ) pvArgs; - - printf( "Dispatcher thread - start %s", LINE_BREAK ); - - struct timespec xSendTimeout = { 0 }; - - ssize_t xMessageSize = 0; - char pcSendBuffer[ MQUEUE_MSG_WORKER_CTRL_MSG_SIZE ] = { 0 }; - - /* Just for fun, let threads do a total of 100 independent tasks. */ - int i = 0; - const int totalNumOfJobsPerThread = 100; - - /* Distribute 1000 independent tasks to workers, in round-robin fashion. */ - pcSendBuffer[ 0 ] = ( char ) eWORKER_CTRL_MSG_CONTINUE; - - for( i = 0; i < totalNumOfJobsPerThread; i++ ) - { - clock_gettime( CLOCK_REALTIME, &xSendTimeout ); - xSendTimeout.tv_sec += MQUEUE_TIMEOUT_SECONDS; - - printf( "Dispatcher iteration #[%d] -- Sending msg to worker thread #[%d]. %s", i, ( int ) pArgList.pOutboxID[ i % MQUEUE_NUMBER_OF_WORKERS ], LINE_BREAK ); - - xMessageSize = mq_timedsend( pArgList.pOutboxID[ i % MQUEUE_NUMBER_OF_WORKERS ], - pcSendBuffer, - MQUEUE_MSG_WORKER_CTRL_MSG_SIZE, - 0, - &xSendTimeout ); - - if( xMessageSize != 0 ) - { - /* This error is acceptable in our setup. - * Since inbox for each thread fits only one message. - * In reality, balance inbox size, message arrival rate, and message drop rate. */ - printf( "An acceptable failure -- dispatcher failed to send eWORKER_CTRL_MSG_CONTINUE to outbox ID: %x. errno %d %s", - ( int ) pArgList.pOutboxID[ i % MQUEUE_NUMBER_OF_WORKERS ], errno, LINE_BREAK ); - } - } - - /* Control thread is now done with distributing jobs. Tell workers they are done. */ - pcSendBuffer[ 0 ] = ( char ) eWORKER_CTRL_MSG_EXIT; - - for( i = 0; i < MQUEUE_NUMBER_OF_WORKERS; i++ ) - { - printf( "Dispatcher [%d] -- Sending eWORKER_CTRL_MSG_EXIT to worker thread #[%d]. %s", i, ( int ) pArgList.pOutboxID[ i % MQUEUE_NUMBER_OF_WORKERS ], LINE_BREAK ); - - /* This is a blocking call, to guarantee worker thread exits. */ - xMessageSize = mq_send( pArgList.pOutboxID[ i % MQUEUE_NUMBER_OF_WORKERS ], - pcSendBuffer, - MQUEUE_MSG_WORKER_CTRL_MSG_SIZE, - 0 ); - } - - return NULL; -} - -/*-----------------------------------------------------------*/ - -/** - * @brief Job distribution with actor model. - * - * See the top of this file for detailed description. - */ -void vStartPOSIXDemo( void *pvParameters ) -{ - int i = 0; - int iStatus = 0; - - /* Remove warnings about unused parameters. */ - ( void ) pvParameters; - - /* Handles of the threads and related resources. */ - DispatcherThreadResources_t pxDispatcher = { 0 }; - WorkerThreadResources_t pxWorkers[ MQUEUE_NUMBER_OF_WORKERS ] = { { 0 } }; - mqd_t workerMqueues[ MQUEUE_NUMBER_OF_WORKERS ] = { 0 }; - - struct mq_attr xQueueAttributesWorker = - { - .mq_flags = 0, - .mq_maxmsg = MQUEUE_MAX_NUMBER_OF_MESSAGES_WORKER, - .mq_msgsize = MQUEUE_MSG_WORKER_CTRL_MSG_SIZE, - .mq_curmsgs = 0 - }; - - pxDispatcher.pOutboxID = workerMqueues; - - /* Create message queues for each worker thread. */ - for( i = 0; i < MQUEUE_NUMBER_OF_WORKERS; i++ ) - { - /* Prepare a unique queue name for each worker. */ - char qName[] = MQUEUE_WORKER_QNAME_BASE; - qName[ MQUEUE_WORKER_QNAME_BASE_LEN - 1 ] = qName[ MQUEUE_WORKER_QNAME_BASE_LEN - 1 ] + i; - - /* Open a queue with -- - * O_CREAT -- create a message queue. - * O_RDWR -- both receiving and sending messages. - */ - pxWorkers[ i ].xInboxID = mq_open( qName, - O_CREAT | O_RDWR, - ( mode_t ) 0, - &xQueueAttributesWorker ); - - if( pxWorkers[ i ].xInboxID == ( mqd_t ) -1 ) - { - printf( "Invalid inbox (mqueue) for worker. %s", LINE_BREAK ); - iStatus = DEMO_ERROR; - break; - } - - /* Outboxes of dispatcher thread is the inboxes of all worker threads. */ - pxDispatcher.pOutboxID[ i ] = pxWorkers[ i ].xInboxID; - } - - /* Create and start Worker threads. */ - if( iStatus == 0 ) - { - for( i = 0; i < MQUEUE_NUMBER_OF_WORKERS; i++ ) - { - ( void ) pthread_create( &( pxWorkers[ i ].pxID ), NULL, prvWorkerThread, &pxWorkers[ i ] ); - } - - /* Create and start dispatcher thread. */ - ( void ) pthread_create( &( pxDispatcher.pxID ), NULL, prvDispatcherThread, &pxDispatcher ); - - /* Actors will do predefined tasks in threads. Current implementation is that - * dispatcher actor notifies worker actors to terminate upon finishing distributing tasks. */ - - /* Wait for worker threads to join. */ - for( i = 0; i < MQUEUE_NUMBER_OF_WORKERS; i++ ) - { - ( void ) pthread_join( pxWorkers[ i ].pxID, NULL ); - } - - /* Wait for dispatcher thread to join. */ - ( void ) pthread_join( pxDispatcher.pxID, NULL ); - } - - /* Close and unlink worker message queues. */ - for( i = 0; i < MQUEUE_NUMBER_OF_WORKERS; i++ ) - { - char qName[] = MQUEUE_WORKER_QNAME_BASE; - qName[ MQUEUE_WORKER_QNAME_BASE_LEN - 1 ] = qName[ MQUEUE_WORKER_QNAME_BASE_LEN - 1 ] + i; - - if( pxWorkers[ i ].xInboxID != NULL ) - { - ( void ) mq_close( pxWorkers[ i ].xInboxID ); - ( void ) mq_unlink( qName ); - } - } - - /* Have something on console. */ - if( iStatus == 0 ) - { - printf( "All threads finished. %s", LINE_BREAK ); - } - else - { - printf( "Queues did not get initialized properly. Did not run demo. %s", LINE_BREAK ); - } - - /* This task was created with the native xTaskCreate() API function, so - must not run off the end of its implementing thread. */ - vTaskDelete( NULL ); -} diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/posix_demo.h b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/posix_demo.h deleted file mode 100755 index 2088803..0000000 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/posix_demo.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * FreeRTOS Kernel V10.0.1 - * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - * the Software, and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - * http://www.FreeRTOS.org - * http://aws.amazon.com/freertos - * - * 1 tab == 4 spaces! - */ - -#ifndef _POSIX_DEMO_H_ -#define _POSIX_DEMO_H_ -void vStartPOSIXDemo( void * pvParameters ); - -#endif /* _POSIX_DEMO_H_ */ \ No newline at end of file diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/readme.txt b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/readme.txt deleted file mode 100755 index ea70cda..0000000 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Directories: - -+ FreeRTOS-Plus\Demo\FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator - contains a FreeRTOS windows simulator demo project for FreeRTOS+POSIX. - See http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_POSIX/ for information about this project. - diff --git a/FreeRTOS-Plus/Demo/readme.txt b/FreeRTOS-Plus/Demo/readme.txt deleted file mode 100755 index 5064d62..0000000 --- a/FreeRTOS-Plus/Demo/readme.txt +++ /dev/null @@ -1,9 +0,0 @@ -Directories: - -+ The FreeRTOS-Plus/Demo directory contains a demo application for every most of - the FreeRTOS+ components. Lots of the demo applications use the FreeRTOS - Windows simulator for easy evaluation. Be aware that FreeRTOS is much slower - and not deterministic when executed in a simulated environment. - -+ See http://www.freertos.org/plus - diff --git a/FreeRTOS/License/license.txt b/FreeRTOS/License/license.txt deleted file mode 100755 index 8bd4d85..0000000 --- a/FreeRTOS/License/license.txt +++ /dev/null @@ -1,37 +0,0 @@ -The FreeRTOS kernel is released under the MIT open source license, the text of -which is provided below. - -This license covers the FreeRTOS kernel source files, which are located in the -/FreeRTOS/Source directory of the official FreeRTOS kernel download. It also -covers most of the source files in the demo application projects, which are -located in the /FreeRTOS/Demo directory of the official FreeRTOS download. The -demo projects may also include third party software that is not part of FreeRTOS -and is licensed separately to FreeRTOS. Examples of third party software -includes header files provided by chip or tools vendors, linker scripts, -peripheral drivers, etc. All the software in subdirectories of the /FreeRTOS -directory is either open source or distributed with permission, and is free for -use. For the avoidance of doubt, refer to the comments at the top of each -source file. - - -License text: -------------- - -Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/FreeRTOS/Source b/FreeRTOS/Source deleted file mode 160000 index 210b1ff..0000000 --- a/FreeRTOS/Source +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 210b1ffcc87bcff93871a37fbf0ad2033870ecaf diff --git a/FreeRTOS/links_to_doc_pages_for_the_demo_projects.url b/FreeRTOS/links_to_doc_pages_for_the_demo_projects.url deleted file mode 100755 index cfd5526..0000000 --- a/FreeRTOS/links_to_doc_pages_for_the_demo_projects.url +++ /dev/null @@ -1,5 +0,0 @@ -[{000214A0-0000-0000-C000-000000000046}] -Prop3=19,2 -[InternetShortcut] -URL=http://www.freertos.org/a00090.html -IDList= diff --git a/FreeRTOS/readme.txt b/FreeRTOS/readme.txt deleted file mode 100755 index 7fa63a7..0000000 --- a/FreeRTOS/readme.txt +++ /dev/null @@ -1,21 +0,0 @@ -Directories: - -+ The FreeRTOS/Source directory contains the FreeRTOS source code, and contains - its own readme file. - -+ The FreeRTOS/Demo directory contains a demo application for every official -FreeRTOS port, and contains its own readme file. - -+ See http://www.freertos.org/a00017.html for full details of the directory - structure and information on locating the files you require. - -The easiest way to use FreeRTOS is to start with one of the pre-configured demo -application projects (found in the FreeRTOS/Demo directory). That way you will -have the correct FreeRTOS source files included, and the correct include paths -configured. Once a demo application is building and executing you can remove -the demo application file, and start to add in your own application source -files. - -See also - -http://www.freertos.org/FreeRTOS-quick-start-guide.html -http://www.freertos.org/FAQHelp.html diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/errno.h b/include/FreeRTOS_POSIX/errno.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/errno.h rename to include/FreeRTOS_POSIX/errno.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/fcntl.h b/include/FreeRTOS_POSIX/fcntl.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/fcntl.h rename to include/FreeRTOS_POSIX/fcntl.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/mqueue.h b/include/FreeRTOS_POSIX/mqueue.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/mqueue.h rename to include/FreeRTOS_POSIX/mqueue.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/pthread.h b/include/FreeRTOS_POSIX/pthread.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/pthread.h rename to include/FreeRTOS_POSIX/pthread.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/sched.h b/include/FreeRTOS_POSIX/sched.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/sched.h rename to include/FreeRTOS_POSIX/sched.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/semaphore.h b/include/FreeRTOS_POSIX/semaphore.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/semaphore.h rename to include/FreeRTOS_POSIX/semaphore.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/signal.h b/include/FreeRTOS_POSIX/signal.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/signal.h rename to include/FreeRTOS_POSIX/signal.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/sys/types.h b/include/FreeRTOS_POSIX/sys/types.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/sys/types.h rename to include/FreeRTOS_POSIX/sys/types.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/time.h b/include/FreeRTOS_POSIX/time.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/time.h rename to include/FreeRTOS_POSIX/time.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/unistd.h b/include/FreeRTOS_POSIX/unistd.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/unistd.h rename to include/FreeRTOS_POSIX/unistd.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/utils.h b/include/FreeRTOS_POSIX/utils.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/FreeRTOS_POSIX/utils.h rename to include/FreeRTOS_POSIX/utils.h diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/private/iot_doubly_linked_list.h b/include/private/iot_doubly_linked_list.h similarity index 100% rename from FreeRTOS-Plus/Demo/FreeRTOS_Plus_POSIX_with_actor_Windows_Simulator/lib/include/private/iot_doubly_linked_list.h rename to include/private/iot_doubly_linked_list.h