Skip to content

Commit 14c147c

Browse files
unicornxRbb666
authored andcommitted
bsp: k230: add gpio driver
K230 supports 3 GPIO groups: group0: GPIO0 ~ GPIO31, support i/o and irq group1: GPIO32 ~ GPIO63, support i/o and irq group2: GPIO64 ~ GPIO71, only support i/o. Signed-off-by: Chen Wang <[email protected]>
1 parent 60c6fc0 commit 14c147c

File tree

6 files changed

+783
-0
lines changed

6 files changed

+783
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# RT-Thread building script for component
2+
3+
from building import *
4+
5+
cwd = GetCurrentDir()
6+
src = Glob('*.c')
7+
CPPPATH = [cwd]
8+
9+
group = DefineGroup('GPIO', src, depend = [], CPPPATH = CPPPATH)
10+
11+
Return('group')

0 commit comments

Comments
 (0)