4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-24 06:47:23 +08:00
Yuqiang Wang 6b0671b336
[bsp][ci] fix BSPs compilation errors
1.RT_TIMER_TICK_PER_SECOND替换为RT_TICK_PER_SECOND
2.nxp lpc、imx、mcx系列bsp修复
3.lpc824支持gcc
4.lpc824、lpc1114 bsp默认使用nano版本
5.nxp scons --dist问题修复
6.rt-spark lvgl latest 编译修复
2024-10-11 18:32:58 -04:00

22 lines
623 B
Python

from building import *
cwd = GetCurrentDir()
# add the general drivers.
src = Split("""
board.c
dcd.c
MCUX_Config/clock_config.c
MCUX_Config/pin_mux.c
""")
if GetDepend(['BSP_USING_VGLITE']):
src += ['display_support.c', 'vglite_support.c', 'vglite_window.c']
CPPPATH = [cwd,cwd + '/MCUX_Config',cwd + '/ports']
CPPDEFINES = ['CPU_MIMXRT1176DVMAA_cm7', 'XIP_BOOT_HEADER_ENABLE=1', 'XIP_BOOT_HEADER_DCD_ENABLE=1', 'FSL_SDK_ENABLE_DRIVER_CACHE_CONTROL=1','XIP_EXTERNAL_FLASH=1','ARM_MATH_CM7','USE_SDRAM']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
Return('group')