Commit Graph

68 Commits

Author SHA1 Message Date
49a8529dcf clean up cmake, remove family_get_project_name() 2025-12-19 12:33:42 +07:00
22534a6019 Merge remote-tracking branch 'tinyusb/master' into support-nxp-rw612
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-12-16 11:51:42 +01:00
1583864e0b minor clean up 2025-12-15 13:28:24 +07:00
b43b99a571 bsp: nxp: add support for RW612 (FRDM-RW612)
- Added `rw61x` family support.
- Added `frdm_rw612` board support.
- Update `get_deps.py` to include mcux-sdk for RW61x.
- Add ci_hs_rw61x include to ChipIdea HS driver and enable host examples.
2025-12-14 01:30:12 +01:00
2d3aaaf6e1 bsp/stm32h5: support host mode
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-27 22:39:34 +01:00
03bd8c26d6 fsdev: reorganize functions
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-25 22:45:40 +01:00
0172f40e66 update espressif cmake 2025-11-06 11:39:10 +07:00
8979af34c0 Fixed more alert found by PVS-Studio 2025-11-04 19:56:53 +07:00
bda7efb1b3 fix #2942, include stdio if CFG_TUSB_DEBUG > 0 and CFG_TUSB_DEBUG_PRINTF is not defined 2025-11-03 10:46:09 +07:00
813eba22c1 Merge pull request #3271 from karlp/pr/examplesd-freertos-stacks
examples/device/*_freertos: expand stack size when needed
2025-10-30 14:21:24 +07:00
ec8ef7a9af increase freertos stack size when debug is enabled 2025-10-30 11:16:19 +07:00
d92b810df7 fix Identifiers that start with '__' or '_[A-Z]' are reserved.
fix compiling with nuc family
2025-10-28 14:14:01 +07:00
c48bbfab5e more make refactor 2025-10-14 17:53:55 +07:00
0a2b6e77da more warnings fix 2025-10-14 17:33:56 +07:00
47b13f6b10 improve cmake warning flags, fix various warnings in examples 2025-10-14 17:13:28 +07:00
9bf18d080b move make.mk to hw/bsp/family_support.mk 2025-10-14 15:14:43 +07:00
1cec005f8f examples/device/*_freertos: expand stack size when needed
All four of these examples immediately crashed on stack overflow when
connected, at least on a FRDM_K64F board.

In 46fd822990 the default freertos stack size was increased, but
_only_ for stm32?  Perhaps either all platform examples need the default
increased, rather than increasing the problem task stacks as is done
here.

Signed-off-by: Karl Palsson <karl.palsson@marel.com>
2025-10-01 10:47:19 +00:00
be9409bfa7 Fix board_init_after_tusb
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-09-17 23:44:01 +02:00
e598972438 add board_vbus_set() for samd21/d51 to enable usb host vbus
enable host example build for samd21/d51
2025-07-09 16:01:11 +07:00
0388700ad7 update esp build, replace TUSB_MCU_VENDOR_ESPRESSIF by ESP_PLATFORM 2025-07-02 15:32:12 +07:00
d86362414e clean up 2025-06-27 21:17:30 +07:00
fa3ec44533 revert CFG_TUH_CDC_DTR/RTS_CONTROL_ON_ENUM 2025-06-19 17:22:26 +07:00
4a44dd5c47 Merge branch 'master' into fork/IngHK/cdch_upgrade
# Conflicts:
#	README.rst
#	docs/reference/index.rst
#	src/class/cdc/cdc_device.c
#	src/class/cdc/cdc_host.c
2025-06-16 11:08:01 +07:00
386f33807a Merge branch 'master' into fork/james-advatek/stm32n657nucleo 2025-06-12 11:02:54 +07:00
56c9521abd chore: squash previous commits from other branches 2025-06-04 11:21:27 +10:00
9645baa42e include h7rs in host examples.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-22 20:19:34 +02:00
99673cdbb8 fix wanings 2025-03-25 17:36:15 +07:00
65e44e0a51 fix(dwc2) host driver conflict with max3421e 2025-03-06 22:46:21 +07:00
9d2fd6c4ac Merge pull request #2984 from HiFiPhile/preset
Add CMake presets.
2025-02-14 11:29:33 +07:00
14f1feac84 Fix path.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-02-11 20:56:41 +01:00
f1ce4918c2 update make to use FreeRTOSConfig in family instead of examples 2025-02-11 21:44:35 +07:00
09bce3532c Add CMake presets.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-02-09 00:25:38 +01:00
c8130afe9b bump up cmake min to 3.20 2025-01-21 16:28:26 +07:00
67e92e6688 add TUH_EPBUF_DEF for cdc host 2024-11-26 22:07:28 +07:00
d9f3e7dd25 add TUH_EPBUF_DEF for hid host 2024-11-26 16:32:19 +07:00
34346d61f0 missing host/cdc_msc_hid_freertos 2024-11-21 18:08:52 +07:00
ab8160a29b hcd work with esp32p4 in slave mode but have issue with DMA mode. In slave it enumerate device but has issue with msc bulk in 2024-11-07 16:37:33 +07:00
9920ebff4a update bsp for h7 to support host mode 2024-11-07 15:04:19 +07:00
4012e15075 move core init code to dwc2 common. update/correct build for esppressif 2024-10-15 17:55:24 +07:00
1f18be93db change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
92602b9de3 change tusb_init(), tusb_rhport_init() to use init struct for expandability 2024-10-11 13:41:53 +07:00
57aac432b5 add new tusb_int_handler(rhport, in_isr) as common irq handler
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
3e2ea77506 More ci tweak (#2636)
* change concurrency group to ${{ github.workflow }}-${{ github.ref }}
* use argparse for build.py hil_test.py, remove the need to install click
* move ci win/mac to build_cmake.yml
* rename build_family.yml to build_util.yml
* build_util.yml support esp32
* integrate build-espressif into build.yml
* build.py support make with --board option
* add get_deps action
* update hil test to reuse action
2024-05-10 18:55:43 +07:00
223ce56625 - add esp32 c3, c6 mcu option
- skip breakpoint for espressif riscv
2024-04-26 00:10:57 +07:00
2e995d7cf4 adding support for esp32 for use with max3421e host 2024-04-25 20:23:40 +07:00
b67cb26e51 change hil board s3 devkitm (devkitc seems to have usb issue with cp2104) 2024-04-24 16:17:33 +07:00
c097c85dcf fix print lu format warnings with clang 2024-04-22 16:17:22 +07:00
f00e698ae2 Merge remote-tracking branch 'remotes/hathach/master' into cdch_upgrade 2024-04-04 14:17:17 +02:00
e2a5630811 Merge remote-tracking branch 'remotes/hathach/master' into cdch_upgrade 2024-04-04 14:07:32 +02:00
f603c4a330 skip cdc_msc_hid_freertos example for rp2040 2024-04-04 13:01:16 +07:00