<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cherryusb.git/port/fsdev/usb_glue_nation.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/cherryusb.git/atom/port/fsdev/usb_glue_nation.c?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/cherryusb.git/atom/port/fsdev/usb_glue_nation.c?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/'/>
<updated>2026-09-26T14:02:25Z</updated>
<entry>
<title>update(port): change low level api from weak to extern, users must implement this</title>
<updated>2026-09-26T14:02:25Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2026-09-26T12:20:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=d14c4aa55609928812a40f3892b56f050a2d83cd'/>
<id>urn:sha1:d14c4aa55609928812a40f3892b56f050a2d83cd</id>
<content type='text'>
Signed-off-by: sakumisu &lt;1203593632@qq.com&gt;
</content>
</entry>
<entry>
<title>port/fsdev: log error when USBFS clock divider has no match</title>
<updated>2026-08-29T07:37:44Z</updated>
<author>
<name>OnlyoutzZ</name>
<email>17393117531@163.com</email>
</author>
<published>2026-08-28T08:57:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=347c06cecfdf6f3156edd93ce90770192b7b92af'/>
<id>urn:sha1:347c06cecfdf6f3156edd93ce90770192b7b92af</id>
<content type='text'>
Report an error through USB_LOG_ERR when SystemCoreClock does not match
any supported 48/96/144/192/240 MHz divider case, instead of silently
leaving the USBFS prescaler unconfigured.
</content>
</entry>
<entry>
<title>fix(port/fsdev): address N32H4x glue review findings</title>
<updated>2026-08-29T07:37:44Z</updated>
<author>
<name>OnlyoutzZ</name>
<email>17393117531@163.com</email>
</author>
<published>2026-08-28T08:52:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=0cf4d87b8fefc81ffd680434411e627f44758f6f'/>
<id>urn:sha1:0cf4d87b8fefc81ffd680434411e627f44758f6f</id>
<content type='text'>
- usb_glue_nation.c: match usb_dc_low_level_init/deinit to the (void)
  weak stubs in usb_dc_fsdev.c and guard on g_usbdev_bus[0] (the old
  (uint8_t busid) signature read garbage at the no-arg call site)
- usb_glue_nation.c: drop NVIC_PriorityGroupConfig from the driver hook;
  it reprograms SCB-&gt;AIRCR for the whole system, priority grouping now
  stays with board/application startup code
- usb_glue_nation.c: derive the USBFS prescaler from SystemCoreClock at
  runtime instead of a per-part compile-time table (fixes N32H475
  landing in the 240 MHz branch; adapts to any configured PLLCLK)
- add docstrings to the functions touched by this diff
</content>
</entry>
<entry>
<title>port/fsdev: add N32H4x (N32H47x_48x / N32H49x) USB FS device support</title>
<updated>2026-08-29T07:37:44Z</updated>
<author>
<name>OnlyoutzZ</name>
<email>17393117531@163.com</email>
</author>
<published>2026-08-28T08:37:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=1f622fe5b7c5767385f852a32850db400e94f45a'/>
<id>urn:sha1:1f622fe5b7c5767385f852a32850db400e94f45a</id>
<content type='text'>
Add full-speed USB device (USBFS) support for the Nations N32H4x family
(N32H47x_48x and N32H49x), whose Synopsys USBFS core re-arranged the
register and bit-field layout of the STM32 version:

- usb_glue_nation.c: chip-level bring-up (48 MHz USB clock from PLL,
  DM/DP GPIO with a weak overridable hook, NVIC USB_FS_LP_IRQn dispatch)
- usb_fsdev_reg.h: re-map USB_EPn/CNTR/ISTR/BTABLE/FN/DADDR register
  layout and every affected bit macro for N32H4x (32-bit EP registers,
  no BCDR; DP pull-up moved to CNTR.PU)
- usb_dc_fsdev.c: N32H4x power-on sequence (clear PD, wait, clear FRST)
  and EP_ID position handling
- README: document the supported N32H4x parts
</content>
</entry>
</feed>
