19.7 Task Information (task[])
task[ <1. ID number> ] { name = <2. ID name (name)>; entry_address = <3. Task entry address (entry_addreess)>; stack_size = <4. User stack size (stack_size)>; stack_section = <5. Section name assigned to the stack area (stack_section)>; priority = <6. Task initial priority (priority)>; initial_start = <7. TA_ACT attribute (initial_start)>; exinf = <8. Extended information (exinf)>; }; |
- Note
The ID numbers must be assigned without an omission beginning with 1. Therefore, when specifying an ID number, be sure that the specified value is equal to or less than the number of objects defined.
The ID numbers must be assigned without an omission beginning with 1. Therefore, when specifying an ID number, be sure that the specified value is equal to or less than the number of objects defined.
- Description
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
#define <ID name> <ID number>
- When omitting
The set value in the default system configuration file (factory setting: 256) applied.
The set value in the default system configuration file (factory setting: 256) applied.
- Description
Define the section name to be assigned to the user stack area.
The cfg600 generates the user stack area with the size specified by stack_size to the section specified by stack_section. The section attribute is "DATA", and the alignment number is 4.
When linking, be sure to locate this section in the RAM area. Note, this section must not be located to address 0.
Define the section name to be assigned to the user stack area.
The cfg600 generates the user stack area with the size specified by stack_size to the section specified by stack_section. The section attribute is "DATA", and the alignment number is 4.
When linking, be sure to locate this section in the RAM area. Note, this section must not be located to address 0.
- When omitting
The set value in the default system configuration file (factory setting: "SURI_STACK") applied.
The set value in the default system configuration file (factory setting: "SURI_STACK") applied.