diff options
| author | sakumisu <[email protected]> | 2024-07-23 20:13:28 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-07-23 20:13:28 +0800 |
| commit | 4c4ee7f0031ffbffb9e684d72d03bdda3c824b99 (patch) | |
| tree | 2caafad57d20a15f9f328e1991b36870b5f23dc0 /docs/source/quick_start/rt-thread | |
| parent | 1c2fd3407a826de56d230508bf4ad3f64f69d7a2 (diff) | |
chore(docs): update rst
Diffstat (limited to 'docs/source/quick_start/rt-thread')
| -rw-r--r-- | docs/source/quick_start/rt-thread/rtthread.rst | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/source/quick_start/rt-thread/rtthread.rst b/docs/source/quick_start/rt-thread/rtthread.rst index b69b95fe..a9303715 100644 --- a/docs/source/quick_start/rt-thread/rtthread.rst +++ b/docs/source/quick_start/rt-thread/rtthread.rst @@ -25,11 +25,6 @@ #define CONFIG_USB_PRINTF(...) rt_kprintf(__VA_ARGS__) - #define usb_malloc(size) rt_malloc(size) - #define usb_free(ptr) rt_free(ptr) - - #define memcpy rt_memcpy - * USB IP 相关的 config 需要用户自己根据芯片实际情况修改 * 退出以后不急着编译,需要在代码中实现 `usb_dc_low_level_init` 函数。 * 调用 `usbd_initialize` 并填入 `busid` 和 USB IP 的 `reg base`, `busid` 从 0 开始,不能超过 `CONFIG_USBDEV_MAX_BUS` @@ -72,11 +67,6 @@ #define CONFIG_USB_PRINTF(...) rt_kprintf(__VA_ARGS__) - #define usb_malloc(size) rt_malloc(size) - #define usb_free(ptr) rt_free(ptr) - - #define memcpy rt_memcpy - * USB IP 相关的 config 需要用户自己根据芯片实际情况修改 * 在代码中实现 `usb_hc_low_level_init` 函数 * 调用 `usbh_initialize` 并填入 `busid` 和 USB IP 的 `reg base`, `busid` 从 0 开始,不能超过 `CONFIG_USBHOST_MAX_BUS` |
