49a8529dcf
clean up cmake, remove family_get_project_name()
2025-12-19 12:33:42 +07:00
f11adb02eb
migrate cdc device to use edpt stream API
...
tu_edpt_stream_open() does not clear fifo, allow for persistent stream when disconnect/reconnect
2025-11-12 21:22:25 +07:00
7f173ab5ed
fix more alerts
2025-11-08 15:54:02 +07:00
9fac6dd49d
fix more alerts found by pvs-studio
2025-11-07 16:17:13 +07:00
8979af34c0
Fixed more alert found by PVS-Studio
2025-11-04 19:56:53 +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
a12806a6cd
fix descriptor warning when shifting zero
2025-10-28 00:17:26 +07:00
f39dcae9f1
fix several warnings
2025-10-24 13:04:49 +07:00
55227a6146
fix more warnings
2025-10-15 16:37:01 +07:00
8199ed6fd0
refactor all nuc to family
2025-10-15 13:37:21 +07:00
2a8811ebb0
merge samd2x and saml2x bsp, add OPT_MCU_SAML2X to replace OPT_MCU_SAML21 & OPT_MCU_SAML22
2025-10-15 00:15:46 +07:00
c48bbfab5e
more make refactor
2025-10-14 17:53:55 +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
be9409bfa7
Fix board_init_after_tusb
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-09-17 23:44:01 +02:00
9290788a23
add at32 to README.rst, rename at32 board to lower case, correct name to match mcu, add meta data
2025-08-01 22:10:12 +07:00
b67e00892c
add ci build for all at32, use linker and startup from mcu cmsis instead of local files
2025-07-31 21:52:59 +07:00
a42184b6fe
remove legacy DEPS_SUBMODULES in make
2025-07-02 11:03:50 +07:00
386f33807a
Merge branch 'master' into fork/james-advatek/stm32n657nucleo
2025-06-12 11:02:54 +07:00
d3d505e8f7
Merge branch 'master' into fork/HiFiPhile/h7rs
2025-06-11 16:23:54 +07:00
56c9521abd
chore: squash previous commits from other branches
2025-06-04 11:21:27 +10:00
b6ce41188e
examples/device/net_lwip_webserver: Simplify example code.
...
Now that tud_network_recv_renew has protections against recursion it's
safe and simpler to handle the lwip frame entirely in the same callback.
2025-05-29 09:36:38 +10:00
5de4a23abe
Add USB NCM link state control support
...
This adds the ability to dynamically control the network link state
for NCM devices. The host OS will see the network interface as
connected/disconnected based on the link state.
New API:
- tud_network_link_state(rhport, is_up): Set link up/down state
Example updates:
- Added button control to toggle link state
- Fixed LWIP integration to properly handle link state changes
- Added printf to show correct protocol (NCM vs RNDIS/ECM)
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-05-29 09:36:38 +10:00
c183108a82
Skip net_lwip_webserver, too big for h7rs
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-04-13 12:24:30 +02: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
79373afaaf
Merge branch 'master' into fork/HiFiPhile/lwip_fix
2024-11-28 16:11:30 +07:00
047ba0a62d
Add comment to BOS descriptor.
2024-10-15 21:49:02 +02: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
ad362c8ac4
Add MSOS 2.0 descriptor to auto load NCM driver on Windows.
2024-10-05 15:51:02 +02:00
3d3dcb1ee9
service_traffic: Don't call pbuf_free when ethernet_input is Ok
2024-10-05 15:51:02 +02:00
fa44923de1
skip some examples for mcxa15
2024-09-30 22:13:30 +07:00
088486186f
rename TUD_ENDPOINT_EXCLUSIVE_NUMBER to TUD_ENDPOINT_ONE_DIRECTION_ONLY
2024-08-19 19:05:33 +07:00
a6bee747b6
define and use TUD_ENDPOINT_EXCLUSIVE_NUMBER
2024-08-17 18:07:36 +07:00
761399b5e0
Merge branch 'refs/heads/master' into fork/BrentK-ADI/max32_port
2024-08-14 06:33:42 +07:00
23c9353cd8
net_lwip_webserver: allow TINYUSB_LWIP_PATH to be defined by parent CMake file
2024-07-18 11:10:55 +01:00
2353c4ffba
Add MAX78002 Support
...
-Added support for MAX78002, MAX78002EVKIT
-Added provisions for remaining MAX32 USB parts
2024-07-01 17:31:38 -04:00
0f288326cc
Initial Commit for MAX32 Support
...
Initial commit for the port of TUSB to MAX32xxx parts, staring with MAX32690
- Added dcd_max32.c (based on dcd_musb.c) for interfacing with the peripheral
- Added MAX32690 part family support
- Added max32690evkit board support
- Updated examples for unique EP number requirement
- Updated get_deps.py to fetch the MSDK
Known Issues / Additional Testing Required
- msc_dual_lun only shown 1 volume on Windows
- USBTMC does not have a valid Windowsdriver
- DFU does not have a valid Windows driver
- WebUSB is "Device not Recognized"
- Need to test build scripts with IAR and Clang
2024-06-28 16:55:27 -04:00
f32851cf2a
fix ci skip example for ch32v1
2024-06-14 16:16:10 +07:00
2a67ce773d
change default risv-gcc to riscv-none-elf- and add _zicsr extension
...
add cmake for ch32v20x, skip freertos examples for CH32V20X, also skip net webserver due to lack of RAM
update to use openocd with wlinke adapter
2024-05-16 19:18:43 +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
e5d92c4ea7
Fix CI.
2024-05-07 00:37:57 +02:00
0f4ea8e918
Enable NCM + iperf for MCU with bigger RAM.
2024-05-07 00:23:50 +02:00
63d5103f42
Increase TCP_WND for better performance.
2024-05-07 00:18:31 +02:00
d25ee82d3f
Reformat net_lwip_webserver example.
2024-05-07 00:17:09 +02:00
a29852320a
Merge remote-tracking branch 'upstream/master' into pr/2227
2024-04-28 19:46:00 +02:00
83840041a8
update esp32 to also be supported by hil test
...
test run locally well
2023-11-29 17:09:52 +07:00
26ca48e7a7
move make.mk and rules.mk to build_system/make
2023-11-23 20:20:01 +07:00