Browse Source

fw: fix stm32-sdk include path

Signed-off-by: Liam McLoughlin <hexxeh@hexxeh.net>
Liam McLoughlin 5 months ago
parent
commit
3cdee820ed
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/fw/vendor/wscript

+ 4 - 4
src/fw/vendor/wscript

@@ -26,12 +26,12 @@ def build(bld):
         else:
         else:
             excludes = ['**/stm32f4xx_fsmc.c']
             excludes = ['**/stm32f4xx_fsmc.c']
 
 
-        micro_sources = bld.path.ant_glob('STM32F4xx_StdPeriph_Driver/src/*.c',
+        micro_sources = bld.path.ant_glob('stm32-sdk/STM32F4xx_StdPeriph_Driver/src/*.c',
                                           excl=excludes)
                                           excl=excludes)
 
 
-        micro_includes = ['CMSIS/Include',
-                          'CMSIS/Device/ST/STM32F4xx/Include',
-                          'STM32F4xx_StdPeriph_Driver/inc']
+        micro_includes = ['CMSIS/CMSIS/Core/Include',
+                          'stm32-sdk/Device/ST/STM32F4xx/Include',
+                          'stm32-sdk/STM32F4xx_StdPeriph_Driver/inc']
 
 
     elif bld.env.MICRO_FAMILY == 'STM32F2':
     elif bld.env.MICRO_FAMILY == 'STM32F2':
         micro_sources = bld.path.ant_glob('STM32F2xx_StdPeriph_Driver/src/*.c')
         micro_sources = bld.path.ant_glob('STM32F2xx_StdPeriph_Driver/src/*.c')