revert M3 project Sconscript.env file
@@ -13,21 +13,16 @@ buildEnv['ENV'] = os.environ
# configuration for the same board.
buildEnv['BSP'] = buildEnv['board']
-# include board/bsp-specific directories
-buildEnv.Append(
- CPPPATH = [
- os.path.join('#','bsp','boards',buildEnv['board']),
- ]
-)
+bsp_dir = os.path.join('#','bsp','boards',buildEnv['board'])
# include board/bsp-specific directories
buildEnv.Append(
CPPPATH = [
- os.path.join('#','bsp','boards',buildEnv['board']),
- os.path.join('#','bsp','boards',buildEnv['board'],'library','inc'),
- os.path.join('#','bsp','boards',buildEnv['board'],'Libraries','CMSIS','CM3','DeviceSupport','ST','STM32F10x'),
- os.path.join('#','bsp','boards',buildEnv['board'],'Libraries','CMSIS','CM3','CoreSupport'),
- os.path.join('#','bsp','boards',buildEnv['board'],'configure'),
+ bsp_dir,
+ os.path.join(bsp_dir,'library','STM32F10x_StdPeriph_Lib_V3.5.0','Libraries','STM32F10x_StdPeriph_Driver','inc'),
+ os.path.join(bsp_dir,'library','STM32F10x_StdPeriph_Lib_V3.5.0','Libraries','CMSIS','CM3','DeviceSupport','ST','STM32F10x'),
+ os.path.join(bsp_dir,'library','STM32F10x_StdPeriph_Lib_V3.5.0','Libraries','CMSIS','CM3','CoreSupport'),
+ os.path.join(bsp_dir,'configure'),
]
)
