add uno r4 wih FLASH_IMAGE_START=0x4000, running but interrupt (systick) does not seems to work

This commit is contained in:
hathach
2023-07-28 19:01:12 +07:00
parent e56d5443a8
commit feb58ebd54
15 changed files with 272 additions and 13 deletions

View File

@@ -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) {