diff options
| author | hathach <[email protected]> | 2023-07-28 19:01:12 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-07-28 19:01:12 +0700 |
| commit | feb58ebd54e68bc3b7f21b0d168417053c525f0a (patch) | |
| tree | 0ad0386a694333d07b662a1494816bd9a4b1422e /src | |
| parent | e56d5443a8a87e932b22bc6315f30cd537fe0edf (diff) | |
add uno r4 wih FLASH_IMAGE_START=0x4000, running but interrupt (systick) does not seems to work
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/renesas/rusb2/hcd_rusb2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portable/renesas/rusb2/hcd_rusb2.c b/src/portable/renesas/rusb2/hcd_rusb2.c index c5ed8ae55..7f49dc8a9 100644 --- a/src/portable/renesas/rusb2/hcd_rusb2.c +++ b/src/portable/renesas/rusb2/hcd_rusb2.c @@ -186,6 +186,7 @@ static inline void pipe_wait_for_ready(rusb2_reg_t* rusb, unsigned num) static void pipe_write_packet(void *buf, volatile void *fifo, unsigned len) { + // NOTE: unlike DCD, Highspeed 32-bit FIFO does not need to adjust the fifo address volatile hw_fifo_t *reg = (volatile hw_fifo_t*)fifo; uintptr_t addr = (uintptr_t)buf; while (len >= 2) { |
