starting to add support for IAR workbench
This commit is contained in:
@@ -103,7 +103,16 @@
|
||||
</linkedResources>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1379174455764</id>
|
||||
<id>1379572492985</id>
|
||||
<name></name>
|
||||
<type>26</type>
|
||||
<matcher>
|
||||
<id>org.eclipse.ui.ide.multiFilter</id>
|
||||
<arguments>1.0-name-matches-false-false-startup_iar</arguments>
|
||||
</matcher>
|
||||
</filter>
|
||||
<filter>
|
||||
<id>1379572492997</id>
|
||||
<name></name>
|
||||
<type>26</type>
|
||||
<matcher>
|
||||
|
||||
1304
demos/host/host_os_none/host_os_none.ewd
Normal file
1304
demos/host/host_os_none/host_os_none.ewd
Normal file
File diff suppressed because it is too large
Load Diff
1058
demos/host/host_os_none/host_os_none.ewp
Normal file
1058
demos/host/host_os_none/host_os_none.ewp
Normal file
File diff suppressed because it is too large
Load Diff
10
demos/host/host_os_none/host_os_none.eww
Normal file
10
demos/host/host_os_none/host_os_none.eww
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<workspace>
|
||||
<project>
|
||||
<path>$WS_DIR$\host_os_none.ewp</path>
|
||||
</project>
|
||||
<batchBuild/>
|
||||
</workspace>
|
||||
|
||||
|
||||
@@ -389,7 +389,7 @@
|
||||
<Focus>0</Focus>
|
||||
<ColumnNumber>0</ColumnNumber>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<TopLine>118</TopLine>
|
||||
<TopLine>149</TopLine>
|
||||
<CurrentLine>158</CurrentLine>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\src\main.c</PathWithFileName>
|
||||
@@ -405,8 +405,8 @@
|
||||
<Focus>0</Focus>
|
||||
<ColumnNumber>0</ColumnNumber>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<TopLine>84</TopLine>
|
||||
<CurrentLine>124</CurrentLine>
|
||||
<TopLine>1</TopLine>
|
||||
<CurrentLine>1</CurrentLine>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\src\cdc_serial_app.c</PathWithFileName>
|
||||
<FilenameWithoutPath>cdc_serial_app.c</FilenameWithoutPath>
|
||||
@@ -493,7 +493,7 @@
|
||||
<Focus>0</Focus>
|
||||
<ColumnNumber>2</ColumnNumber>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<TopLine>128</TopLine>
|
||||
<TopLine>137</TopLine>
|
||||
<CurrentLine>146</CurrentLine>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\bsp\boards\embedded_artists\board_ea4357.c</PathWithFileName>
|
||||
@@ -509,7 +509,7 @@
|
||||
<Focus>0</Focus>
|
||||
<ColumnNumber>1</ColumnNumber>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<TopLine>97</TopLine>
|
||||
<TopLine>99</TopLine>
|
||||
<CurrentLine>106</CurrentLine>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\bsp\boards\printf_retarget.c</PathWithFileName>
|
||||
@@ -709,8 +709,8 @@
|
||||
<Focus>0</Focus>
|
||||
<ColumnNumber>0</ColumnNumber>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<TopLine>170</TopLine>
|
||||
<CurrentLine>210</CurrentLine>
|
||||
<TopLine>1</TopLine>
|
||||
<CurrentLine>1</CurrentLine>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\tinyusb\host\usbh.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usbh.c</FilenameWithoutPath>
|
||||
@@ -725,8 +725,8 @@
|
||||
<Focus>0</Focus>
|
||||
<ColumnNumber>0</ColumnNumber>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<TopLine>262</TopLine>
|
||||
<CurrentLine>254</CurrentLine>
|
||||
<TopLine>1</TopLine>
|
||||
<CurrentLine>1</CurrentLine>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\tinyusb\host\ehci\ehci.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ehci.c</FilenameWithoutPath>
|
||||
@@ -773,7 +773,7 @@
|
||||
<Focus>0</Focus>
|
||||
<ColumnNumber>0</ColumnNumber>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<TopLine>29</TopLine>
|
||||
<TopLine>60</TopLine>
|
||||
<CurrentLine>69</CurrentLine>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\tinyusb\hal\hal_lpc43xx.c</PathWithFileName>
|
||||
@@ -835,10 +835,10 @@
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<Focus>0</Focus>
|
||||
<ColumnNumber>0</ColumnNumber>
|
||||
<ColumnNumber>15</ColumnNumber>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<TopLine>102</TopLine>
|
||||
<CurrentLine>142</CurrentLine>
|
||||
<TopLine>1</TopLine>
|
||||
<CurrentLine>24</CurrentLine>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\tinyusb\class\cdc_host.c</PathWithFileName>
|
||||
<FilenameWithoutPath>cdc_host.c</FilenameWithoutPath>
|
||||
@@ -851,10 +851,10 @@
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<Focus>0</Focus>
|
||||
<ColumnNumber>24</ColumnNumber>
|
||||
<ColumnNumber>0</ColumnNumber>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<TopLine>135</TopLine>
|
||||
<CurrentLine>152</CurrentLine>
|
||||
<TopLine>1</TopLine>
|
||||
<CurrentLine>1</CurrentLine>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\tinyusb\class\cdc_rndis_host.c</PathWithFileName>
|
||||
<FilenameWithoutPath>cdc_rndis_host.c</FilenameWithoutPath>
|
||||
|
||||
@@ -93,7 +93,7 @@ void tusbh_cdc_xfer_isr(uint8_t dev_addr, tusb_event_t event, cdc_pipeid_t pipe_
|
||||
|
||||
case TUSB_EVENT_XFER_STALLED:
|
||||
default :
|
||||
ASSERT(false, (void) 0); // error
|
||||
ASSERT(false, VOID_RETURN); // error
|
||||
break;
|
||||
}
|
||||
}else if (pipe_id == CDC_PIPE_DATA_OUT)
|
||||
@@ -113,9 +113,9 @@ void cdc_serial_app_init(void)
|
||||
memclr_(buffer_in, sizeof(buffer_in));
|
||||
|
||||
queue_hdl = osal_queue_create( OSAL_QUEUE_REF(queue_def) );
|
||||
ASSERT_PTR( queue_hdl, (void) 0 );
|
||||
ASSERT_PTR( queue_hdl, VOID_RETURN);
|
||||
|
||||
ASSERT( TUSB_ERROR_NONE == osal_task_create(OSAL_TASK_REF(cdc_serial_app_task)), (void) 0 );
|
||||
ASSERT( TUSB_ERROR_NONE == osal_task_create(OSAL_TASK_REF(cdc_serial_app_task)), VOID_RETURN);
|
||||
}
|
||||
|
||||
//------------- main task -------------//
|
||||
|
||||
@@ -108,10 +108,10 @@ void keyboard_app_init(void)
|
||||
memclr_(&usb_keyboard_report, sizeof(tusb_keyboard_report_t));
|
||||
|
||||
queue_kbd_hdl = osal_queue_create( OSAL_QUEUE_REF(queue_kbd_def) );
|
||||
ASSERT_PTR( queue_kbd_hdl, (void) 0 );
|
||||
ASSERT_PTR( queue_kbd_hdl, VOID_RETURN );
|
||||
|
||||
ASSERT( TUSB_ERROR_NONE == osal_task_create( OSAL_TASK_REF(keyboard_app_task) ) ,
|
||||
(void) 0 );
|
||||
VOID_RETURN);
|
||||
}
|
||||
|
||||
//------------- main task -------------//
|
||||
|
||||
@@ -110,10 +110,10 @@ void mouse_app_init(void)
|
||||
memclr_(&usb_mouse_report, sizeof(tusb_mouse_report_t));
|
||||
|
||||
queue_mouse_hdl = osal_queue_create( OSAL_QUEUE_REF(queue_mouse_def) );
|
||||
ASSERT_PTR( queue_mouse_hdl, (void) 0 );
|
||||
ASSERT_PTR( queue_mouse_hdl, VOID_RETURN);
|
||||
|
||||
ASSERT( TUSB_ERROR_NONE == osal_task_create( OSAL_TASK_REF(mouse_app_task) ),
|
||||
(void) 0 );
|
||||
VOID_RETURN );
|
||||
}
|
||||
|
||||
//------------- main task -------------//
|
||||
|
||||
@@ -113,6 +113,8 @@
|
||||
#define TUSB_CFG_ATTR_USBRAM __attribute__ ((section(TUSB_RAM_SECTION)))
|
||||
#elif defined __CC_ARM // Compiled with Keil armcc
|
||||
#define TUSB_CFG_ATTR_USBRAM
|
||||
#elif __ICCARM__ // compiled with IAR
|
||||
#define TUSB_CFG_ATTR_USBRAM
|
||||
#else
|
||||
#error compiler not specified
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user