Including Resources In Μitron And Non-Os Versions - Renesas X 600 Series Manual

Usb host mass storage class driver (hmsc)
Table of Contents

Advertisement

Renesas USB Device
9.
Including Resources in µITRON and Non-OS Versions
The methods of including resources when using the µITRON and non-OS versions are described below.
 
9.1
Including Resources in µITRON 
When using the µITRON version (RI600), it is necessary to register tasks, mailboxes, memory pools, and interrupt
vectors in the ITRON configuration file.
After editing the configuration file, use the mkritbl command generate the file ritable.src. Delete the following lines
from the file and then add it to the project file.
Delete these lines: .GLB
.LWORD
 
 
9.1.1
MSC Registration 
In the sample program, the MSC Task is not used. 
 
9.1.2
APL Registration 
In the sample program, the APL task is registered as follows. The priority is defined as the lowest level, except for idle
tasks.
task[]{
entry_address
name
stack_size
stack_section
priority
initial_start
exinf
};
 
9.1.3
MSC Mailbox Registration
In the sample program, the MSC mailbox is registered as follows.
mailBOX[]{
name
= USB_HMSC_MBX;
wait_queue
message_queue
max_pri
};
mailBOX[]{
name
= USB_HMSCD_MBX2;
wait_queue
message_queue
max_pri
  }
;
 
 
 
R01AN0513EJ0110 Rev.1.10
Aug 10, 2011
__RI_DEFAULT_FINTHDR_0 to .GLB
__RI_DEFAULT_FINTHDR_0 to .LWOR __RI_DEFAULT_FINTHDR_19
= u usbc_cstd_MainTask ();
= USBC_SMP_TSK;
= 2048;
= SURI_STACK;
= 8;
= ON;
= 0x0;
= TA_TFIFO;
= TA_MFIFO;
= 1;
= TA_TFIFO;
= TA_MFIFO;
= 1;
USB Host Mass Storage Class Driver(HMSC)
__RI_DEFAULT_FINTHDR_19
Page 50 of 55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx62n groupR8a66597

Table of Contents