hathach
0d279facbb
fix cmsis rtx tick configuration
...
everything should work
TODO: remove static for variable error in control xfer subtask
2013-09-13 23:32:07 +07:00
hathach
1f573eecf2
added keil project for host_freertos
2013-09-12 15:55:54 +07:00
hathach
968c218f33
Merge branch 'master' of github.com:microbuilder/tinyusb
...
Conflicts:
demos/host/host_os_none/host_os_none.uvopt
2013-09-12 14:44:02 +07:00
hathach
ad5ce98c02
finshed upgrading lpc43xx cmsis
2013-09-12 14:42:08 +07:00
hathach
8a8537d7e5
updating lib *.c
2013-09-12 14:27:22 +07:00
hathach
239864c6cf
update history & freertos project
2013-09-12 14:20:22 +07:00
hathach
0769643814
update header files
2013-09-12 14:06:59 +07:00
hathach
dc6f6e3b3e
rename lpc43 cmsis folder, preparing to upgrade cmsis from v2.10 to 3.01
2013-09-12 13:58:33 +07:00
Kevin Townsend
50d0e9bb8d
Apply power to USB
2013-09-10 09:20:59 +02:00
Kevin Townsend
3e54ab7c9e
Added trace support for LPC4357USB boards
2013-09-10 09:09:22 +02:00
hathach
2d021e0728
added support for RETARGET SWO
2013-09-10 13:36:19 +07:00
hathach
e823862ed1
clean up
2013-09-10 13:15:21 +07:00
hathach
14a8e26697
able to get blinky + greeting
2013-09-10 10:43:24 +07:00
hathach
7404894d6d
rename startup
2013-09-10 10:26:15 +07:00
hathach
1646fb2887
Merge branch 'master' of github.com:microbuilder/tinyusb
...
Conflicts:
demos/bsp/boards/microbuilder/board_lpc4357usb.c
demos/bsp/boards/microbuilder/board_lpc4357usb.h
2013-09-08 00:09:33 +07:00
hathach
25a22e169b
try to add lpc4357usb board
2013-09-08 00:01:20 +07:00
Kevin Townsend
1231fae04c
Added trace pin config
2013-07-31 23:30:17 +02:00
Kevin Townsend
781f8354ea
Added LPC4357USB board
2013-07-31 22:03:48 +02:00
hathach
23f4d7356f
change printf retarget to make \n to \r\n automatically
2013-07-19 12:05:25 +07:00
hathach
c5afb9d50f
change class (hid/cdc) _mounted_isr to _mounted_cb
2013-07-04 09:45:20 +07:00
hathach
544b48183a
opt out hardfault handler in board.c which causes problem in compiling with asm inline
2013-07-03 13:48:11 +07:00
hathach
6ce90e2bd8
add tusbh_cdc_send, t usbh_cdc_receive
...
add cdc_serial_app for virtual com demo
2013-07-02 16:41:13 +07:00
hathach
34b4332ff4
remove redundant project files
2013-06-21 22:17:49 +07:00
hathach
4239da1188
add cmsis for lpc11u
...
remove app_os_prio.h in host_os_none demo
2013-06-21 21:03:23 +07:00
hathach
3394b4beaa
re-create ngx4330.h
...
remove some rom driver dependency on upper layer
introduce CAP_DEVICE_ROMDRIVER to overwrite TUSB_CFG_DEVICE_USE_ROM_DRIVER within the lib
add support for lpc175x_6x
- able to build and blink led on lpcxpresso1769 with device (without any class enabled)
2013-06-04 13:36:18 +07:00
hathach
7f8752b38b
add LPC175x_6x cmiss (got from xpresso example)
...
add LPC175x_6x driver lib (got from http://git.lpcware.com//lpc175x_6x.git
2013-06-04 11:45:01 +07:00
hathach
3b9a616ca9
change at86rf to 1ghznode
...
rom device runs ok with lpc11uxx
2013-05-31 13:57:57 +07:00
hathach
04a641f067
ea4357 can be enumerated, but get setconfiugre value of 0
2013-05-29 16:56:15 +07:00
hathach
dda0808ebb
fix lpcxpresso1347 board_leds
...
temp change USBD_API to ROM_API
add lpc13xx device support
fix romdriver pointer
able to init rom driver
2013-05-29 14:39:14 +07:00
hathach
1e5bd82af2
rename NGX to ngx
...
add a bunch of stub header for dcd (175x_6x, 13xx, 18xx_43xx)
add dcd_nxp_romdriver for handling usb rom driver
add BIT_TEST_ in binary.h
remove mw_usbd_hid.h include due to lexical conflict
2013-05-28 15:24:27 +07:00
hathach
7ae986de95
move board files
2013-05-27 11:57:16 +07:00
hathach
9b7f24bef2
add files for hitex4350 but fail to get it power on USB0 host connector
2013-05-23 17:19:28 +07:00
hathach
c4e6eec4ac
LED init for mcb4300
2013-05-23 15:14:57 +07:00
hathach
132c3996ea
move scu_pinmux(0x2, 5, MD_PLN | MD_EZI | MD_ZI, FUNC2) to hal/hal_lpc43xx.c
...
dual host run without problem with mcb4300
2013-05-23 14:56:11 +07:00
hathach
8cb7818bcc
- move CMSIS & driver lib for lpc13u to codebase bsp/lpc13xx
...
- change descriptor.c/h able to build device example
2013-05-23 13:22:46 +07:00
hathach
f8d1c3da3e
rename tusbh_hid_keyboard/mouse_is_supported to tusbh_hid_keyboard/mouse_is_mounted
2013-05-14 03:03:54 +07:00
hathach
446038fd36
move cmsis to bsp/lpc43xx to keep all in repos for travis-ci run
...
update setting for all project file respectively
2013-05-09 15:23:04 +07:00
hathach
4fa7f77ee2
adding keil mcb4300 support
...
- implement board_leds & board_uart routines
2013-05-06 15:06:08 +07:00
hathach
120db28a17
change format of file header & license spacing
2013-05-06 12:50:19 +07:00
hathach
c202bfe556
move ngx4330 to ngx folder in boards
2013-04-29 20:43:16 +07:00
hathach
1ae5484320
finally able to get freeRTOS run with current mouse + keyboard example
...
NOTES: print_greeting if is executed before the start of freeRTOS scheduler --> hardfault
- print_greeting->vsprintf->systick -> bunch of ISR --> hardfault.
printf using serial after the start of scheduler is ok though
2013-04-25 15:43:33 +07:00
hathach
d4a2600ecc
- change OSAL_TASK_FUNCTION to have void* parameter (to be consistent with most popular RTOS)
...
- add new error enum TUSB_ERROR_OSAL_TASK_CREATE_FAILED
- move usbh_enumeration_task prototype to usbh.h
- change OSAL_SUBTASK_INVOKED_AND_WAIT behavior, will not "return" in calling task when subtask got error status.
calling task need to do that after the call
- osal_queue_receive signature from uint32_t* to void*
- implement osal_freertos.h for FreeRTOS 7.3 --> able to compile & build host_freertos
+ OSAL_TASK_FUNCTION
+ turn on FPU for M4 in both host_os_none & host_freertos (freertos requires FPU to be on to compile)
+ osal_task_create
+ OSAL_SUBTASK_INVOKED_AND_WAIT
+ SUBTASK_ASSERT
+ osal_semaphore_reset
+ osal_queue_flush
+ adding heap_1.c for memory management
2013-04-24 17:53:43 +07:00
hathach
8cc4c6f52d
change the board_leds API to on_mask, off_mask
...
getting led toggling per second on host demo
add greeting message
2013-04-22 12:10:52 +07:00
hathach
799c709524
adding oem base board lib for ea4357
2013-04-22 11:22:56 +07:00
hathach
ea1b5ec355
house cleaning
2013-04-22 11:16:12 +07:00
hathach
0d55f7d290
moving things around
2013-04-22 11:03:18 +07:00
hathach
c20071c55c
fix compiler error for USB1 to none in ehci.c
...
rename and moving bsp ea4357
2013-04-22 11:00:43 +07:00
hathach
a493fab753
separate fake ehci's run async & period list
...
refractor list_find_previous_item & list_remove_qhd to act on ehci_link_t* instead of ehci_qhd_t*
fully support 1ms, 2ms, 4ms, 8ms for period list (each list has a dummy queue head)
- change period list structure
limit the maximum polling interval to 256 ms
add max_loop static MAX number of iteration for list_find_previous_item
add test for close 256ms polling interrupt
2013-04-21 15:09:54 +07:00
hathach
11dff6f978
add Lib_OemBaseBoard to bsp/board but current exclude from all builds (added when needed later)
2013-04-09 02:30:33 +07:00
hathach
c036efff1d
adding code to allow configure MIC2555 to pull down D+/D- (still need bit bangding I2C on PB_0 PB_1)
...
add back port reset after get 8 bytes of device descriptor
2013-04-09 02:13:18 +07:00