<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/hw/bsp/ch32v10x, branch codex/class-reference-docs</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/hw/bsp/ch32v10x?h=codex%2Fclass-reference-docs</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/hw/bsp/ch32v10x?h=codex%2Fclass-reference-docs'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-07-28T05:50:28Z</updated>
<entry>
<title>bsp, hil: flash WCH boards with the unified OpenOCD fork (#3791)</title>
<updated>2026-07-28T05:50:28Z</updated>
<author>
<name>Ha Thach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-07-28T05:50:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=1d915b6b59cb88f14344521db1f9345d8c7dc9a7'/>
<id>urn:sha1:1d915b6b59cb88f14344521db1f9345d8c7dc9a7</id>
<content type='text'>
bsp, hil: flash with the unified OpenOCD fork

https://github.com/hathach/openocd (branch tinyusb) is mainline plus every
config these boards need: RPi RP2350, ADI max32/max78, the MounRiver WCH
configs, and the wlinke adapter on mainline's riscv target. It is a superset
of the vendor forks, so one 'openocd' covers all boards; -DOPENOCD=/OPENOCD=
still select another, msdk's when MAXIM_PATH is set.

Drops family_flash_openocd_wch and the OPENOCD_WCH pair, dedups
family_flash_openocd_adi, aligns ch583's work area, and points hil at the
flasher's own config instead of generating one per probe.

Verified: HIL green on all four WCH boards and max32666fthr.</content>
</entry>
<entry>
<title>dcd/ch32_usbfs: support CH32V103 combined endpoint control register</title>
<updated>2026-06-18T03:58:58Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-06-18T03:58:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ad8cbc4668ab8d92e2eebb834c230e9d18ad8e57'/>
<id>urn:sha1:ad8cbc4668ab8d92e2eebb834c230e9d18ad8e57</id>
<content type='text'>
CH32V103 uses the older USBFS IP: a single combined UEPn_CTRL register per
endpoint (IN response in bits [1:0], OUT response in [3:2], shared auto-toggle,
separate IN/OUT toggles) instead of the separate UEPn_TX_CTRL/UEPn_RX_CTRL
bytes of the newer IP (CH32V20x/V307). The shared driver was written for the
newer IP, so EP0 control transfers never worked on V103: the OUT response was
written to a reserved byte and the IN write clobbered the OUT bits.

- ch32_usbfs_reg.h: annotate the V103 register struct with byte offsets and add
  a union exposing the combined UEPn_CTRL at the UEPn_TX_CTRL offset; define
  CH32_USBFS_EP_CTRL_COMBINED and the combined-register bit positions.
- dcd_ch32_usbfs.c: abstract EP control access behind ep_tx/rx_ctrl_set() (full
  write) and ep_tx/rx_set_response() (response-only RMW). The newer-IP path is
  unchanged; the combined path read-modify-writes the single register and arms
  the post-SETUP data stage at DATA1.
- bsp/ch32v10x: implement board_get_unique_id() (real chip UID) and drop the
  CSR 0x800 writes that corrupted the QingKe V3 interrupt config and left all
  interrupts disabled (the USB ISR never ran).

Verified on ch32v103r_r1_1v0: enumerates and passes HIL for cdc_msc, hid,
msc, midi, mtp, dfu, etc.

Co-Authored-By: Claude Opus 4.8 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #3620 from UMRnInside/fix-ch32v103-hardfault</title>
<updated>2026-05-30T15:05:01Z</updated>
<author>
<name>Zixun LI</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-30T15:05:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=2c27ec9c89f95057e30da5d08c01f01c941b8a58'/>
<id>urn:sha1:2c27ec9c89f95057e30da5d08c01f01c941b8a58</id>
<content type='text'>
Fix ch32v103 hardfault &amp; Add CH32V103C8T6 Bluepill board</content>
</entry>
<entry>
<title>Enable GPIOC for CH32V103 bluepill boards</title>
<updated>2026-05-26T14:52:30Z</updated>
<author>
<name>UMRnInside</name>
<email>30196401+UMRnInside@users.noreply.github.com</email>
</author>
<published>2026-05-26T14:52:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=97d84e0fd597b2d9362e47897c98c9b5ed9c6fdc'/>
<id>urn:sha1:97d84e0fd597b2d9362e47897c98c9b5ed9c6fdc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix missing prototype in ch32v10x bsp</title>
<updated>2026-05-24T02:21:41Z</updated>
<author>
<name>UMRnInside</name>
<email>30196401+UMRnInside@users.noreply.github.com</email>
</author>
<published>2026-05-24T02:21:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=e7d59fba3506d2ae0d60f4c019153e1d9d349262'/>
<id>urn:sha1:e7d59fba3506d2ae0d60f4c019153e1d9d349262</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use vendor-specific CSR 0x800 to toggle IRQ</title>
<updated>2026-05-24T02:00:06Z</updated>
<author>
<name>UMRnInside</name>
<email>30196401+UMRnInside@users.noreply.github.com</email>
</author>
<published>2026-05-24T02:00:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=972670aed49d3efd31b6211aa40c33d550cfa3ad'/>
<id>urn:sha1:972670aed49d3efd31b6211aa40c33d550cfa3ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo found by Copilot</title>
<updated>2026-05-24T01:27:32Z</updated>
<author>
<name>UMRnInside</name>
<email>30196401+UMRnInside@users.noreply.github.com</email>
</author>
<published>2026-05-24T01:27:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=3adb63e62a6c7dbc854a72049aa23537a51fabc5'/>
<id>urn:sha1:3adb63e62a6c7dbc854a72049aa23537a51fabc5</id>
<content type='text'>
chinese -&gt; Chinese
manufactors -&gt; manufacturers

Co-authored-by: Copilot Autofix powered by AI &lt;175728472+Copilot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bsp/ch32: fix linker report 100% RAM usage</title>
<updated>2026-05-22T13:25:24Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-22T13:25:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=052452f4413c5e821d3effde9cfb857646815466'/>
<id>urn:sha1:052452f4413c5e821d3effde9cfb857646815466</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>Add ch32v103c_bluepill board</title>
<updated>2026-04-26T12:36:55Z</updated>
<author>
<name>UMRnInside</name>
<email>30196401+UMRnInside@users.noreply.github.com</email>
</author>
<published>2026-04-26T12:36:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=2eb1599b4d5e773b71135d82d71e9b422935a410'/>
<id>urn:sha1:2eb1599b4d5e773b71135d82d71e9b422935a410</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix CH32V103 hardfault on startup</title>
<updated>2026-04-26T12:35:54Z</updated>
<author>
<name>UMRnInside</name>
<email>30196401+UMRnInside@users.noreply.github.com</email>
</author>
<published>2026-04-26T12:35:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=b62ac586501c43c61f21c0fca67dca437ff3a9dc'/>
<id>urn:sha1:b62ac586501c43c61f21c0fca67dca437ff3a9dc</id>
<content type='text'>
</content>
</entry>
</feed>
