Browse Source

Reorder F103RE environments (#16054)

Gustavo Alvarez 5 years ago
parent
commit
efc3873149

+ 2
- 1
.travis.yml View File

@@ -14,7 +14,6 @@ env:
14 14
   - TEST_PLATFORM="esp32"
15 15
   - TEST_PLATFORM="linux_native"
16 16
   - TEST_PLATFORM="megaatmega2560"
17
-  - TEST_PLATFORM="STM32F103RE"
18 17
   - TEST_PLATFORM="teensy31"
19 18
   - TEST_PLATFORM="teensy35"
20 19
 
@@ -28,6 +27,8 @@ env:
28 27
   # Extended STM32 Environments
29 28
   - TEST_PLATFORM="STM32F103RC_bigtree"
30 29
   - TEST_PLATFORM="STM32F103RC_bigtree_USB"
30
+  - TEST_PLATFORM="STM32F103RE_bigtree"
31
+  - TEST_PLATFORM="STM32F103RE_bigtree_USB"
31 32
   - TEST_PLATFORM="STM32F103RC_fysetc"
32 33
   - TEST_PLATFORM="jgaurora_a5s_a1"
33 34
   - TEST_PLATFORM="STM32F103VE_longer"

+ 19
- 0
buildroot/share/tests/STM32F103RE_bigtree-tests View File

@@ -0,0 +1,19 @@
1
+#!/usr/bin/env bash
2
+#
3
+# Build tests for STM32F103RE Bigtreetech (SKR E3 DIP v1.0)
4
+#
5
+
6
+# exit on first failure
7
+set -e
8
+
9
+#
10
+# Build with the default configurations
11
+#
12
+restore_configs
13
+opt_set MOTHERBOARD BOARD_BIGTREE_SKR_E3_DIP
14
+opt_set SERIAL_PORT 1
15
+opt_set SERIAL_PORT_2 -1
16
+exec_test $1 $2 "Bigtreetech SKR E3 DIP v1.0 - Basic Configuration"
17
+
18
+# clean up
19
+restore_configs

+ 19
- 0
buildroot/share/tests/STM32F103RE_bigtree_USB-tests View File

@@ -0,0 +1,19 @@
1
+#!/usr/bin/env bash
2
+#
3
+# Build tests for STM32F103RE Bigtreetech (SKR E3 DIP v1.0)
4
+#
5
+
6
+# exit on first failure
7
+set -e
8
+
9
+#
10
+# Build with the default configurations
11
+#
12
+restore_configs
13
+opt_set MOTHERBOARD BOARD_BIGTREE_SKR_E3_DIP
14
+opt_set SERIAL_PORT 1
15
+opt_set SERIAL_PORT_2 -1
16
+exec_test $1 $2 "Bigtreetech SKR E3 DIP v1.0 - Basic Configuration"
17
+
18
+# clean up
19
+restore_configs

+ 14
- 20
platformio.ini View File

@@ -217,16 +217,17 @@ lib_deps          = ${common.lib_deps}
217 217
 monitor_speed     = 115200
218 218
 
219 219
 #
220
-# STM32F103RE
220
+# STM32F103RE_base
221 221
 #
222
-[env:STM32F103RE]
223
-extends         = env:STM32F1_base
224
-board           = genericSTM32F103RE
225
-build_flags     = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
226
-  ${common.build_flags} -std=gnu++14 -DDEBUG_LEVEL=0
227
-src_filter      = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
228
-debug_tool      = stlink
229
-upload_protocol = stlink
222
+[env:STM32F103RE_base]
223
+extends           = env:STM32F1_base
224
+board             = genericSTM32F103RE
225
+platform_packages = tool-stm32duino
226
+lib_deps          = ${common.lib_deps}
227
+  SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
228
+debug_tool        = stlink
229
+upload_protocol   = stlink
230
+monitor_speed     = 115200
230 231
 
231 232
 #
232 233
 # STM32F103RC_fysetc
@@ -277,22 +278,15 @@ build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
277 278
   ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512 -DUSE_USB_COMPOSITE
278 279
 
279 280
 [env:STM32F103RE_bigtree]
280
-extends           = env:STM32F1_base
281
-board             = genericSTM32F103RE
282
-board_upload.maximum_size=524288
283
-platform_packages = tool-stm32duino
281
+extends           = env:STM32F103RE_base
284 282
 extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
285 283
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
286 284
   ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
287
-lib_deps          = ${common.lib_deps}
288
-  SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
289
-src_filter        = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
290
-monitor_speed     = 115200
291 285
 
292 286
 [env:STM32F103RE_bigtree_USB]
293 287
 extends           = env:STM32F103RE_bigtree
294 288
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
295
-  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4
289
+  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DUSE_USB_COMPOSITE
296 290
 
297 291
 #
298 292
 # STM32F4 with STM32GENERIC
@@ -354,7 +348,7 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
354 348
   ${common.build_flags} -std=gnu++14 -DSTM32_XL_DENSITY
355 349
 
356 350
 #
357
-# MKS ROBIN LITE/LITE2 (STM32F103RCT6)
351
+# MKS Robin Lite/Lite2 (STM32F103RCT6)
358 352
 #
359 353
 [env:mks_robin_lite]
360 354
 extends       = env:STM32F1_base
@@ -475,7 +469,7 @@ lib_deps          =
475 469
 lib_ignore        = SoftwareSerial, SoftwareSerialM
476 470
 
477 471
 #
478
-# BIGTREE_SKR_BTT002 (STM32F407VET6 ARM Cortex-M4)
472
+# Bigtreetech SKR BTT002 (STM32F407VET6 ARM Cortex-M4)
479 473
 #
480 474
 [env:BIGTREE_BTT002]
481 475
 extends       = env:STM32_hal

Loading…
Cancel
Save