summaryrefslogtreecommitdiff
path: root/documentation/basic/basic.md
diff options
context:
space:
mode:
authorShell <[email protected]>2024-07-09 13:35:03 +0800
committerGitHub <[email protected]>2024-07-09 13:35:03 +0800
commitb73396681ad5186af801ed0a0770645882da1a52 (patch)
tree5496308d864a59ea1ba3aa77c7cc4ff0f6627455 /documentation/basic/basic.md
parent3f6960b7f5220b797fd181f8b7f7de356bfdd43f (diff)
[bsp/allwinner] feat: porting to RT_USING_DEVICE_OPS (#9142)
* [bsp/allwinner] feat: porting to RT_USING_DEVICE_OPS This patch ports the codebase to use the RT_USING_DEVICE_OPS structure, which is required by v5.1.0 Smart kernel, improves modularity and makes it easier to manage device operations by consolidating them into a single structure, enhancing maintainability and future scalability. Changes: - Added RT_USING_DEVICE_OPS conditionals to partition.c and drv_sdmmc.c. - Defined rt_device_ops structures for partition and sdmmc drivers. - Updated device initialization to use the ops structure if defined. - Replaced direct function calls with rt_dev_control, rt_dev_read, and rt_dev_write macros where applicable. - Removed redundant us_delay function from os.c. Signed-off-by: Shell <[email protected]> * feat: update configuration * feat: fixup compiler warning --------- Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'documentation/basic/basic.md')
0 files changed, 0 insertions, 0 deletions