Fix Posix demo build and remove src directory (#213)

* Fix: build errors, remove src directory and bring all files up
* Fix: Remove not needed header
* Doc: fix main comments
* Doc: fix comment

Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
This commit is contained in:
alfred gedeon 2020-08-27 00:41:42 -07:00 committed by GitHub
parent a9680a54cf
commit 638262fab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 1035 additions and 1030 deletions

View file

@ -27,10 +27,10 @@
import os
# Create a symlink to the FreeRTOS sources.
if not os.path.exists("src/FreeRTOS"):
os.symlink("../../..", "src/FreeRTOS")
if not os.path.exists("src/FreeRTOS-Plus"):
os.symlink("../../../../FreeRTOS-Plus", "src/FreeRTOS-Plus")
if not os.path.exists("FreeRTOS"):
os.symlink("../..", "FreeRTOS")
if not os.path.exists("FreeRTOS-Plus"):
os.symlink("../../../FreeRTOS-Plus", "FreeRTOS-Plus")
AddOption("--simple",
action='store_true',
@ -49,4 +49,4 @@ env.Append(CFLAGS = [
"-O2",
])
SConscript("src/SConscript", variant_dir="build", duplicate=0)
SConscript("./SConscript", variant_dir="build", duplicate=0)