Wayne Lin
c143842be2
Update fix warnings and builds.
2023-03-31 07:58:24 -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
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
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
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
Wayne
0d1c709fa5
Sync upstream ( #6793 )
...
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-12-29 15:15:13 +08: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
Wayne Lin
2825189542
Add NuMaker-HMI-MA35D1 and RTP porting.
2022-10-11 08:59:42 +08: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
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
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
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
Wayne
1fb3f1fcec
[bsp/nuvoton] Update. ( #6022 )
...
1. Sync 4.1.1+.
2. Add SDIO drivers for M480/M2354 platforms.
3. Update LVGL porting.
4. Add N9H30 FMI NAND driver.
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-06-03 10:01:15 +08:00
Man, Jianting (Meco)
a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM ( #5802 )
...
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
Wayne
7fee6530f9
[nuvoton] Update drivers and project setting. ( #5726 )
2022-03-29 07:10:35 +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
Wayne
a65e6d1613
Nuvoton drivers updating and more LVGL supporting. ( #5647 )
2022-03-12 07:00:53 +08:00
Wayne
23c1fdd779
[nuvoton] Update configuration files and fix issue. ( #5588 )
...
1. Add default rtconfig.h header.
2. Fix IP reset issue.
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-02-08 15:03:05 +08:00
Wayne Lin
8803bf4018
Update RT_USING_DFS options and sync new USB host API.
2022-01-26 15:09:29 +08:00
Wayne Lin
648199808e
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton
2022-01-26 14:54:14 +08:00
LeeChunHei
c06b57670f
修改bsp的usb host 驅動 ( #4379 )
...
* add arg for rt_usb_host_init call
2022-01-26 10:46:57 +08:00
Wayne Lin
e272d04219
[nuvoton] Sync to 4.1.0.
...
1. Remove dfs_posix.h including for syncing 4.1.0.
2. Fix issue in crypto driver.
3. Add LVGLv81 supporting in NuMaker-M2354 BSP.
4. Update USB board menu in M480 BSP.
2022-01-25 19:03:07 +08:00
Wayne
446bde64c8
[Nuvoton] Update drivers ( #5501 )
...
* Update drivers.
1. Improve LVGL avg FPS.
2. Sync configuration to 4.1.0.
* [Nuvoton] Update drivers.
1. Fix open-control order issue in CAN driver.
2. [N9H30] Improve N9H30 I2C busy-wait implementation.
3. [N9H30] Support 1024x600x32b LCD panel.
4. Move nu_packages menu into sub-menu of board.
* Update menu-option.
1. Set BOARD_USING_LCM is on by default.
2. Fix default value setting in choice-option.
* Fix control function in I2C driver.
* Add sdk_dist.py and ADC touching calibration function.
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-01-16 18:43:27 +08:00
liukangcc
3d2e23ec1c
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
2022-01-14 23:09:32 +08:00
Man, Jianting (Meco)
bb1084556f
[console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
...
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* format codes
* [libc] 整理格式
* refresh projects
2022-01-09 00:20:32 +08:00
Wayne Lin
9966f195b4
Support LVGLv81 RTT music demo for N9H30 and NUC980.
2021-12-30 01:39:17 +08:00
Wayne Lin
d74c785d00
[nuvoton] Update porting drivers and configurations.
2021-11-10 16:20:21 +08:00
Wayne Lin
cc32e7aa4d
Follow coding-style and formatting.
2021-05-14 11:53:46 +08:00
Wayne Lin
d3131ee55f
Nuvoton release/update.
...
(1) Support NK-N9H30 board.
(2) Change Mutex's flag to RT_IPC_FLAG_PRIO from RT_IPC_FLAG_FIFO.
2021-05-12 18:49:31 +08:00
Wayne Lin
f068908728
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton
2021-05-12 18:39:35 +08:00
nongxiaoming
fca3850633
[bsp][nuvoton] update to compatible with Python 3.
2021-03-25 10:38:57 +08:00
Wayne Lin
5af9085966
[nuvoton] Fix ordering and configuration.
...
1. Update module starting ordering.
2. Fix QSPI PDMA configuration.
2021-03-18 15:07:09 +08:00
Wayne Lin
6ec6285e1b
[nuvoton] Update BSP.
...
1. Add NUC980 Chili board supporting.
2. Correct NuMicro.h including.
3. Implement rt_hw_us_delay system call function.
4. Move board.c to drv_common.c for M480 and M2354 series.
2021-03-15 15:41:41 +08:00
Bernard Xiong
4426af03f8
Revert "添加imxrt的pulse encoder和usb host驅動"
2021-02-23 09:44:27 +08:00
Bernard Xiong
d9c3459e11
Merge pull request #4295 from LeeChunHei/test_branch
...
添加imxrt的pulse encoder和usb host驅動
2021-02-23 09:41:27 +08:00
LeeChunHei
b51c6339f0
finish testing
2021-02-13 18:50:58 +08:00
Meco Man
86ebf17a23
localtim改为gmtime
2021-02-07 21:49:25 +08:00
Meco Man
f073911cd3
解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数
2021-02-07 21:08:41 +08:00
Wayne Lin
dfbeb9e88c
Sync Nuvoton porting.
...
1. NUC980 platform: USBH, INPUTCAPTURE, SPINAND.
2. Correct enter-quad-mode routine in board_dec.c.
3. Use RT_ASSERT to catch system-call-exceptions.
2021-02-01 10:35:44 +08:00
Wayne Lin
c9892a82be
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton
2020-12-29 19:36:00 +08:00
Wayne Lin
1c4328e5a9
Update NUC980 and M480
...
1. Add 980 drv_usbd.
2. EMAC - move MDC CLK divider before EMAC initialization.
3. Correct NUC980 and M480 CAN RX_MSG_ID_INDEX definition.
4. add USBD cdc demo - vcom_echo.
5. mnt - add mount_table definition.
2020-12-29 19:35:43 +08:00
Wayne Lin
0cfe292157
Update nuvoton RTT porting.
...
1. Fix porting driver.
2. Add NAU8822 audio codec driver.
3. Add NUC980 I2S porting driver.
2020-12-25 18:39:12 +08:00
Wayne Lin
8d90cfadf0
Update nuvoton porting.
...
1. Make up sources and bugfix.
2. Add nu_gpio_pin_get.
3. Add PM operator in USB host driver.
4. Support NUC980 stage 1 and add nk-980iot board.
2020-12-21 14:57:09 +08:00
yangjie
ef62febf1f
[SConscript]update group name
2020-12-19 16:49:11 +08:00