Revert "Remove coroutines (#874)" (#1019)

* Revert "Remove coroutines (#874)"

This reverts commit 569c78fd8c.

* Update freertos Kernel submodule to latest head

* Remove temporary files

* Fix MingW demos and spell check

* Fix manifest version; fix headers

* Add ignore files and paths to core-checker.py

* Fix copyright in remaining files

* Fix PR check build failure

1. Remove defining `inline` in Makefile. This was causing build
   warnings.
2. Ensure that the linker removed unused functions from various
   compilation units.
3. Update the linker script so that all the functions are correctly
   placed in FLASH section.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Aniruddha Kanhere 2023-06-09 15:25:48 -07:00 committed by GitHub
parent 9ccae851e7
commit 1277ba1661
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
605 changed files with 11240 additions and 3628 deletions

View file

@ -27,13 +27,13 @@
/*
* Creates all the demo application tasks, then starts the scheduler.
*
* Main. c also creates a task called "Print". This only executes every five
* seconds but has the highest priority so is guaranteed to get processor time.
* Its main function is to check that all the other tasks are still operational.
* Nearly all the tasks in the demo application maintain a unique count that is
* incremented each time the task successfully completes its function. Should any
* error occur within the task the count is permanently halted. The print task
* checks the count of each task to ensure it has changed since the last time the
* Main. c also creates a task called "Print". This only executes every five
* seconds but has the highest priority so is guaranteed to get processor time.
* Its main function is to check that all the other tasks are still operational.
* Nearly all the tasks in the demo application maintain a unique count that is
* incremented each time the task successfully completes its function. Should any
* error occur within the task the count is permanently halted. The print task
* checks the count of each task to ensure it has changed since the last time the
* print task executed. If any count is found not to have changed the print task
* displays an appropriate message, halts, and flashes the on board LED rapidly.
* If all the tasks are still incrementing their unique counts the print task
@ -64,7 +64,7 @@ Changes from V1.01:
Changes from V1.2.3
+ The integer and comtest tasks are now used when the cooperative scheduler
+ The integer and comtest tasks are now used when the cooperative scheduler
is being used. Previously they were only used with the preemptive
scheduler.
@ -242,7 +242,7 @@ static void prvCheckForKeyPresses( void )
short sIn;
taskENTER_CRITICAL();
sIn = kbhit();
taskEXIT_CRITICAL();