70 Commits

Author SHA1 Message Date
hathach
ec018fbf4e clean up jlink default interface 2020-10-08 17:17:37 +07:00
hathach
4ecedc70c8 fix vector assign 2020-09-03 23:48:56 +07:00
hathach
1d83ad0ebb rename tuh_isr/hcd_isr to tuh_int_handler/hcd_int_handler 2020-09-03 13:12:25 +07:00
hathach
1cee2da7b9 revert to use __USE_LPCOPEN
properly init fpu on LPC M4
2020-09-03 12:58:09 +07:00
hathach
c492aef4c7 revert to use float-abi
define __USE_CMSIS instead of __USE_LPCOPEN will have startup enable FPU
on startup properly. Although it is only relevant to lpx43/40 series,
change all to __USE_CMSIS for consistency
2020-09-02 00:46:08 +07:00
hathach
84425c50b3 add more logging to host stack
tested host with lpc4357, don't use fpu with lpc m4 since it seems to
cause hardfault (stack does not make use of fpu anyway).
2020-09-01 19:16:50 +07:00
hathach
58cedf4c06 usb0 host on mcb1800 work with fullspeed mode.
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-19 00:55:43 +07:00
hathach
905a80d1b2 temporarily remove osal_task_delay() from osal
- add hcd_uframe_number() API, update EHCI to return uframe number
- get host running on ea4357
2020-05-04 14:11:58 +07:00
hathach
4a3a448340 clean up things, add makefile for host example 2020-05-04 00:29:52 +07:00
hathach
9538ca7d74 add uart for mcb1800 2020-05-03 14:50:12 +07:00
hathach
e4570c35f7 add uart for ea4357 2020-04-20 00:27:35 +07:00
hathach
50be9d7c3a
mass rename tud/dcd_irq_handler to tud/dcd_init_handler 2020-04-17 12:27:53 +07:00
hathach
dc4bf02dcb mass rename tud_isr to tud_irq_handler 2020-04-06 17:04:49 +07:00
hathach
6a1416d18a fix cortex M7, M23, M33 freertos build 2020-03-11 00:47:13 +07:00
hathach
487b887f80 freertos demo use static only for most optmized sram 2020-03-11 00:09:37 +07:00
hathach
3ea95c2ab6 clean up LD_FILE using $(BOARD)
make it easier to duplicate bsp
2020-03-07 17:49:30 +07:00
hathach
a02e723d09 rename dcd lpc18_43 to transdimension 2019-11-22 14:54:23 +07:00
hathach
a0b2561a2d move nxp dcd ehci controller reset and modde into dcd
rt1064 work with cdc msc example
2019-11-22 14:20:10 +07:00
hathach
f5d737aa7e moving irq to bsp for lpc17/40 2019-11-21 23:19:38 +07:00
hathach
bbec47b647 adding tud_isr/tuh_isr with lpc18/43 2019-11-21 22:20:30 +07:00
hathach
f638594536 move -flto to board.mk
current board that doesn work with flto is spresense and mimxrt10xx (due
to xip image_vector_table is optimized out).
2019-11-20 16:06:40 +07:00
hathach
cd96b3de86 update makefile for lpc boards 2019-11-11 11:51:51 +07:00
hathach
1684cb06b7 update makefile for lpc mcu 2019-11-11 11:24:10 +07:00
hathach
6f952a8e84 fix missing board uart read/write() 2019-10-24 12:20:06 +07:00
hathach
195d0f5a14 adding log support with uart
started with pca10056
2019-10-12 00:02:51 +07:00
hathach
6183dbd0ce add -Wextra for more warnings to example
non-stack warning (probably mcu driver) should be suppressed in the
board.mk
2019-09-27 00:15:43 +07:00
hathach
4f4182e171 clean up lpc makefile 2019-09-09 12:39:58 +07:00
hathach
8ac115a33e clean up 2019-09-09 12:25:39 +07:00
hathach
0ab8829e55 fix segger embbeded studio compile issue 2019-08-31 23:53:10 +07:00
hathach
e5e73ed76c drop board_* in bsp c file
move hw/cmsis to hw/mcu/nordic since only nrf uses it.
2019-08-23 23:35:55 +07:00
hathach
6e9324e29c
clean up 2019-05-15 18:16:48 +07:00
hathach
3278a9765b
ea4357 build with makefile, add to travis 2019-05-15 18:01:58 +07:00
hathach
7bd16aaf9b
add button for ea4357 2019-05-15 17:52:29 +07:00
hathach
3e6d911ce9
more clean up use inline bit funciton instead of macros 2019-05-14 12:54:29 +07:00
hathach
61ec407752
update license year to 2019 2019-05-14 11:48:05 +07:00
hathach
5f3ab2afe1
rename board_led_control to board_led_write 2019-04-02 18:16:04 +07:00
hathach
8457d0d14c
add board_button_read() 2019-04-01 18:35:37 +07:00
hathach
18f248b142
remove tusb_hal_millis() usage, less work for porting 2019-03-24 01:19:32 +07:00
hathach
29e075b8b9
clean up bsp, adde board_millis() 2019-03-23 22:31:07 +07:00
hathach
df1aac44b8
add board_noos_millis() for blinky 2019-03-23 16:51:07 +07:00
hathach
ba1bea5d53
simplify board API, adding stm32f3 discovery
- remove board header since it is not used
2019-03-22 22:06:48 +07:00
hathach
20fb416783 clean board uart read & write 2019-03-20 20:58:27 +07:00
hathach
c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
hathach
2a60427bdc rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency 2018-12-14 15:30:54 +07:00
hathach
d524da0c94
enable all warnings 2018-12-07 14:49:55 +07:00
hathach
5d4d3431c2 host port plugged isr detect, but control xfer not work 2018-12-06 00:10:49 +07:00
hathach
a73017fdc2
hal clean up
- replace tusb_hal_int_enable/disable to dcd_int_enable/disable,
hcd_int_enable/disable
- remove tusb_hal_init(), this will be part of dcd_init/hcd_init,
anything beyond dcd/hcd should be inited by bsp
2018-12-05 13:20:25 +07:00
hathach
c1336dff03
lpc move Chip_USB_Init() out of stack to bsp 2018-12-05 11:53:56 +07:00
hathach
7120e12971
add mcb1800, blink led ok 2018-12-04 13:17:12 +07:00
hathach
a9e015d619
forgot to add ea4357 files 2018-12-03 23:23:59 +07:00