LZerro
f190cba0ab
[i2c] adjust the timing for I2C initialization
2024-04-29 20:46:12 -04:00
Meco Man
6a9c42a19d
[bsp][drv_gpio] fix the error code return when pin number is illegal
2024-03-24 09:18:25 +08:00
kk
2549b82bd6
[pin] pin_read/write rt_uint8_t to rt_ssize_t
2024-03-23 14:50:31 -04:00
Placebo27
538158bf20
[bsp] fix mismatched function types in rt_pin_ops for all drv_gpio.c ( #7457 )
2023-05-08 23:35:27 -04:00
HEYAHONG
74eca90957
[bsp/n32g452xx] 修复会导致C++文件编译错误的头文件错误
2023-04-06 14:46:16 -04:00
Meco Man
eb3cb250be
[errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without -
2023-03-22 01:54:52 -04:00
Meco Man
0f461e870c
[errno code][-RT_ERROR] fix that use RT_ERROR without -
2023-03-20 00:06:16 -04:00
Meco Man
dfddd79b24
[errno code][-RT_EINVAL] fix that use RT_EINVAL without -
2023-03-16 20:21:43 -04:00
Meco Man
2cc9bd876e
[error code][-RT_EIO] fix that use RT_EIO without -
2023-03-16 20:20:37 -04:00
Meco Man
5f080215a1
[ng32] format ng32f452 bsp
2023-02-15 09:36:04 +08:00
Meco Man
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
wdfk-prog
569e2ae1e8
[CAN]update struct can_filter_item and rt_can_msg ( #6556 )
...
* 修改ry命令,已便于自定义保存路径
* modified: components/utilities/ymodem/ry_sy.c
* 修复从被动错误恢复后发送返回异常
* 修复在自动重传模式下,ACK异常阻塞线程
- 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断
- 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。
* 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数
* formatting格式化代码
* update struct can_filter_item and rt_can_msg
1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index,
以便准确区分.采用宏定义兼容以前变量名.
2. 添加接收标识rxfifo,已指明是哪个RXFIFO.
* 更正42M下的波特率
* 修复接收获取索引号错误
* 添加接收标识
* 更新注释
* 取消CANFD限制
* update struct can_filter_item and rt_can_msg
2022-11-21 21:45:51 -05:00
chenbin
5b8a3678f0
[n32g45x] bsp 完善can驱动中断处理 ( #6313 )
...
* 完善can驱动中断处理
优化can波特率采样率,采样点在75%以上
增加新的can驱动宏定义支持,避免编译错误
* Update drv_can.c
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-20 12:21:51 -04:00
Fan Yang
666af5e29d
[DeviceDriver] Add CANFD support and correct typos ( #5912 )
...
* Add CANFD support and correct typos
- Added CANFD required fields to can.h
- Fixed typos in can.h and can.c
- Corrected all the projects affected by the typo
- Fixed wrong line-ending in some affected can driver files
Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
* update
Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-13 22:59:28 -04:00
wolfJane
d77125452b
为n32g45x添加硬件CRC支持 ( #5852 )
...
* 为n32g45x添加硬件CRC支持
基于stm32的驱动文件进行改造,目前modbus的crc16和mpeg2的crc32测试正常
2022-04-24 11:42:25 +08:00
wolfJane
cbd062ca25
[bsp/n32g45x] drv_spi.c中添加超时检测避免卡死 ( #5820 )
...
* 为spi添加超时检测,避免卡死。提取公共部份,避免代码复制。
2022-04-20 10:28:29 +08:00
wolfJane
fdb486de7b
[Update] n32_msp.c add spi3 ( #5733 )
...
* Update n32_msp.c
* 添加SPI3的初始化代码
* 修正spi收发函数卡死在SPI_I2S_GetStatus的BUG
2022-04-13 16:19:21 +08:00
Man, Jianting (Meco)
6bd22f3e6f
替换RTThread旧版文件头注释版权声明 ( #5774 )
2022-04-05 19:34:30 +08:00
Man, Jianting (Meco)
ba6f78bd8e
format code ( #5699 )
2022-03-24 08:30:41 +08:00
LiuKang
75a7cb6929
[update] add fal component. ( #5662 )
...
* [update] add fal component.
* [update] format code.
* [update] change PKG_USING_FAL to RT_USING_FAL
* [update] format code.
* [update] fal
* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00
来一颗糖
532d898e71
[bsp/n32g452xx] add drv_spi.c ( #5640 )
2022-03-07 12:05:53 +08:00
Blues-Jiang
a095de14c2
Init update.
2022-01-18 16:51:46 +08:00
Siwei Xu
77a5ddf9ae
[bsp/n32g452xx] add rt_pin_get support
2022-01-18 01:38:03 +08:00
chenbin
66628f1061
格式化代码
2022-01-13 00:03:46 +08:00
chenbin
b4b9394051
add n32g45x can 驱动
2022-01-10 23:28:25 +08:00
Blues-Jiang
774031aed2
[bsp/n32g452xx] Unified header file definition. "GPIO_H__" to "DRV_GPIO_H". "USART_H" to "DRV_USART_H"
...
[bsp/n32g452xx] In drv_pwm.c, variable meaning is different with RT-Thread interface definition. Fixed and tested.
[bsp/n32g452xx] Add support for UART4/UART5.
[bsp/n32g452xx] In drv_gpio.c Modify "N32F10X_PIN_NUMBERS" to "N32G45X_PIN_NUMBERS".
2022-01-08 16:06:13 +08:00
192.168.1.134
d6b05287bb
fix: fix wrong define and warning
2021-12-09 15:48:09 +08:00
192.168.1.134
8e3caf08b9
feat: improve startup flow
...
1. remove gpio&uart INIT_BOARD_EXPORT
2. init gpio&uart in rt_hw_board_init
3. add clock driver
2021-12-03 14:25:13 +08:00
192.168.1.134
9fa72d0b81
fix: fix wrong clock input
2021-11-16 14:05:09 +08:00
192.168.1.134
afe82549a8
perf: improve pwm driver
...
1. add tim1/2/3/4/5/8 pwm driver and test pass by self.
2021-11-11 15:55:40 +08:00
192.168.1.134
d573f6f646
feat: add iwdg driver
2021-11-10 11:25:37 +08:00
192.168.1.134
48ffde55a2
refactor: improve adc driver
...
1. Calibration is required when ADC is enabled, and calibration is not required when enabling
ADC.
2. format code style
2021-10-27 09:57:55 +08:00
192.168.1.134
291bbac24f
perf: delete invalid code
2021-10-12 14:02:26 +08:00
192.168.1.134
3e6853cd39
feat: add scons --dist function
2021-10-11 20:53:18 +08:00
192.168.1.134
f97f623c51
fix: gPIO/ADC driver
...
1. add ADC temperature&vref channel.
2.add GPIO IPD/OD configration
2021-10-11 20:00:58 +08:00
linyuanbo_breo_server
b15e88ee6f
feat : 删除多余代码与多余的文件,修正注释与函数命名
2021-08-25 11:21:49 +00:00
linyuanbo_breo_server
776398d4d6
feat : 完成PWM驱动移植与自测
...
1. 添加PWM测试代码
2. 修正PWM驱动周期与脉冲错误问题
2021-08-24 07:35:33 +00:00
linyuanbo_breo_server
1a01951a57
feat : format code
...
1. ref https://github.com/mysterywolf/formatting
2021-08-24 01:53:07 +00:00
linyuanbo_breo_server
f14823543a
feat : 验证添加的驱动
...
1. UART 1-3 验证通过
2. ADC 1-2 CH 6-9 验证通过
3. TIM 6-7 验证通过
2021-08-20 10:23:07 +00:00
linyuanbo_breo_server
3ef5278322
feat : 基于AT32,将各驱动移植整改待验证
...
1. 部分驱动已经整改,但未验证
2. 根据AT32整改目录结构
2021-08-19 08:19:02 +00:00
linyuanbo_breo_server
0e28321c2c
feat : n32g452xx direct structure base at32
...
1. 重新整理目录结构
2021-08-14 09:17:51 +00:00
linyuanbo_breo_server
516d2a3640
first commit, keil test pass
2021-07-20 09:00:20 +00:00