sipeed / RV-Debugger-BL702

RV-Debugger-BL702 Project, an opensource debugger implement
159 stars 57 forks source link

make sdk as submodule & move and update code & update workflows #9

Closed taorye closed 2 years ago

taorye commented 2 years ago
  1. use bl_mcu_sdk as submodule than intrusive modification (because bouffalolab has not accept my pr)
  2. move codes to firmware/app/usb2uartjtag and do a few fixes because of updated sdk
  3. move usbd_ftdi.c/.h also to firmware/app/usb2uartjtag and update CMakeList.txt
  4. delete ld file because not needed
  5. update the build_firmware.yml with checked and passed

Details about codes fix:

  1. change DMA_CHANNEL_* to DEVICE_CTRL_DMA_CHANNEL_* in uart_interface.c
  2. change uart_register() and dma_register() to use two params than three
  3. change irq_disable() and irq_enable() to cpu_global_irq_disable() and cpu_global_irq_enable()

All of my work are just move and rename and a little fix, and if there is any bug I cant recognized, please tell me and I will reply soon.