Commit Graph

133 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 1506829b85
[lvgl] remove LV_DISP_DEF_REFR_PERIOD which are defined manually (#5976) 2022-05-23 01:41:23 +08:00
Wayne 7215a27038
[nuvoton] Update nuc980iot configuration (#5882)
* Disable TRNG function in default configuration.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-04-27 21:53:50 +08:00
Forest-Rain b06228ec7e
[bsp/gd32] bug fixed gpio_mode_set miss gd32_spi->mosi_pin,gd32_spi->sck_pin (#5729)
* bug fixed gpio_mode_set miss gd32_spi->mosi_pin,gd32_spi->sck_pin
* feature,add gd32_spi's alt_func_num member for different spi periph's gpio
* feature,add spi3,spi4,and support multi spi devices
* feature,add rt_hw_spi_device_attach api
* tested on the gd32f450i-eval board
2022-04-22 14:40:45 +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 Lin 35fced1235 Disable TRNG function in default configuration. 2022-04-15 15:05:33 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
Meco Man ab4c22b07d [nk-n9h30] format code 2022-03-28 19:41:16 -04: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
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +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
guozhanxin 2f6f9da5e3 fix usbhost issue by #4378 2022-01-26 11:39:39 +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 1577e91c50 Update default configurations. 2022-01-25 19:15:55 +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
guozhanxin 502176ae63 Remove the problematic rtconfig.h|移除有问题的 rtconfig.h 2022-01-09 09:41:44 +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 7566c1a24c Update drivers.
1. Improve LVGL avg FPS.
2. Sync configuration to 4.1.0.
2022-01-06 11:41:55 +08:00
Meco Man 5187d75af5 [armclang] 使用__clang__代替__CLANG_ARM 2021-12-29 14:15:38 -05:00
Wayne Lin 8ab54c3018 Correct coding-style format. 2021-12-30 01:39:17 +08:00
Wayne Lin e8f4208bb2 Update LVGLv81 porting.
1. Add RTGRAPHIC_CTRL_PAN_DISPLAY and RTGRAPHIC_CTRL_WAIT_VSYNC control command.
2. Add calibration data of 480x272 ADC touching.
3. Add 480x272 LCD panel menu option and driver.
4. Update lv_conf.h.
2021-12-30 01:39:17 +08:00
Wayne Lin c18dae2c2e Migrate lv porting folder. 2021-12-30 01:39:17 +08:00
Wayne Lin 5031a5c757 Large reserved partition size.
To avoid to overwrite larger firmware size with LVGL.
2021-12-30 01:39:17 +08:00
Wayne Lin de7dc291ab Updated about suggestions. 2021-12-30 01:39:17 +08:00
Wayne Lin b33967ecf4 [N9H30] Update readme. 2021-12-30 01:39:17 +08:00
Wayne Lin 9966f195b4 Support LVGLv81 RTT music demo for N9H30 and NUC980. 2021-12-30 01:39:17 +08:00
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +08:00
Wayne Lin 674ded6aa5 Fix format issues. 2021-11-15 12:03:46 +08:00
Wayne Lin c07b2b0a07 [Nuvoton] Update drivers.
1. ARM9 EHCI timeout issue.
2. Sync mainstream.
2021-11-15 11:23:26 +08:00
Wayne Lin d74c785d00 [nuvoton] Update porting drivers and configurations. 2021-11-10 16:20:21 +08:00
Wayne Lin 9b44e57a60 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton 2021-11-10 16:01:38 +08:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
mazhiyuan 99e9ea61bc 修复部分bsp编译报错 2021-10-13 11:02:01 +08:00
Meco Man e18d44940f [finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题 2021-09-05 01:57:26 -04:00
马志远 8a1e6c01ac Disable FINSH_FUNCTION_EXPORT 2021-08-23 18:37:58 +08:00
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
Wayne Lin 37f5236dfa [N9H30] Fix IRQ trap issues.
1. Fix mismatch IRQ trap issue.
2. Use cond-wait in ge2d driver.
2021-08-03 09:07:09 +08:00
Wayne Lin 978ea520d9 [N9H30] Fix SDH dual ports. 2021-06-29 00:37:32 +08:00
Wayne Lin 84e5ec69a2 [N9H30] Support P0 and P1 ports of SDH. 2021-06-21 22:04:34 +08:00
Wayne Lin db3dec0ef3 [N9H30] Fix SDH driver building. 2021-06-21 16:39:06 +08:00
Wayne Lin a45417b868 [N9H30/NUC980] Update SDH driver
1. Fix SDH_Set_clock function.
2. Correct EMMC, SDH0 and SDH1 options for N9H30.
2021-06-16 16:53:41 +08:00
Wayne Lin 541426a72a [nuvoton] Support M031 Series.
1. Import M031 porting.
2. Support numaker-m032ki BSP.
2021-05-17 16:23:41 +08:00
Wayne Lin 1008f9e543 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton 2021-05-14 13:28:25 +08:00
Wayne Lin cc32e7aa4d Follow coding-style and formatting. 2021-05-14 11:53:46 +08:00
Wayne Lin 4ae3a3a7f0 Update NK-N9H30 description. 2021-05-13 18:47:12 +08:00
Wayne Lin 972aa93a27 Update N9H30 porting. 2021-05-12 19:15:17 +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
Wayne Lin 0da2fb5f9b Correct rvds.S including for armclang platform. 2021-05-10 16:17:11 +08:00
nongxiaoming fca3850633 [bsp][nuvoton] update to compatible with Python 3. 2021-03-25 10:38:57 +08:00
Wayne Lin dd986de786 [nuvoton][nk-980iot] Add SPI NOR flash configuration.
Add SPI NOR flash main storage configuration file.
2021-03-18 15:10:43 +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 7a596e1646
Merge pull request #4319 from OpenNuvoton/nuvoton
[bsp/nuvoton] Support NuMaker-M2354 Cortex-M23 platform.
2021-03-09 20:57:24 +08:00
Wayne Lin 802a2a03f3 Keep --c99 flag and append MDK5 building notification. 2021-03-08 23:25:38 +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
Wayne Lin 1679a9c618 Remove IAR warnings. 2021-02-08 11:51:52 +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 4fcb87a8aa Support M2354 platform.
1. Add NuMaker-M2354 BSP.
2. Fix SLCD library and modify its demo.
2021-02-05 18:52:13 +08:00
Wayne Lin 9a37920a69 Add SPI NAND's bootloader and its booting parameters. 2021-02-01 10:44:02 +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
Bernard Xiong 36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
yangjie 38b3a3445e [bsp][driver] 初始化 BSP 中的 rt_pin_ops 2020-09-11 11:16:42 +08:00
Wayne Lin f0fc56989c Update driver supporting status. 2020-08-03 15:14:51 +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 2b82674ad1 Shrink package size. 2020-06-30 12:17:18 +08:00
Wayne Lin f9825299b9 Append full-name of M480 peripheral.
Correct format and typo.
2020-06-29 14:09:57 +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