mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
14 lines
407 B
Python
14 lines
407 B
Python
|
|
import os
|
||
|
|
from building import *
|
||
|
|
|
||
|
|
cwd = GetCurrentDir()
|
||
|
|
src = Glob('*.c')
|
||
|
|
src += Glob(os.path.join("portable", "rt-thread", "*.c"))
|
||
|
|
src += Glob(os.path.join("portable", "MemMang", "heap_3.c"))
|
||
|
|
|
||
|
|
CPPPATH = [os.path.join(cwd, "include", "freertos"), os.path.join(cwd, "portable", "rt-thread")]
|
||
|
|
|
||
|
|
group = DefineGroup('FreeRTOS', src, depend = ['LPKG_USING_FREERTOS_WRAPPER'], CPPPATH = CPPPATH)
|
||
|
|
|
||
|
|
Return('group')
|