|
@@ -7,8 +7,12 @@ cwd = GetCurrentDir()
|
|
src = Glob('board.c')
|
|
src = Glob('board.c')
|
|
src += Glob('CubeMX_Config/Src/stm32f7xx_hal_msp.c')
|
|
src += Glob('CubeMX_Config/Src/stm32f7xx_hal_msp.c')
|
|
|
|
|
|
|
|
+if GetDepend(['BSP_USING_ETH']):
|
|
|
|
+ src += Glob('ports/phy_reset.c')
|
|
|
|
+
|
|
path = [cwd]
|
|
path = [cwd]
|
|
path += [cwd + '/CubeMX_Config/Inc']
|
|
path += [cwd + '/CubeMX_Config/Inc']
|
|
|
|
+path += [cwd + '/ports']
|
|
|
|
|
|
if rtconfig.CROSS_TOOL == 'gcc':
|
|
if rtconfig.CROSS_TOOL == 'gcc':
|
|
src += [cwd + '/../../libraries/STM32F7xx_HAL/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f767xx.s']
|
|
src += [cwd + '/../../libraries/STM32F7xx_HAL/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f767xx.s']
|