|
| 1 | +; PlatformIO Project Configuration File |
| 2 | +; |
| 3 | +; Build options: build flags, source filter |
| 4 | +; Upload options: custom upload port, speed and extra flags |
| 5 | +; Library options: dependencies, extra library storages |
| 6 | +; Advanced options: extra scripting |
| 7 | +; |
| 8 | +; Please visit documentation for the other options and examples |
| 9 | +; http://docs.platformio.org/page/projectconf.html |
| 10 | + |
| 11 | +[platformio] |
| 12 | +src_dir = . |
| 13 | + |
| 14 | +[env:maple-mini] |
| 15 | +platform = ststm32 |
| 16 | +board = genericSTM32F103C8 |
| 17 | +build_flags = -DTARGET_MAPLE_MINI -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 18 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 19 | + |
| 20 | +[env:maple-rev3] |
| 21 | +platform = ststm32 |
| 22 | +board = genericSTM32F103C8 |
| 23 | +build_flags = -DTARGET_MAPLE_REV3 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 24 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 25 | + |
| 26 | +[env:maple-rev5] |
| 27 | +platform = ststm32 |
| 28 | +board = genericSTM32F103C8 |
| 29 | +build_flags = -DTARGET_MAPLE_REV5 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 30 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 31 | + |
| 32 | +[env:generic-pc13] |
| 33 | +platform = ststm32 |
| 34 | +board = genericSTM32F103C8 |
| 35 | +build_flags = -DTARGET_GENERIC_F103_PC13 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 36 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 37 | + |
| 38 | +[env:generic-pg15] |
| 39 | +platform = ststm32 |
| 40 | +board = genericSTM32F103C8 |
| 41 | +build_flags = -DTARGET_GENERIC_F103_PG15 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 42 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 43 | + |
| 44 | +[env:generic-pd2] |
| 45 | +platform = ststm32 |
| 46 | +board = genericSTM32F103C8 |
| 47 | +build_flags = -DTARGET_GENERIC_F103_PD2 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 48 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 49 | + |
| 50 | +[env:generic-pd1] |
| 51 | +platform = ststm32 |
| 52 | +board = genericSTM32F103C8 |
| 53 | +build_flags = -DTARGET_GENERIC_F103_PD1 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 54 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 55 | + |
| 56 | +[env:generic-pa1] |
| 57 | +platform = ststm32 |
| 58 | +board = genericSTM32F103C8 |
| 59 | +build_flags = -DTARGET_GENERIC_F103_PA1 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 60 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 61 | + |
| 62 | +[env:generic-pa1-button-pa8] |
| 63 | +platform = ststm32 |
| 64 | +board = genericSTM32F103C8 |
| 65 | +build_flags = -DTARGET_GENERIC_F103_PA1_BUTTON_PA8 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 66 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 67 | + |
| 68 | +[env:generic-pb9] |
| 69 | +platform = ststm32 |
| 70 | +board = genericSTM32F103C8 |
| 71 | +build_flags = -DTARGET_GENERIC_F103_PB9 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 72 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 73 | + |
| 74 | +[env:generic-pe2] |
| 75 | +platform = ststm32 |
| 76 | +board = genericSTM32F103C8 |
| 77 | +build_flags = -DTARGET_GENERIC_F103_PE2 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 78 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 79 | + |
| 80 | +[env:generic-pa9] |
| 81 | +platform = ststm32 |
| 82 | +board = genericSTM32F103C8 |
| 83 | +build_flags = -DTARGET_GENERIC_F103_PA9 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 84 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 85 | + |
| 86 | +[env:generic-pe5] |
| 87 | +platform = ststm32 |
| 88 | +board = genericSTM32F103C8 |
| 89 | +build_flags = -DTARGET_GENERIC_F103_PE5 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 90 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 91 | + |
| 92 | +[env:generic-pe5-button-pa0] |
| 93 | +platform = ststm32 |
| 94 | +board = genericSTM32F103C8 |
| 95 | +build_flags = -DTARGET_GENERIC_F103_PE5_BUTTON_PA0 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 96 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 97 | + |
| 98 | +[env:generic-pb7] |
| 99 | +platform = ststm32 |
| 100 | +board = genericSTM32F103C8 |
| 101 | +build_flags = -DTARGET_GENERIC_F103_PB7 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 102 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 103 | + |
| 104 | +[env:generic-pb0] |
| 105 | +platform = ststm32 |
| 106 | +board = genericSTM32F103C8 |
| 107 | +build_flags = -DTARGET_GENERIC_F103_PB0 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 108 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 109 | + |
| 110 | +[env:stbee] |
| 111 | +platform = ststm32 |
| 112 | +board = genericSTM32F103C8 |
| 113 | +build_flags = -DTARGET_STBEE -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 114 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 115 | + |
| 116 | +[env:naze32] |
| 117 | +platform = ststm32 |
| 118 | +board = genericSTM32F103C8 |
| 119 | +build_flags = -DTARGET_NAZE32 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 120 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 121 | + |
| 122 | +[env:generic-pb12] |
| 123 | +platform = ststm32 |
| 124 | +board = genericSTM32F103C8 |
| 125 | +build_flags = -DTARGET_GENERIC_F103_PB12 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 126 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 127 | + |
| 128 | +[env:hytiny-stm32f103t] |
| 129 | +platform = ststm32 |
| 130 | +board = genericSTM32F103C8 |
| 131 | +build_flags = -DTARGET_HYTINY_STM32F103T -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 132 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 133 | + |
| 134 | +[env:dso138] |
| 135 | +platform = ststm32 |
| 136 | +board = genericSTM32F103C8 |
| 137 | +build_flags = -DTARGET_DSO138 -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 138 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 139 | + |
| 140 | +[env:gd32f1-frankenmaple] |
| 141 | +platform = ststm32 |
| 142 | +board = genericSTM32F103C8 |
| 143 | +build_flags = -DTARGET_GD32F1_FRANKENMAPLE -Istm32_lib -Iusb_lib -Wl,-Tstm32_lib/c_only_md_high_density.ld |
| 144 | +src_filter = +<*> -<sketch_combiner/> -<stm32_lib/c_only_startup_user.s> |
| 145 | + |
0 commit comments