Skip to content
Snippets Groups Projects
  • Cristian Maglie's avatar
    ac16594d
    Disabled SRAM shortcut when in USBCore::send · ac16594d
    Cristian Maglie authored
    The shortcut has some issues:
    
    - sometimes it fails when sending an odd number of bytes (may be
      due to memory alignment?)
    - the data pointer should point to "stable" data (and this is not
      guaranteed by caller, it may be some sort of temporary buffer)
    - the SRAM is not guaranteed to start at 0x20000000
    
    All the above problems must be properly fixed before reenabling
    this part
    ac16594d
    History
    Disabled SRAM shortcut when in USBCore::send
    Cristian Maglie authored
    The shortcut has some issues:
    
    - sometimes it fails when sending an odd number of bytes (may be
      due to memory alignment?)
    - the data pointer should point to "stable" data (and this is not
      guaranteed by caller, it may be some sort of temporary buffer)
    - the SRAM is not guaranteed to start at 0x20000000
    
    All the above problems must be properly fixed before reenabling
    this part