Skip to content

Commit 45641c8

Browse files
committed
[bsp] update nuvoton board porting.
- Support M3331 series. - Align nuvoton-series package only.
1 parent ed74810 commit 45641c8

132 files changed

Lines changed: 23612 additions & 7846 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ALL_BSP_COMPILE.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@
291291
"nuvoton/ma35-rtp",
292292
"nuvoton/nk-980iot",
293293
"nuvoton/numaker-iot-ma35d1",
294-
"nuvoton/numaker-m2354"
294+
"nuvoton/numaker-m2354",
295+
"nuvoton/numaker-m3334ki"
295296
]
296297
},
297298
{

bsp/nuvoton/docs/LVGL_Notes.md

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# M3331 Series
2+
3+
## Supported drivers
4+
5+
| Peripheral | rt_device_class_type | Device name |
6+
| ------ | ---- | :------: |
7+
| CANFD | RT_Device_Class_CAN | ***canfd[0-1]*** |
8+
| CRC | RT_Device_Class_Miscellaneous (HW Crypto) | ***hwcryto*** |
9+
| CRYPTO | RT_Device_Class_Miscellaneous (HW Crypto) | ***hwcryto*** |
10+
| DAC | RT_Device_Class_Miscellaneous (DAC) | ***dac[0-1]*** |
11+
| EADC | RT_Device_Class_Miscellaneous (ADC) | ***eadc0*** |
12+
| EBI | N/A | ***N/A*** |
13+
| ECAP | RT_Device_Class_Miscellaneous (Input capture) | ***ecap[0-1]i[0-2]*** |
14+
| EPWM | RT_Device_Class_Miscellaneous (PWM) | ***epwm[0-1]*** |
15+
| EPWM (Capture function) | RT_Device_Class_Miscellaneous (Input capture) | ***epwm[0-1]i[0-5]*** |
16+
| EQEI | RT_Device_Class_Miscellaneous (Pulse encoder) | ***eqei[0-3]*** |
17+
| RMC | FAL | ***N/A*** |
18+
| GPIO | RT_Device_Class_Miscellaneous (Pin) | ***gpio*** |
19+
| GPIO (Software I2C) | RT_Device_Class_I2CBUS | ***softi2c[0-1]*** |
20+
| I2C | RT_Device_Class_I2CBUS | ***i2c[0-3]*** |
21+
| PDMA | N/A | ***N/A*** |
22+
| PWM | RT_Device_Class_Miscellaneous (PWM) | ***pwm[0-1]*** |
23+
| QSPI | RT_Device_Class_SPIBUS | ***qspi0*** |
24+
| RTC | RT_Device_Class_RTC | ***rtc*** |
25+
| SPI | RT_Device_Class_SPIBUS | ***spi[0-3]*** |
26+
| SPI (I2S function) | RT_Device_Class_Sound/RT_Device_Class_Pipe | ***spii2s[0-3]*** |
27+
| TIMER | RT_Device_Class_Timer | ***timer[0-3]*** |
28+
| TIMER (PWM function) | RT_Device_Class_Miscellaneous (PWM) | ***tpwm[0-3]*** |
29+
| TRNG | RT_Device_Class_Miscellaneous (HW Crypto) | ***hwcryto*** |
30+
| UART | RT_Device_Class_Char | ***uart[0-7]*** |
31+
| USBD | RT_Device_Class_USBDevice | ***usbd*** |
32+
| USBH | RT_Device_Class_USBHost | ***usbh*** |
33+
| USCI (I2C function) | RT_Device_Class_I2CBUS | ***ui2c[0-1]*** |
34+
| USCI (SPI function) | RT_Device_Class_SPIBUS | ***uspi[0-1]*** |
35+
| USCI (UART function) | RT_Device_Class_Char | ***uuart[0-1]*** |
36+
| WDT | RT_Device_Class_Miscellaneous (Watchdog) | ***wdt*** |
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# RT-Thread building script for bridge
2+
3+
import os
4+
from building import *
5+
6+
cwd = GetCurrentDir()
7+
objs = []
8+
list = os.listdir(cwd)
9+
10+
for d in list:
11+
path = os.path.join(cwd, d)
12+
if os.path.isfile(os.path.join(path, 'SConscript')):
13+
objs = objs + SConscript(os.path.join(d, 'SConscript'))
14+
15+
Return('objs')

0 commit comments

Comments
 (0)