19 lines
510 B
Plaintext
19 lines
510 B
Plaintext
@startuml
|
|
!include card-uml-style.iuml
|
|
scale 620 width
|
|
top to bottom direction
|
|
|
|
class "01 Application C\ntask01_first_task.c" as Application <<layer>>
|
|
class "02 FreeRTOS C API\nTaskFunction_t · xTaskCreate" as CAPI <<boundary>>
|
|
class "03 Kernel + RV32I port\nscheduler · tick · heap_4\nHazard3 CPU" as Runtime <<runtime>>
|
|
|
|
Application --> CAPI : requests tasks
|
|
CAPI --> Runtime : owns scheduling
|
|
|
|
note right of CAPI
|
|
Public C contract.
|
|
Application does not depend
|
|
on TCB internals.
|
|
end note
|
|
@enduml
|