def configure(conf): conf.env.append_unique('DEFINES', 'STM32F779xx') def build(bld): stm32_sources = bld.path.ant_glob('stm32f7haxx_stdperiph/*.c') includes = ['.', 'CMSIS/Include', 'CMSIS/Device/ST/STM32F7xx/Include', 'stm32f7haxx_stdperiph'] bld.stlib(source=stm32_sources, target='stm32_stdlib', includes=includes, export_includes=includes) # vim:filetype=python