1937 Commits

Author SHA1 Message Date
hathach
ba45625ea4
minor ci update 2025-04-18 14:29:06 +07:00
hathach
e8a84f9076
enum For string descriptor (langid, manufacturer product, serila): always get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow. 2025-04-18 10:53:12 +07:00
hathach
0220852a6e
- hil test max retry = 3
- fix h7 unused function
2025-04-17 16:58:26 +07:00
hathach
3851c7c97a
- run arm-iar using github action
- add skip_ci.txt to family folder to skip boards in ci run
2025-04-17 16:07:10 +07:00
hathach
9eb0ae7636
fix iar make build with stm32 l0, f2, f3, u5, wb 2025-04-17 15:15:07 +07:00
hathach
b1eedf4d1d
fix iar make build with wb and u5 2025-04-17 14:40:43 +07:00
hathach
f479b02ea6
ci add pico_w for native host test 2025-04-17 11:22:38 +07:00
hathach
4d601545eb
add TS3USB30 to test s3 host with slave/dma 2025-04-16 21:15:07 +07:00
Ha Thach
bfe08176e5
Merge pull request #3070 from HiFiPhile/bitfield
host/dwc2: fix bitfields access width
2025-04-15 10:44:01 +07:00
hathach
d039d54a89
channge DWC2_CHANNEL_COUNT/DWC2_EP_COUNT to inline function 2025-04-14 23:45:20 +07:00
HiFiPhile
3acaffd64d build fix.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-09 19:34:56 +02:00
HiFiPhile
1be4171d2a Fix espressif build with presets.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-07 23:41:55 +02:00
HiFiPhile
865e3488f9
Merge pull request #3014 from deshipu/master
Allow different port and mode for LED on ch32v boards
2025-04-06 18:35:28 +02:00
Radomir Dopieralski
1f2f92d97a Allow different port and mode for LED on ch32v boards
While there is a define for the port, the clock enable is hardcoded for
GPIOA, so setting a different port than GPIOA doesn't work. This fixes
it by adding a define for enabling the port clock.

It also adds a define for the pin mode, because not all boards have the
LED connected in a way that open drain works with it.
2025-04-06 17:14:32 +02:00
hathach
901ce2ad93
hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement hcd_edpt_close() 2025-03-26 21:32:18 +07:00
hathach
1615120bca
added mimxrt1064_evk to hil test pool 2025-03-26 15:32:19 +07:00
hathach
73e810a7ba
imxrt: disable BOARD_ConfigMPU() since it cause issue with imxrt1060/64. Update imxrt configtool forr some board to get uart pin init. 2025-03-26 15:20:02 +07:00
hathach
683b1e9702
fix(rp2040) set RTOS as cmake cache to fix pico-example build 2025-03-10 11:20:47 +07:00
Ha Thach
02a630b3da
Merge pull request #1627 from atoktoto/midihost
RP2040 MIDI Host
2025-03-09 19:01:10 +07:00
HiFiPhile
29ffd57237
Merge pull request #2990 from dauc/master
Add full/high speed compile flag for Microchip SAME70 examples
2025-03-08 11:57:41 +01:00
hathach
8c0c21189c
Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	src/host/usbh.c
2025-03-05 18:25:31 +07:00
hathach
7dbad0a23e
add adafruit metro rp2350 2025-03-04 22:42:27 +07:00
hathach
c1df796a7c
add missing board.h for BOARD=pico_sdk 2025-02-28 12:04:54 +07:00
Tomas Rezucha
720697b6ae fix(esp): Remove deprecated include
soc/usb_pins.h header will be deprecated in IDF v6.0
2025-02-27 12:48:31 +01:00
hathach
6ebd362cfd
Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	src/host/usbh.c
2025-02-21 10:59:40 +07:00
hathach
61aab7a86a
pio-usb now only need sysclk to be multiple of 12Mhz 2025-02-20 22:18:33 +07:00
hathach
cafc788508
change pio-usb to wip fork for testing 2025-02-20 16:16:07 +07:00
hathach
6572c1da0d
add fruitjam bsp 2025-02-20 15:47:29 +07:00
Devin Auclair
aa860041b8 Add full/high speed compile flag for Microchip SAME70 examples
Default is still high speed, but setting
SPEED=high|full work as expected.

`make BOARD=same70_xplained SPEED=full`

Tested with examples/device/cdc_msc

```preformatted
lsusb -v

...

  TinyUSB Device:

    Product ID: 0x4003
    Vendor ID: 0xcafe
    Version: 1.00
    Serial Number: 0123456789ABCDEF
    Speed: Up to 12 Mb/s   <------ full speed here
    Manufacturer: TinyUSB
    Location ID: 0x03142130 / 12
    Current Available (mA): 500
    Current Required (mA): 100
    Extra Operating Current (mA): 0
    Media:
      Mass Storage:
        Capacity: 8 KB (8,192 bytes)
        Removable Media: Yes
        BSD Name: disk5
        Logical Unit: 0
        Partition Map Type: Unknown
        S.M.A.R.T. status: Verified
        USB Interface: 2
```
2025-02-14 11:06:54 -05:00
Ha Thach
9d2fd6c4ac
Merge pull request #2984 from HiFiPhile/preset
Add CMake presets.
2025-02-14 11:29:33 +07:00
hathach
86d371fb79
more ci fix 2025-02-12 13:58:01 +07:00
hathach
85247e50dd
clean up 2025-02-12 11:34:32 +07:00
hathach
87adc63226
Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	hw/bsp/rp2040/family.cmake
#	src/class/midi/midi.h
#	src/class/midi/midi_device.c
#	src/device/usbd_control.c
#	src/host/hcd.h
#	src/host/usbh.c
#	src/host/usbh.h
2025-02-12 11:28:16 +07:00
hathach
3560ed3d98
remove board_mcu.h 2025-02-11 21:55:28 +07:00
HiFiPhile
1208f88b6e Sort list (bettter for Clion)
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-02-09 18:40:30 +01:00
HiFiPhile
09bce3532c Add CMake presets.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-02-09 00:25:38 +01:00
hathach
efd2934919
fix build for 407blackvet 2025-02-06 12:19:29 +07:00
HiFiPhile
67f0d610e5
Merge branch 'master' into master 2025-01-27 19:27:47 +01:00
hathach
8c7998b0e9
fix ci 2025-01-25 22:24:00 +07:00
hathach
6b3a5957c2
cmake remove EXAMPLE-tinyusb target as library 2025-01-25 16:08:40 +07:00
hathach
dc514c6230
use board alias for pca10056 2025-01-25 15:12:57 +07:00
hathach
1003aba690
use board alias for pca10056 2025-01-25 12:39:08 +07:00
hathach
13856af935
add -DRTOS=zephyr to ci west build 2025-01-25 12:19:24 +07:00
hathach
b53801a8ac
add cmake RTOS=zephyr (default noos) for zephyr build 2025-01-24 15:06:05 +07:00
hathach
201b9707b9
try build zephyr with ci 2025-01-24 11:54:42 +07:00
hohoho
5ca3822830 stm32: fix conditional compilation error when not using uart 2025-01-23 19:56:57 +01:00
hathach
9f45e25b1c
msc_dual_lun and cdc_msc work with zephyr on pca10056 2025-01-24 00:39:48 +07:00
hathach
0162d6ab32
kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR 2025-01-23 17:35:05 +07:00
hathach
31071ccf0e
kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR 2025-01-23 17:10:48 +07:00
hathach
6080f89f3d
- change to use CMAKE_SYSTEM_CPU to prevent CMAKE_SYSTEM_PROCESSOR conflict with zephyr
- change tinyusb CMakeLists.txt to function tinyusb_target_add() instead of defining tinyusb lib target
2025-01-22 22:31:08 +07:00