mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-11 09:40:06 +00:00
house keeping
This commit is contained in:
parent
829c8672bb
commit
a21ca6c0f1
@ -28,7 +28,7 @@
|
|||||||
<folderInfo id="com.crt.advproject.config.lib.debug.341253724." name="/" resourcePath="">
|
<folderInfo id="com.crt.advproject.config.lib.debug.341253724." name="/" resourcePath="">
|
||||||
<toolChain id="com.crt.advproject.toolchain.lib.debug.972883292" name="Code Red MCU Tools" superClass="com.crt.advproject.toolchain.lib.debug">
|
<toolChain id="com.crt.advproject.toolchain.lib.debug.972883292" name="Code Red MCU Tools" superClass="com.crt.advproject.toolchain.lib.debug">
|
||||||
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.lib.debug.241809325" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.lib.debug"/>
|
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.lib.debug.241809325" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.lib.debug"/>
|
||||||
<builder buildPath="${workspace_loc:/tinyusb/Debug}" id="com.crt.advproject.builder.lib.debug.2144305142" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.crt.advproject.builder.lib.debug"/>
|
<builder buildPath="${workspace_loc:/tinyusb/Debug}" enableAutoBuild="true" id="com.crt.advproject.builder.lib.debug.2144305142" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.crt.advproject.builder.lib.debug"/>
|
||||||
<tool id="com.crt.advproject.cpp.lib.debug.1524252612" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.lib.debug"/>
|
<tool id="com.crt.advproject.cpp.lib.debug.1524252612" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.lib.debug"/>
|
||||||
<tool id="com.crt.advproject.gcc.lib.debug.858148136" name="MCU C Compiler" superClass="com.crt.advproject.gcc.lib.debug">
|
<tool id="com.crt.advproject.gcc.lib.debug.858148136" name="MCU C Compiler" superClass="com.crt.advproject.gcc.lib.debug">
|
||||||
<option id="com.crt.advproject.gcc.arch.704503495" name="Architecture" superClass="com.crt.advproject.gcc.arch" value="com.crt.advproject.gcc.target.cm3" valueType="enumerated"/>
|
<option id="com.crt.advproject.gcc.arch.704503495" name="Architecture" superClass="com.crt.advproject.gcc.arch" value="com.crt.advproject.gcc.target.cm3" valueType="enumerated"/>
|
||||||
|
3
.project
3
.project
@ -7,7 +7,6 @@
|
|||||||
<buildSpec>
|
<buildSpec>
|
||||||
<buildCommand>
|
<buildCommand>
|
||||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||||
<triggers>clean,full,incremental,</triggers>
|
|
||||||
<arguments>
|
<arguments>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>?name?</key>
|
<key>?name?</key>
|
||||||
@ -43,7 +42,7 @@
|
|||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
|
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
|
||||||
<value>false</value>
|
<value>true</value>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
<dictionary>
|
<dictionary>
|
||||||
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
|
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
|
||||||
|
@ -43,8 +43,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "arm_mx.h"
|
#include "arm_mx.h"
|
||||||
|
#include "LPC13Uxx.h"
|
||||||
|
|
||||||
#define ARM ARM_M3
|
#define ARM_M3
|
||||||
|
|
||||||
#define DEVICE_ROMDRIVER
|
#define DEVICE_ROMDRIVER
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ARM ARM_M4
|
#define ARM_M4
|
||||||
//#define ARM ARM_M0
|
//#define ARM_M0
|
||||||
|
|
||||||
#include "arm_mx.h"
|
#include "arm_mx.h"
|
||||||
|
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
#include "romdriver/mw_usbd_rom_api.h"
|
#include "romdriver/mw_usbd_rom_api.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -36,7 +36,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "tusb.h"
|
#include "tusb.h"
|
||||||
#include "LPC13Uxx.h" // TODO HAL
|
|
||||||
|
#ifdef CFG_TUSB_DEVICE
|
||||||
|
#include "device/dcd.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
ErrorCode_t tusb_init(void)
|
ErrorCode_t tusb_init(void)
|
||||||
{
|
{
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#define CFG_TUSB_HOST
|
#define CFG_TUSB_HOST
|
||||||
#define CFG_TUSB_DEVICE
|
#define CFG_TUSB_DEVICE
|
||||||
|
|
||||||
|
// TODO APP
|
||||||
#define USB_MAX_IF_NUM 8
|
#define USB_MAX_IF_NUM 8
|
||||||
#define USB_MAX_EP_NUM 5
|
#define USB_MAX_EP_NUM 5
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user