123456789101112131415161718192021222324252627282930313233343536 |
- [platformio]
- src_dir = ./
- include_dir = User
- build_dir = Build
- [env:genericSTM32F407IGT6]
- platform = ststm32
- board = genericSTM32F407IGT6
- board_build.cmsis.custom_config_header = yes
- ; 表示使用项目目录下的链接文件
- board_build.ldscript = Project/GCC/STM32F417IG_FLASH.ld
- extra_scripts = Project/GCC/scripts.py
- monitor_speed = 115200
- build_flags =
- -IUser
- -IUser/BSP/LED
- -ILibraries/CMSIS/Include
- -ILibraries/CMSIS/Device/ST/STM32F4xx/Include
- -ILibraries/STM32F4xx_StdPeriph_Driver/inc
- ; 定义全局宏
- -D STM32F40_41xxx
- -D USE_STDPERIPH_DRIVER
- build_unflags =
- -DSTM32F407xx
- -DSTM32F4
- src_filter = +<User/> +<Project/GCC/> +<Libraries/STM32F4xx_StdPeriph_Driver/src/> +<MiddleWare/>
- -<Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_qspi.c>
- -<Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmpi2c.c>
- -<Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c>
- -<Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cec.c>
- -<Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spdifrx.c>
- debug_tool = stlink
- upload_protocol = stlink
|