Commit Graph

8 Commits

Author SHA1 Message Date
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 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 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
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 c9392e2a8b 1. Correct typo.
2. Fix spi/qspi/uspi TX/RX PDMA trigger issue.
3. Drain RX FIFO to remove remain FEF frames in FIFO.
4. Implement RT_DEVICE_CTRL_CLOSE in uart/uuart/scuart driver.
2020-08-03 12:15:33 +08:00
Wayne Lin dba0b1f3ca Add compiling option for building time.
Fix rtt port issues.
2020-06-24 00:32:10 +08:00
Wayne Lin c04c19a6f1 Support Nuvoton NuMaker-IOT-M487 and NuMaker-PFM-M487 boards. 2020-06-17 16:30:11 +08:00