Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back croutines by reverting PR#590 #685

Merged
merged 7 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 44 additions & 1 deletion .github/lexicon.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
GNU nano 5.9 .github/lexicon.txt Modified
aa
aaaa
aarch
Expand Down Expand Up @@ -317,6 +318,7 @@ coproc
coprocessor
coprocessors
coreid
coroutinehandle
covfs
cp
cpacr
Expand All @@ -338,15 +340,32 @@ cprivilegedonlyaccessarray
cpsid
cpsie
cpsr
cpsr
cpstored
cpstored
cpu
cpu
cr
cr
crc
crc
crcb
crcoroutine
crcoroutine
crdelay
crdelay
creadonlyarray
creadwritearray
createevent
crend
crend
crgint
croutine
croutine
crqueue
crqueue
crstart
crstart
crt
crtv
crxedchar
Expand Down Expand Up @@ -1523,11 +1542,17 @@ prvaddcurrenttasktodelayedlist
prvcheckinterfaces
prvchecktaskswaitingtermination
prvcopydatatoqueue
prvcoroutineflashtask
prvcoroutineflashtask
prvcoroutineflashworktask
prvcoroutineflashworktask
prvdeletetcb
prvexitfunction
prvgettimens
prvheapinit
prvidletask
prvinitialisecoroutinelists
prvinitialisecoroutinelists
prvinitialisemutex
prvinitialisenewstreambuffer
prvinitialisenewtimer
Expand Down Expand Up @@ -1642,11 +1667,18 @@ pxblocktoinsert
pxcallbackfunction
pxcode
pxcontainer
pxcoroutinecode
pxcoroutinecode
pxcoroutinewoken
pxcoroutinewoken
pxcrcb
pxcreatedtask
pxcurrentcoroutine
pxcurrentcoroutine
pxcurrenttcb
pxcurrenttcbconst
pxcurrenttimerlist
pxdelayedcoroutinelist
pxdelayedtasklist
pxend
pxendofstack
Expand Down Expand Up @@ -1681,6 +1713,7 @@ pxnextfreeblock
pxnexttcb
pxoriginalsp
pxoriginaltos
pxoverflowdelayedcoroutinelist
pxoverflowdelayedtasklist
pxowner
pxportinitialisestack
Expand All @@ -1690,6 +1723,7 @@ pxqueue
pxqueuebuffer
pxqueuesetcontainer
pxramstack
pxreadycoroutinelists
pxreadytaskslists
pxreceivecompletedcallback
pxregions
Expand Down Expand Up @@ -2463,6 +2497,7 @@ uxtopreadypriority
uxtopusedpriority
uxvariabletoincrement
uxwantedbytes
vacoroutine
vadifferenttask
vafunction
val
Expand Down Expand Up @@ -2492,6 +2527,7 @@ vbr
vbufferisr
vcallbackfunction
vclearinterruptmask
vcoroutineschedule
vddcore
vec
vectactive
Expand All @@ -2501,6 +2537,7 @@ ver
veventgroupclearbitscallback
veventgroupdelete
veventgroupsetbitscallback
vflashcoroutine
vfp
vfunction
vic
Expand Down Expand Up @@ -2563,12 +2600,14 @@ vqueuedelete
vqueueunregisterqueue
vr
vraiseprivilege
vreceivingcoroutine
vreg
vresetprivilege
vrestorecontextoffirsttask
vrpm
vsemaphorecreatebinary
vsemaphoredelete
vsendingcoroutine
vsetbacklightstate
vsoftwareinterruptentry
vstartfirsttask
Expand Down Expand Up @@ -2702,6 +2741,9 @@ xcommandtime
xcommsrxqueue
xconsttickcount
xcopyposition
xcoroutinecreate
xcoroutinepreviouslywoken
xcoroutinequeue
xcount
xcreatedeventgroup
xcrwokenbypost
Expand All @@ -2711,6 +2753,7 @@ xdd
xdddd
xdeadbeef
xdelay
xdelayedcoroutinelist
xdelayedtasklist
xdelaytime
xe
Expand Down Expand Up @@ -2859,6 +2902,7 @@ xpar
xparameters
xpendedcounts
xpendedticks
xpendingreadycoroutinelist
xpendingreadylist
xperiod
xportgetcoreid
Expand Down Expand Up @@ -3100,4 +3144,3 @@ xwritevalue
xxr
xyieldpending
xzr

1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ add_compile_options(
add_subdirectory(portable)

add_library(freertos_kernel STATIC
croutine.c
event_groups.c
list.c
queue.c
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ git clone [email protected]:FreeRTOS/FreeRTOS-Kernel.git
## Repository structure
- The root of this repository contains the three files that are common to
every port - list.c, queue.c and tasks.c. The kernel is contained within these
three files.
three files. croutine.c implements the optional co-routine functionality - which
is normally only used on very memory limited systems.

- The ```./portable``` directory contains the files that are specific to a particular microcontroller and/or compiler.
See the readme file in the ```./portable``` directory for more information.
Expand Down
Loading