Shell
864055bf18
[fixup] aarch64 UMP compiler error ( #8677 )
...
Signed-off-by: Shell <smokewood@qq.com>
2024-03-30 17:58:38 +08:00
geniusgogo
99245a1a8f
fix pin ofw variable init.
2024-03-29 21:48:31 +08:00
Shell
83e95bdff4
sync smart & dfs ( #8672 )
...
Signed-off-by: xqyjlj <xqyjlj@126.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-03-28 23:42:56 +08:00
Shell
3237efd089
fixup d1s ( #8671 )
...
Signed-off-by: Shell <smokewood@qq.com>
2024-03-25 20:29:56 +08:00
Evlers
dca8a06471
[wlan][cmd] fixed a duplicate issue with the wifi scan command
2024-03-24 14:35:41 -04:00
Evlers
3a65967a40
[wlan] add the wlan join scan function
2024-03-24 14:35:15 -04:00
kk
2549b82bd6
[pin] pin_read/write rt_uint8_t to rt_ssize_t
2024-03-23 14:50:31 -04:00
Liu Yang
59dbebe6fc
[components/driver] Fix issue for serial_V2 in no buffer bloking tx mode.
2024-03-20 02:28:35 -04:00
zms123456
5e26b4c585
[components/dirver]Fix issue of not releasing sem resource
2024-03-19 20:01:49 -04:00
StackYuan
a582c0cc31
[fix] NXP bsp for RT-Thread 5.1.0 fixed up.
2024-03-19 08:13:00 -04:00
Meco Man
6ee7197587
[stm32][pwm] fix warning in Keil5
2024-03-18 23:22:34 -04:00
Meco Man
9ac8b47eb2
[sensor-v2] enable sensor v2
...
fix the confilcts with sensor v1
2024-03-16 23:31:54 -04:00
yangpeng
1919ad0748
[spi]修复spi总线挂载多设备通信可能失败问题
2024-03-04 19:50:36 -05:00
fangjianzhou
00c6800e4e
[components/driver] update serial ( #8567 )
2024-03-01 10:29:21 +08:00
zms123456
6b5058ba5c
[components/drivers]update hwtimer ( #8565 )
2024-02-29 22:27:38 +08:00
zms123456
97c5edf947
[component][drivers]add pinctrl/pin-irqchip ( #8383 )
2024-02-29 22:27:27 +08:00
zms123456
195f94ef1d
[components][drivers]add pic-gic ( #8388 )
2024-02-29 09:39:56 +08:00
Shell
71560bafb5
🎯 Sync smart & scheduler codes ( #8537 )
...
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-02-23 17:49:15 +08:00
LaterComer
82bb104f65
fix(serial_v2): tx_fifo->rb.buffer_ptr not init when RT_DEVICE_FLAG_DMA_TX and RT_SERIAL_TX_BLOCKING
...
为什么提交这份PR (why to submit this PR)
serial_v2驱动框架,rt_serial_tx_enable()函数,在 DMA阻塞发送(RT_DEVICE_FLAG_DMA_TX and RT_SERIAL_TX_BLOCKING) 的时候,使用rt_malloc分配了tx_fifo内存,但是并未对tx_fifo->rb.buffer_ptr指针进行初始化(rt_malloc不会自动初始化内存),因此可能导致buffer_ptr是一个随机指针。但是rt_serail_write()函数需要根据tx_fifo->rb.buffer_ptr是否为RT_NULL来判断是调用_serial_fifo_tx_blocking_nbuf()还是_serial_fifo_tx_blocking_buf()。
由于tx_fifo->rb.buffer_ptr可能是一个随机值(不一定为RT_NULL=0),导致RT_DEVICE_FLAG_DMA_TX and RT_SERIAL_TX_BLOCKING模式下调用了_serial_fifo_tx_blocking_buf(),但是rb没有真正开辟内存空间,导致内存异常
你的解决方案是什么 (what is your solution)
rt_serial_tx_enable(),在DMA阻塞发送分支下,对tx_fifo->rb.buffer_ptr进行初始化,赋值为RT_NULL。
2024-02-21 00:29:53 -05:00
yangpeng
02eaf76d7b
[qspi]修复qspi配置未生效问题
2024-02-17 01:07:19 -05:00
yangpeng
25d3136d02
fix MDK AC5 build warnings
2024-02-03 21:43:08 -05:00
fangjianzhou
10b16273b8
[drivers][core] 完善设备模型 ( #8384 )
2024-01-09 23:10:42 +08:00
Meco Man
6cc63626d7
fix some -Wmissing-prototypes warnings
2024-01-02 21:25:26 +08:00
yangpeng
ff1bd3807c
[components][drivers][sensor]暂时禁止使用sensorv2框架
...
sensor v2框架仍在开发中
2023-12-26 20:32:28 +08:00
1ridic
0bf7adf394
[pwm] Fix compiler warning
2023-12-26 12:12:31 +08:00
Meco Man
4657312f9d
[kconfig] fix Kconfig warnings
2023-12-25 20:28:46 +08:00
1ridic
3da0b76add
[pwm] Add second-level command completion
2023-12-25 12:07:49 +08:00
zms123456
e1fdc13288
[component][drivers]add clk framework ( #8213 )
2023-12-24 19:53:12 +08:00
sulfurandcu
c84d7c5324
fix warning #1295-D Deprecated declaration
2023-12-19 19:02:43 +08:00
Meco Man
005828eba7
[nano] rt-thread susport nano option
2023-11-30 11:39:34 +08:00
fangjianzhou
249871cbbc
[libcpu][aarch64] 使用设备树对CPU进行初始化 ( #8221 )
2023-11-28 14:20:11 +08:00
Raman Gopalan
4e656078b6
soft_i2c: Loop iteration variable: Conform to C89
2023-11-26 18:40:02 +08:00
褚仕成
8635a4ce8d
[components][wlan]: update rt_wlan_join_scan_callback
2023-11-22 11:21:18 -05:00
guozhanxin
896b1fe2da
[driver/pipe] RT_UNAMED_PIPE_NUMBER add depends
2023-11-22 16:51:16 +08:00
kk
58cd8e026c
[drivers/rtc] 修复 alarm.c 少写分号 ( #8256 )
2023-11-15 19:24:26 +08:00
Meco Man
589641258e
[debug] rename RT_DEBUGING_INIT as RT_DEBUGING_AUTO_INIT
2023-11-10 05:24:33 -05:00
xiao-mang
48f53e9150
add blockdev's flush fops for opening file with O_SYNC ( #8232 )
2023-11-10 17:50:20 +08:00
xqyjlj
3283f54c7a
🎈 perf: perf rt_hw_interrupt_disable/enable ( #8042 )
...
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: Shell <smokewood@qq.com>
2023-10-25 20:31:25 +08:00
zms123456
d01dd05a0c
[kernel][dm]适配新的设备驱动模型 ( #8075 )
2023-10-18 20:50:30 +08:00
fangjianzhou
dd33b31c28
修改virtio.c存在的问题 ( #8146 )
2023-10-18 08:29:24 +08:00
sp-cai
7f6f086601
[components][i2c]增加通用的软件模拟 I2C ( #7850 )
2023-10-17 11:24:32 -04:00
geniusgogo
ecd29fda60
Sync dfs lwp ( #8123 )
2023-10-17 13:07:59 +08:00
fangjianzhou
7d64cdcf58
qemu-virt64-aarch64/qemu-virt64-riscv支持SDL2 ( #8130 )
2023-10-17 13:03:03 +08:00
Z8MAN8
19bfdac891
[fix][usb]return data type as rt_ssize_t
...
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-10-11 12:01:20 -04:00
xqyjlj
31a2311f64
🌈 style(ktime): mv to components/drivers/ktime ( #8103 )
2023-09-28 21:34:21 +08:00
zan319
fce83488ec
[serial_v2] 修复阻塞模式下中断发送的逻辑顺序问题与多线程下的竞态条件 ( #7997 )
2023-09-28 14:04:10 +08:00
zbtrs
36b79798bd
feat: support sdl2 ( #8048 )
2023-09-25 08:40:03 +08:00
xqyjlj
047cc8663e
🐞 fix(soft_rtc): fix unsupported TIMEVAL and GET_TIMERES ( #8011 )
2023-09-23 14:07:00 +08:00
TangZhenye
3e3cf91b77
[修改]:alarm 将年月日也传给驱动层,避免跨天 alarm 失效
2023-09-13 21:32:11 -04:00
Eric LGF
6deab5e93d
修复单次触发alarm,重复使用不启动定时器的bug
2023-09-12 18:08:15 -04:00
geniusgogo
d55066e10d
cleanup: fix building warnings
2023-08-23 22:58:25 -04:00
Meco Man
30c793fdb9
[tools] add GetGCCLikePLATFORM
...
GCC like means the toolchains which are compatible with GCC
2023-08-21 01:25:52 -04:00
cmbjxxiao
6dd3802d0a
[components][drivers][can]Init can tx completion flag before tx
2023-08-18 23:33:20 -04:00
Meco Man
23eb6319e2
[device][rtc] support output UTC minutes level
2023-08-13 22:51:58 -04:00
geniusgogo
4d20416b2f
update components & lwp. ( #7888 )
2023-08-07 12:22:14 -04:00
DingDing
7e7b303dd4
fix some variables not used warnings when build. ( #7925 )
2023-08-07 14:19:03 +08:00
Fan Yang
e5c8dd3b05
[components][drivers][sdio] Fix minor issue in sdio driver ( #7904 )
...
Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2023-08-03 17:10:34 +08:00
GUI
d3417aa0d7
Prepare some api for DM ( #7894 )
...
Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-08-02 12:48:24 +08:00
heyuanjie87
a98b11747f
[sdio]开启emmc内部cache加快传输 ( #7896 )
2023-08-01 14:48:50 +08:00
Meco Man
bfe9fd3c13
[drivers/ipc] fix the recursive including if legacy enabled
2023-07-28 22:17:40 -04:00
Meco Man
32e50cd68b
[drivers/core] revise the macros of header files
...
the macros is too common to use so that to avoid conflicts
2023-07-28 22:17:14 -04:00
Meco Man
4e0225a48d
[debug] use LOG_D instead RT_DEBUG_LOG
...
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-07-28 13:50:32 -04:00
xqyjlj
0b93001f4f
🐞 fix(rtc/soft_rtc): fix wrong time
...
use boottime as soft_rtc time source
2023-07-27 11:35:29 +08:00
erikchan
0eaa757cff
【dd2.0】move the core header files to include/drivers/core
2023-07-27 11:16:55 +08:00
xiao-mang
befa951451
modify some function prototypes of the dfs_file_ops structure and the function declarations based on it ( #7849 )
2023-07-24 09:12:35 +08:00
Man, Jianting (Meco)
244b903e5d
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT ( #7805 )
2023-07-22 10:36:42 +08:00
Mr.M
c985f318e4
overflow is invalid in oneshot mode
2023-07-21 00:28:31 -04:00
xqyjlj
5f0328ee41
✨ feat(ktime): add RT_USING_KTIME to kconfig build
2023-07-20 09:25:18 -04:00
wangqinglin
a07fda3470
[bsp][stm32][airm2m]<pin>更新pin num命令 ( #7390 )
2023-07-19 18:45:43 -04:00
Shell
58e0ddf287
[component/lwp] support more feature of signal from IEEE Std 1003.1-2017 ( #7828 )
...
Signed-off-by: Shell <smokewood@qq.com>
2023-07-20 00:02:41 +08:00
xqyjlj
0eb75ced70
[time]时钟框架重构 ( #7794 )
2023-07-17 20:11:58 +08:00
sp-cai
0ebec472e1
[components][i2c] 优化 controt 接口格式,增加可用命令 ( #7806 )
...
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13 21:57:40 -04:00
ErikChanHub
2f5e4ac27e
【dd2.0】Support the Core API for dd2.0 ( #7791 )
2023-07-13 14:49:35 +08:00
sp-cai
75f65b6af6
[components][drivers][serial] serial.c 修复串口有时重复发送 '\r' 的问题 ( #7767 )
2023-07-07 23:52:32 -04:00
erikchan
fa10a99c3c
【ofw】 format encoding of irq.c to utf-8
2023-07-06 11:24:19 +08:00
erikchan
cc8781930c
【libfdt】replace tab with space
2023-07-06 11:02:13 +08:00
wusongjie
8aa4366cb2
Drivers: Support Open Firmware API and model of PIC
...
We support OFW API to replace fdt old API, and add
IRQ, IO, Platform-Bus, CPUs ... OFW node contorl.
To support work with Device Tree or ACPI in drivers
that use IRQ, we make a programmable interrupt
controller driver's model.
Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-05 16:45:16 +08:00
wusongjie
179157f4e1
Components/drivers: support DM device id management
...
We add the device name and id set api in DM, now driver
could set name like sprintf without know how many devices
it is.
The misc.h and byteorder.h add some macros to developers
that they always use in drivers.
Signed-off-by: GuEe-GUI <GuEe-GUI@github.com>
2023-07-04 13:55:07 +08:00
Shicheng Chu
e2c031643c
[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h ( #7750 )
2023-06-29 11:24:25 -04:00
Tennn11
148ae53cf8
[tty] add TCGETA/TCSETAF/TCSETAW/TCSETA commands ( #7739 )
2023-06-29 19:01:16 +08:00
Shell
0b79bea7cd
[components/lwp] clear ref to parent on waitpid() ( #7741 )
...
Signed-off-by: shell <smokewood@qq.com>
2023-06-29 00:00:27 +08:00
Shell
b66514686a
[components/tty] fix bug on foreground app switch ( #7726 )
2023-06-28 09:11:17 +08:00
wangqinglin
cb03b8c834
[component][fdt]添加设备树子节点寻找宏 ( #7377 )
2023-06-27 10:09:51 -04:00
程蒙蒙
c2c83533c9
[sensor]V1返回类型不一致编译错误 ( #7735 )
...
Signed-off-by: 程蒙蒙 <37764731+meng-plus@users.noreply.github.com>
2023-06-27 17:18:07 +08:00
Bernard Xiong
e3f068f058
[DeviceDrivers] prepare for device driver v2.0 ( #7697 )
2023-06-22 14:16:03 +08:00
xiao xie
ba76cb5ef7
[drivers]修复can驱动编译错误 ( #7708 )
2023-06-21 08:52:11 -04:00
zhkag
33f550cb65
[Kernel] message 可以返回消息的实际大小 ( #7709 )
2023-06-21 18:22:42 +08:00
heyuanjie87
a790c809a8
[pty]修正pty引起waitqueue崩溃的问题
2023-06-19 10:56:06 +08:00
Man, Jianting (Meco)
704554f1f9
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 ( #7698 )
2023-06-18 22:36:53 -04:00
Mingjie Shen
177f3d4056
[adc] remove dead code
...
The variable result_str is never used after this assignment.
2023-06-13 17:47:54 -04:00
Meco Man
8d6e536e88
[spi] optimize the spi transfer speed.
...
If the configurations are the same, we don't need to set again.
2023-06-10 18:59:23 -04:00
Bernard Xiong
99e80f8d33
[dfs] Add DFS v2.0 ( #7606 )
2023-06-10 21:35:25 +08:00
goldengrandpa
1d239db59e
[tty]修复多次scanf之后,导致丢数据的问题 ( #7640 )
2023-06-09 09:09:50 +08:00
Mengxi-Xu
d2308d41d7
[components] [fdt] add parameter check
2023-06-04 13:50:04 -04:00
Meco Man
93968942c2
[device][spi] 修复 rt_spi_sendrecv8/16 收发不同时的问题
...
rt_spi_send_then_recv是先发再等待一个独立的消息接收
rt_spi_transfer是收发同时进行
rt_spi_sendrecv8/16应使用rt_spi_transfer而不是rt_spi_send_then_recv
2023-05-22 02:55:46 -04:00
guozhanxin
82ccbc40db
support llvm-arm 16.0
2023-05-17 12:09:10 -04:00
7YZ7
a5211c70b6
[components][drivers][HUST CSE]修复serial_v2.c中可能产生的死循环 ( #7394 )
2023-05-15 14:42:11 +08:00
kunpHust
7a2bccd1c2
[HUST CSE][components][udisk.c] add two checkout procedures after malloc to make sure allocating successfully ( #7475 )
2023-05-15 14:35:38 +08:00
miaoxingr
f36a1bb514
[components/drivers] add checking code after allocating memory
2023-05-12 01:39:51 -04:00
hust202013232
9dd0d41251
[components][rndis.c] add safety checking after allocating memory
2023-05-12 01:37:42 -04:00