kk
2549b82bd6
[pin] pin_read/write rt_uint8_t to rt_ssize_t
2024-03-23 14:50:31 -04:00
Meco Man
3f26998f9c
[bsp] update projects
2024-03-21 11:23:29 +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
guozhanxin
9e79333512
[project] update mdk/iar project and config.
2023-10-08 11:21:00 +08:00
Wayne Lin
86f72ed6da
Update NuMaker-M2354 BSP building.
...
1. Remove rt_hw_cpu_reset implementation in libcpu.
2. Update configuration.
3. Add drv_log.h for building.
4. Fix warnings.
2023-08-24 12:54:19 -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
sp-cai
0ebec472e1
[components][i2c] 优化 controt 接口格式,增加可用命令 ( #7806 )
...
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13 21:57:40 -04: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
Wayne
25072608f5
[nuvoton/m460] Fix related LVGL version issues. ( #7762 )
...
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2023-07-01 22:44:03 +08:00
Man, Jianting (Meco)
704554f1f9
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 ( #7698 )
2023-06-18 22:36:53 -04:00
Sparks-Pion
accab17fa5
[HUST CSE IoTS&P Lab] [fix] check rt_mutex_create return value ( #7169 )
2023-04-04 00:33:10 -04:00
Wayne Lin
c143842be2
Update fix warnings and builds.
2023-03-31 07:58:24 -04:00
yangjie11
95e6b69b8e
sync and update all projects ( #7138 )
...
* sync and update
2023-03-31 16:49:48 +08:00
yangjie11
b0c247fb59
[components/drivers][touch]删除多余的touch.h ( #7090 )
...
* [components/drivers][touch]删除多余的touch.h
* 将touc.h替换为rtdevice.h
2023-03-24 11:47:28 -04:00
Meco Man
deb40e8c0c
[errno code][-RT_EBUSY] fix that use RT_EBUSY without -
2023-03-22 01:55:18 -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
c3820a2c1b
format sconscript Kconfig files
2023-03-19 07:08:27 -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
991a2f1e9e
[RT_ALIGN_SIZE] set RT_ALIGN_SIZE as 8 by default
2023-03-16 20:20:55 -04:00
Meco Man
2cc9bd876e
[error code][-RT_EIO] fix that use RT_EIO without -
2023-03-16 20:20:37 -04:00
cyyang
7c95cc98f9
Remove redundant 'extern' in function declaration
2023-03-06 21:20:58 -05:00
Meco Man
f58d3c5200
rt_device_write/read return data type as rt_ssize_t
...
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Meco Man
ddccef3a64
modify RT_ALIGN_SIZE as 8 by default
2023-01-12 22:47:23 -05:00
Wayne
bf8db63c78
Fix building issue of Nuvoton porting. ( #6833 )
...
* Fix building issue of Nuvoton porting.
1. Change thread priority of lwip-tcpip and erx.
2. Remove '')' garbage symbols.
3. mm driver issues.
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2023-01-11 16:26:56 +08:00
Meco Man
592284c66c
format link scripts
2023-01-08 22:52:13 -05:00
Meco Man
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
Meco Man
76b5d0dfcf
[bsp][nuvoton] modify RT_WEAK as rt_weak
2022-12-29 20:23:12 -05:00
Wayne
0d1c709fa5
Sync upstream ( #6793 )
...
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-12-29 15:15:13 +08:00
Meco Man
20a6f14e89
use PIN_IRQ_PIN_NONE to replace RT_PIN_NONE
2022-12-26 02:10:30 -05:00
Man, Jianting (Meco)
99bdf978d7
[rtdef] use lower-case to define attributes ( #6728 )
...
* [rtdef] rename RT_WEAK attribute as rt_weak
* [rtdef] rename RT_USED attribute as rt_used
* [rtdef] rename RT_SECTION attribute as rt_section
* [rtdef] rename ALIGN attribute as rt_align
* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -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
Meco Man
c67ff54b6e
[Kconfig] remove PKG_USING_SENSORS_DRIVERS and PKG_USING_TOUCH_DRIVERS
2022-11-06 23:01:37 -05:00
Wayne
e443b56450
[bsp/nuvoton] Remove local libcpu cortex-a driver ( #6504 )
2022-10-10 22:42:34 -04:00
Wayne Lin
ff15433cf3
Remove aarch64 CPU driver.
2022-10-11 08:59:42 +08:00
Wayne Lin
d0b70ab753
Update NuWriter material.
...
1. DDR timing setting.
2. README.md
3. Remove unused files.
2022-10-11 08:59:42 +08:00
Wayne Lin
2d15f10385
Sync SConscript in application folder.
2022-10-11 08:59:42 +08:00
Wayne Lin
2825189542
Add NuMaker-HMI-MA35D1 and RTP porting.
2022-10-11 08:59:42 +08:00
Man, Jianting (Meco)
f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 ( #6481 )
...
* [bsp][sconscript] 整理统一sconscript格式
* update
* update
2022-10-03 10:43:08 -04:00
Wayne
746d7a01bd
[bsp/nuvoton] Support NuMaker-IoT-M467 board ( #6448 )
...
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-09-20 10:30:21 -04:00
Wayne
c9db6ed151
[bsp/nuvoton] Support NuMaker-M467HJ BSP and update drivers. ( #6416 )
...
* [bsp/nuvoton] Support NuMaker-M467HJ BSP and update drivers.
* Format files.
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-09-12 07:36:11 -04:00
Meco Man
ce16945cba
[kernel][version] 采用新的版本宏定义
...
版本控制规范:https://semver.org/
目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突
```c
/* RT-Thread version information */
#define RT_VERSION 4L /**< major version number */
#define RT_SUBVERSION 1L /**< minor version number */
#define RT_REVISION 1L /**< revise version number */
```
参考ESP32:
```c
/** Major version number (X.x.x) */
#define ESP_ARDUINO_VERSION_MAJOR 2
/** Minor version number (x.X.x) */
#define ESP_ARDUINO_VERSION_MINOR 0
/** Patch version number (x.x.X) */
#define ESP_ARDUINO_VERSION_PATCH 3
```
建议改成:
```c
/* Major version number (X.x.x) */
#define RT_VERSION_MAJOR 4
/* Minor version number (x.X.x) */
#define RT_VERSION_MINOR 2
/* Patch version number (x.x.X) */
#define RT_VERSION_PATCH 0
```
2022-09-07 10:11:45 -04:00
Freey0
e0f61010e2
fix: Fix accidentally close PDMA used by other devices when close the serial port
2022-09-06 01:06:24 -04:00
liuxianliang
a4eb64b873
update the project for RT-Thread_V4.1.1
2022-08-16 19:38:48 +08: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
Meco Man
15cd71bae6
[lvgl] adapt lvgl 8.3.0
2022-07-07 16:55:25 +08:00
Man, Jianting (Meco)
2c10d5ad01
[rtc] use gmtime_r to replace gmtime ( #6012 )
...
* [rtc] use gmtime_r to replace gmtime
2022-06-22 13:41:06 +08:00
Wayne
2006785394
[bsp/nuvoton] Upload missing files. ( #6052 )
...
* [bsp/nuvoton] Upload missing files.
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-06-13 21:16:55 +08:00
Meco Man
c9878aacd2
[scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
...
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
Meco Man
83b3aadaa3
[Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
...
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09 07:01:59 +08:00
Meco Man
50f041f5c2
[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链
2022-06-09 07:01:59 +08:00