Commit Graph

44 Commits

Author SHA1 Message Date
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
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 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 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) 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
liuxianliang a4eb64b873 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
Meco Man 15cd71bae6 [lvgl] adapt lvgl 8.3.0 2022-07-07 16:55:25 +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) 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
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +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
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 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 7566c1a24c Update drivers.
1. Improve LVGL avg FPS.
2. Sync configuration to 4.1.0.
2022-01-06 11:41:55 +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 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 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 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 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
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 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