summaryrefslogtreecommitdiff
path: root/bsp/allwinner/libraries/drivers
AgeCommit message (Collapse)Author
2024-07-09[bsp/allwinner] feat: porting to RT_USING_DEVICE_OPS (#9142)Shell
* [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]>
2024-03-24[bsp] format drivers codeMeco Man
2024-03-23[pin] pin_read/write rt_uint8_t to rt_ssize_tkk
2023-11-02🐞 fix: fix d1s smart build (#8212)xqyjlj
2023-09-25feat: support sdl2 (#8048)zbtrs
2023-05-08[bsp] fix mismatched function types in rt_pin_ops for all drv_gpio.c (#7457)Placebo27
2023-03-24[components/drivers][touch]删除多余的touch.h (#7090)yangjie11
* [components/drivers][touch]删除多余的touch.h * 将touc.h替换为rtdevice.h
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-03-16[error code][-RT_EIO] fix that use RT_EIO without -Meco Man
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-01-08format Kconfig and sconscriptMeco Man
2022-12-26use PIN_IRQ_PIN_NONE to replace RT_PIN_NONEMeco Man
2022-12-16[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)guo
* [dfs] sync cromfs * [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration * [format] fix some format issue.
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>