mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
leave bread crumb about the upgrade to HS usb
This commit is contained in:
parent
1c15828391
commit
1a9b4e48ef
1 changed files with 9 additions and 0 deletions
|
|
@ -294,6 +294,14 @@ pub struct Uicr {
|
|||
}
|
||||
|
||||
const CRG_UDC_CFG0_MAXSPEED_FS: u32 = 1;
|
||||
// surprisingly, just swapping this constant in "sort of works"
|
||||
// some to-do around figuring out why the protocol breaks, could
|
||||
// just be signal integrity because too many connectors, but very
|
||||
// likely this is also an inability to handle the longer packet
|
||||
// sizes mandated by the HS protocol.
|
||||
//
|
||||
// leave as a warning so we have this as a TODO.
|
||||
const CRG_UDC_CFG0_MAXSPEED_HS: u32 = 3;
|
||||
|
||||
pub const CRG_UDC_ERDPLO_EHB: u32 = 1 << 3;
|
||||
|
||||
|
|
@ -1169,6 +1177,7 @@ impl CorigineUsb {
|
|||
// wait for reset to finish
|
||||
}
|
||||
|
||||
// TODO: ugprade this to HS
|
||||
self.csr.wo(DEVCONFIG, 0x80 | CRG_UDC_CFG0_MAXSPEED_FS);
|
||||
|
||||
self.csr.wo(
|
||||
|
|
|
|||
Loading…
Reference in a new issue