hathach
e8558458c4
fix ci
2023-09-07 17:09:25 +07:00
hathach
2dea4ce6a2
add cmake support for samd21.
...
update ci cmake
2023-09-07 16:58:40 +07:00
hathach
bb5d43e9c5
add samd51 to cmake
2023-09-07 15:31:43 +07:00
hathach
21ab40bab2
- wrap up hcd max3421, work well with nrf52840
...
- also add usbh_defer_func()
2023-09-07 12:38:18 +07:00
Gabriel Chouinard
c4566c4d2b
Enable instruction cache for stm32u5 boards
2023-09-05 21:39:28 -04:00
Gabriel Chouinard
4fb15f6bb7
Add stm32u575-nucleo support
2023-09-05 19:30:38 -04:00
hathach
3b7d5aa042
improve connection & disconnection detection. But there is still issue when CONDETIRQ occurs but we are disabled interrupt (for osal queue access).
2023-08-31 16:52:09 +07:00
hathach
1ab488eb06
call xfer_complete_isr() when result is not successful (stalled or failed)
2023-08-30 16:04:18 +07:00
hathach
3740a3287a
- correct tuh_max3421e_int_api() for nrf52
...
- hcd_int_disable/enable is software only to reduce interrupt lag
2023-08-29 18:22:21 +07:00
yuxiaojun
c350616038
fix:Resource leak: fp
...
Signed-off-by: yuxiaojun <yuxiaojun1011@outlook.com>
2023-08-28 15:24:14 +08:00
hathach
b31924e13e
- add xfer_complete_isr()
...
- merge addr0 ep to pool
- add control status to xact in/out
- use atomic flag busy to ensure only 1 transfer is active at any time
- execute pending transfer after one is complete (or clear busy flag)
- change rtt mode to block if full
2023-08-28 12:41:44 +07:00
hathach
3ed5d6c372
complete enumeration
2023-08-24 16:27:12 +07:00
hathach
e3f3179924
able to get 8 byte descriptor, but read(RCVBC) always return 0
...
- rename max3421e to max3421
- fix incorrect bitmask for HCTL, fix initial device connect
- fix bus reset cause connect IRQ
2023-08-23 15:08:12 +07:00
hathach
274578ff46
able to send setup packet
2023-08-22 23:17:12 +07:00
hathach
cacc96b25d
adding connection event handling, add nrf gpio interrupt for max2341e interrupt pin
2023-08-18 17:39:10 +07:00
hathach
824e585e2b
ground works for hcd max3421e
2023-08-18 14:07:38 +07:00
hathach
9257a0f562
- update nrf52 bsp for cmake
...
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled
- add hcd_template.c
2023-08-18 12:48:12 +07:00
hathach
088180e3d8
add iar support for lpc43, add lpcxpresso43s67 to hil farm
2023-08-14 20:58:00 +07:00
hathach
78e5b2c6a4
add board_get_unique_id() for lpc43
2023-08-14 16:52:16 +07:00
hathach
202b945f88
add lpcxpresso43s67
2023-08-14 16:38:51 +07:00
Ha Thach
04f0cd5c80
Merge pull request #2209 from HiFiPhile/hitl
...
Enhance HITL test
2023-08-09 20:20:46 +07:00
hathach
1268d1a093
update hil test and json (remove troublesome lpc54608), run hil test on ci with IAR build
2023-08-09 18:46:23 +07:00
hathach
b8b01c1075
update to dcd ip3511 to add work-around for lpc54628 usb hs errata USB.1 and USB.2
...
msc is mounted, but device couldn't work reliably and got constant reset
due to other errata probably.
2023-08-09 12:47:24 +07:00
hathach
6d877c3170
added cmake for lpc54, update lpc55
2023-08-08 18:50:24 +07:00
hathach
4938971aad
code format
2023-08-07 20:48:09 +07:00
Ha Thach
accc3fd737
Merge pull request #2151 from kilograham/rp2040_build_fixes
...
Fix build issues when building for RP2040 from pico-examples/pico-sdk.
2023-08-07 11:14:04 +07:00
HiFiPhile
b9e614bd39
Fix LPC54 build.
2023-08-06 15:59:25 +02:00
HiFiPhile
4f96eebe1b
Fix LPC54 build.
2023-08-06 13:41:10 +02:00
hathach
25bace5e81
add cmake for all board in stm32f4. fix build, also move ci for f4 from makefile to cmake
2023-08-04 12:49:26 +07:00
hathach
81aca17d6e
Merge branch 'master' into blackf407VE
2023-08-04 12:07:39 +07:00
Ha Thach
de4ad2c775
Merge pull request #2204 from hathach/enhance-bsp
...
Enhance bsp
2023-08-04 11:41:44 +07:00
Ha Thach
bbdc879995
Merge pull request #2133 from greatscottgadgets/cynthion_support
...
Update support for Cynthion boards
2023-08-04 11:03:25 +07:00
hathach
ef5bd9ee6c
Merge branch 'master' into enhance-bsp
2023-08-04 00:31:12 +07:00
hathach
9360a3bd51
add uid for some stm32
2023-08-04 00:23:10 +07:00
hathach
041f510f90
add board_get_unique_id() for serial number
...
implemented board_get_unique_id() for rp2040 and L4
2023-08-03 20:42:34 +07:00
Ha Thach
6d03bb9ffc
Merge pull request #2052 from arduino/renesas_ra_hs_rebased
...
Renesas_RA: add support for board with HS USB port
2023-08-03 20:41:13 +07:00
hathach
1324c2862d
more board_api rename
2023-08-03 17:32:15 +07:00
hathach
a160da1f2b
add lpc43 family
2023-08-03 17:19:47 +07:00
hathach
a5768f52b4
more board_api.h rename
2023-08-03 15:50:52 +07:00
hathach
cf91660cee
rename hw/bsp/board.h to board_api.h
2023-08-03 15:44:05 +07:00
hathach
4493b838d9
rename ch32v307 and tm4c123 to use underscore
2023-08-03 15:35:01 +07:00
hathach
37a7f9f382
configQUEUE_REGISTRY_SIZE=4 for lpc18
2023-08-03 12:07:28 +07:00
hathach
473f37df95
add osal queue name if needed
...
also mass change configQUEUE_REGISTRY_SIZE = 4
2023-08-03 12:05:21 +07:00
hathach
2021c62997
fix pre-commit, also skip lto for rp2040
2023-08-02 17:57:28 +07:00
HiFiPhile
07822979aa
Fix STM32G0 build.
2023-08-01 18:41:15 +02:00
hathach
47ae883ba0
fix build with -flto
2023-08-01 17:26:56 +07:00
hathach
04f1a34c39
add rusb2_common.c for dynami irq
2023-08-01 17:03:07 +07:00
hathach
40833b585b
enable flto for ra makefile
...
- remove ra from ci make build since it is already in cmake ci
2023-08-01 15:44:54 +07:00
hathach
789e478d4d
add portenta c33 bsp, add flash by dfu-util
2023-08-01 13:16:37 +07:00
hathach
1cccbaf7ec
fix board name with dash
2023-08-01 11:18:00 +07:00
hathach
3f788a4e5a
enable USBMC for uno r4, add board_init_after_tusb() API
...
add BOARD_UPPERCASE for board detection
2023-07-31 19:09:40 +07:00
hathach
0d9973ef87
enable_irq since uno bootloader can disable it. systick triggered, however usb still not work with uno
2023-07-31 16:21:19 +07:00
hathach
feb58ebd54
add uno r4 wih FLASH_IMAGE_START=0x4000, running but interrupt (systick) does not seems to work
2023-07-28 19:01:12 +07:00
0xCCF4
8226b046a9
Fixed typo in rp2040 hw bspw family.c
2023-07-28 11:19:08 +02:00
hathach
ec093bebad
Merge branch 'master' into renesas_ra_hs_rebased
2023-07-27 16:50:34 +07:00
hathach
6b6dcc6c09
refactored multiple ports for hcd rusb2
2023-07-26 19:52:33 +07:00
hathach
1cb3f0e92a
increase stack size for 6 series to 0x1000, 4 series to 0x800
2023-07-26 18:56:13 +07:00
hathach
fbaa148fe0
updating hcd rusb2
...
- make osal_task_delay() as weak function in usbh
- implement osal_task_delay() in hcd rusb2 (may moved to other places)
2023-07-26 18:55:41 +07:00
hathach
4deea87579
improve processing usb complete and error isr.
...
also merge them together
2023-07-25 15:07:21 +07:00
Ha Thach
fda92fd34a
Merge branch 'master' into hcd-abort-xfer
2023-07-24 21:38:46 +07:00
hathach
f295aaf185
add hcd abort xfer for rp2040 pio usb
2023-07-24 20:58:50 +07:00
hathach
25225ba792
minor clean up
2023-07-24 18:04:42 +07:00
hathach
14a7379799
fix ohci warnings, and add freertosconfig for lpc4088
2023-07-24 16:54:02 +07:00
hathach
210fc7d038
add etm trace pinmux for 4088 quickstart
2023-07-24 16:19:45 +07:00
hathach
ef49b93532
rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stack
...
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-24 15:46:21 +07:00
hathach
a268e0b7a3
add lpc40 to cmake
2023-07-24 15:18:41 +07:00
jferreir
34ff7af7c7
Fix trailing spaces issue
2023-07-20 18:12:36 +02:00
jferreir
6ac7f19640
fix compilation issues for XMC4500_RELAX
2023-07-20 17:01:00 +02:00
jferreir
2772581c28
Add support for XMC4700_RELAX kit
2023-07-20 10:53:59 +02:00
jferreir
59778664c9
Add UART_DEV support
2023-07-20 10:53:29 +02:00
jferreir
b1e345b6bc
Add UART_DEV support
2023-07-20 10:52:16 +02:00
Ha Thach
6c7c9f2ef5
Merge pull request #2152 from kilograham/is_pico_pio_usb_supported
...
add is_compiler_supported_by_pico_pio_usb() for rp2040
2023-07-18 23:54:33 +07:00
graham sanderson
08a1892801
add is_compiler_supported_by_pico_pio_usb()
...
previosuly users of TinyUSB (e.g. pico-examples) would have to decide this for themselves. This function couples
the check closer with the actual version of Pico-PIO-USB used (since TinyUSB picks)
2023-07-18 11:04:46 -05:00
graham sanderson
3678a25baa
Fix build issues when building for RP2040 from pico-examples/pico-sdk.
...
* include_guard requires GLOBAL as family.cmake is included in multiple non child places
* the following recently added check is suprfluous (family_configure_host_example for rp2040 should do this already),
and breaks if pico_pio_usb is not avaialble, so i have removed
# Add pico-pio-usb for rp2040 since user can choose to run on bit-banging host
if(FAMILY STREQUAL "rp2040")
family_add_pico_pio_usb(${PROJECT})
endif()
* added new familt_example_missing_dependency functino to print missing dependency warning, so
pico-examples can override it to be less in your face, and also more contextual to pico-examples
2023-07-18 09:03:01 -05:00
hathach
2cd0b9ec35
fix etm trace clock with stm32h743eval board
2023-07-18 16:22:05 +07:00
hathach
b56c4fe945
Merge branch 'master' into renesas_ra_hs_rebased
2023-07-18 15:13:58 +07:00
hathach
5723d38087
correct jlink dev for rt1010
2023-07-18 13:28:57 +07:00
hathach
eb298e2b81
add clock_config.c for imxrt generated by mcuxpresso config
2023-07-14 12:45:54 +07:00
hathach
88478a9d05
add PORT selection for makefile
2023-07-07 16:24:22 +07:00
hathach
e0f1ba8b0e
fully work with multiple ports without CFG_TUSB_RHPORT0/1
2023-07-07 16:07:11 +07:00
hathach
4bbacb1008
correct setting trace clock
2023-07-07 11:07:57 +07:00
hathach
95b77a0e73
add rusb2_module_start(), more update for multiple ports for dcd rusb2
2023-07-06 15:54:07 +07:00
hathach
f308435b64
update ra type to include usbhs registers
2023-07-06 09:34:33 +07:00
hathach
f79529c09c
usb hs work with ra 6m5 ek
2023-07-05 17:13:01 +07:00
hathach
1d6ca3bc9b
fix ra4m3 ek build
2023-07-04 20:04:54 +07:00
hathach
071c30f381
update fsp to version 4.5, correct RA BSP. Fix ETM Trace with 6m5 by lowering PLL to 128Mhz.
2023-07-04 19:27:37 +07:00
Andrew Hooper
cfc146e18f
Add FreeRTOSConfig for family stm32f4
2023-07-04 08:08:05 -04:00
Andrew Hooper
34966304dd
Restore RTOS argument for stm32f4
2023-07-03 11:21:47 -04:00
hathach
bb0e688b8e
add jlinkscript for detect rtt
2023-07-03 16:35:22 +07:00
hathach
04b1a67898
Merge branch 'master' into renesas_ra_hs_rebased
2023-07-03 13:09:43 +07:00
hathach
d5d1b43eb9
board pin data clean up
2023-07-03 12:07:27 +07:00
hathach
4080ab3d03
wrap up ra update
2023-07-03 11:22:19 +07:00
hathach
960d9fa6f1
move files around
2023-07-03 11:03:50 +07:00
hathach
ad7764b5b2
move vector_data.h and ioport_cfg.h to common family
2023-07-03 10:54:37 +07:00
hathach
787229a35e
add etm trace for 6m5
2023-07-02 23:39:43 +07:00
hathach
ec02ddf986
initial ra6m5 ek, board_test led + sw works
2023-07-01 21:43:52 +07:00
A. Hooper
9554a354d4
Merge branch 'hathach:master' into blackf407VE
2023-07-01 08:03:16 -04:00
Andrew Hooper
7d45a43f57
Correct loader file
2023-07-01 07:59:39 -04:00
hathach
54dc699ddd
forgot board.mk for ra6m1
2023-07-01 17:43:06 +07:00
hathach
c5d958d104
add ra6m1 board
2023-07-01 17:27:45 +07:00
hathach
50381f7b4c
refactor to match fsp_cfg
2023-07-01 17:09:09 +07:00
hathach
22fb66436d
update linker
2023-07-01 16:40:47 +07:00
hathach
99e75e6a8a
rework ra build
2023-07-01 12:41:12 +07:00
mndza
14d69e46be
Update support for Cynthion boards
...
- Rename LUNA to Cynthion
- Add support for newer revisions (>=0.6)
- Bootloader (saturn-v) default size is now 2K
2023-06-30 11:30:33 +02:00
hathach
48738df489
move LTO checked to family_support.cmake
2023-06-30 16:05:59 +07:00
hathach
3cb4d73899
clean up ra makefile
2023-06-30 14:52:04 +07:00
hathach
6284f2d722
add hcd_frame_number() for pio-usb host
2023-06-29 18:58:33 +07:00
hathach
e43387abac
rework cmake with rtos support add RTOS to family_configure_device/host/dual_example()
2023-06-27 15:45:38 +07:00
hathach
a61d0f074f
more rp2040 family clean up
2023-06-26 23:08:59 +07:00
hathach
8aa28e63fb
minor clean up with include_guard()
2023-06-26 17:54:31 +07:00
hathach
3cfb838ba7
fix warnings when enable rtt with rp2040
2023-06-26 17:03:45 +07:00
hathach
200e58d11e
auto detect FAMILY based on BOARD
2023-06-26 13:38:24 +07:00
hathach
2ecd7c148d
fix ci with lpc55 and kl, move hw test l4 to cmake iar
2023-06-25 09:55:05 +07:00
hathach
15376397b1
run ci with -DCMAKE_BUILD_TYPE=MinSizeRel
2023-06-25 00:05:23 +07:00
hathach
a64d5607a7
fix l4 freertos build
2023-06-24 23:17:28 +07:00
hathach
b9cefb1440
fix build with L4
2023-06-24 23:10:01 +07:00
hathach
c81d8b43a1
fix ci build
2023-06-24 22:58:15 +07:00
hathach
430f16bf76
move all IAR to cmake
2023-06-24 22:36:53 +07:00
hathach
2a96ef2519
add cmake for f0, f1
2023-06-24 21:47:55 +07:00
hathach
eb4380fa14
more make update
2023-06-24 20:17:48 +07:00
hathach
2216704db8
rename GCC_CFLAGS to CFLAGS_GCC, GCC_SRC_S to SRC_S_GCC etc ..
2023-06-24 19:31:33 +07:00
hathach
086c1d4090
more CPU_CORE
2023-06-24 18:54:14 +07:00
hathach
eb7fcf1b74
add CPU_CORE for all family
2023-06-24 18:38:41 +07:00
hathach
b59b65d2ed
rename to kinetis_k32l2, rename OPT_MCU_KINETIS_K32 to OPT_MCU_KINETIS_K32L
2023-06-24 18:26:51 +07:00
hathach
dbf7534cd4
update all stm32 to use new enhance make
2023-06-24 18:09:05 +07:00
hathach
edbf06aaab
separate iar and gcc build for clean make, also add cpu specific make
2023-06-24 17:35:37 +07:00
Andrew Hooper
3a5f43528e
Board support for STM32F407VETx
2023-06-23 11:51:58 -04:00
hathach
c789cfe518
use system_nrf5x.c built-in support for ETM with ENABLE_ETM
2023-06-20 16:13:10 +07:00
hathach
19c99d3b42
etm trace for nrf52840
2023-06-20 13:19:08 +07:00
hathach
1b658ae109
add etm trace for mcb1800
...
clean up other ide setting
2023-06-20 13:12:12 +07:00
hathach
7dc6829519
enable etm trace support for h743 eval
2023-06-19 16:33:47 +07:00
hathach
1419091923
update h7 to cmake, and move iar build to cmake
2023-06-16 16:47:32 +07:00
hathach
e754795d3a
fix build warnings
2023-06-16 15:29:34 +07:00
hathach
a7f330fa94
fix build, update freertos config for cmake
2023-06-16 14:17:25 +07:00
hathach
65d6acdbfa
fix build warnings
2023-06-16 12:02:42 +07:00
hathach
8af8869d3b
renam OPT_MCU_MIMXRT to OPT_MCU_MIMXRT1XXX
...
fix build util with makefile
2023-06-16 11:26:38 +07:00
hathach
d70403f1f4
refactor khci to chipidea fs driver for device (host is not yet)
2023-06-15 13:06:27 +07:00
hathach
bce282186e
update kinetis kl to use mcx-sdk, also add cmake support
...
note: cdc_msc_freertos built but does not seems to work with kl
2023-06-14 22:36:44 +07:00
hathach
31a66eb5bc
mcx neeed helps to locate rtt control block
2023-06-14 15:33:57 +07:00
hathach
8b8b9690ad
update segger rtt to fix cast align
2023-06-14 12:01:21 +07:00
Ha Thach
bbc76e7777
Merge pull request #2104 from hathach/g4-pd
...
Initial support for USB PD stack
2023-06-12 23:14:48 +07:00
hathach
912802456b
move protocol message to stack, disable battery in PWR's CR3
...
there is still issue with CC1/CC2 pull down resistor and vstate is not
correct.
2023-06-09 18:15:28 +07:00
hathach
9c2a8490af
dma rx works well
2023-06-08 13:37:37 +07:00
graham sanderson
0493983a8f
movement of TOP in c0ecf8b5
broke RP2040 SDK build
2023-06-07 14:46:14 -05:00
hathach
b893f1d541
inital support for usb typec and pd example
2023-06-07 15:10:40 +07:00
hathach
914e82b25d
able to receive first PD message
2023-06-07 09:36:37 +07:00
hathach
e02eee7477
revert board flash latency to 8
2023-06-07 00:14:22 +07:00
hathach
b3fda4a354
able to get usbpd irq handler
...
- handle cc1, cc2 voltage changes
- get order set, rx message end interrupt
- add segger rtt support for cmake
2023-06-06 23:55:33 +07:00
hathach
a70978e057
clean up
2023-06-05 19:53:40 +07:00
hathach
f6a45a7aab
clean up
2023-06-05 15:41:45 +07:00