Browse Source

Revert default BTT STM32F103 environment (#16006)

thisiskeithb 5 years ago
parent
commit
f786cc5145

+ 1
- 1
.travis.yml View File

@@ -27,7 +27,7 @@ env:
27 27
 
28 28
   # Extended STM32 Environments
29 29
   - TEST_PLATFORM="STM32F103RC_bigtree"
30
-  - TEST_PLATFORM="STM32F103RC_bigtree_NOUSB"
30
+  - TEST_PLATFORM="STM32F103RC_bigtree_USB"
31 31
   - TEST_PLATFORM="STM32F103RC_fysetc"
32 32
   - TEST_PLATFORM="jgaurora_a5s_a1"
33 33
   - TEST_PLATFORM="STM32F103VE_longer"

+ 4
- 4
Marlin/src/pins/pins.h View File

@@ -470,13 +470,13 @@
470 470
 #elif MB(MKS_ROBIN_LITE)
471 471
   #include "stm32/pins_MKS_ROBIN_LITE.h"        // STM32F1                                env:mks_robin_lite
472 472
 #elif MB(BIGTREE_SKR_MINI_V1_1)
473
-  #include "stm32/pins_BTT_SKR_MINI_V1_1.h"     // STM32F1                                env:STM32F103RC_bigtree env:STM32F103RC_bigtree_512K env:STM32F103RC_bigtree_NOUSB env:STM32F103RC_bigtree_512K_NOUSB
473
+  #include "stm32/pins_BTT_SKR_MINI_V1_1.h"     // STM32F1                                env:STM32F103RC_bigtree env:STM32F103RC_bigtree_512K env:STM32F103RC_bigtree_USB env:STM32F103RC_bigtree_512K_USB
474 474
 #elif MB(BTT_SKR_MINI_E3_V1_0)
475
-  #include "stm32/pins_BTT_SKR_MINI_E3_V1_0.h"  // STM32F1                                env:STM32F103RC_bigtree env:STM32F103RC_bigtree_512K env:STM32F103RC_bigtree_NOUSB env:STM32F103RC_bigtree_512K_NOUSB
475
+  #include "stm32/pins_BTT_SKR_MINI_E3_V1_0.h"  // STM32F1                                env:STM32F103RC_bigtree env:STM32F103RC_bigtree_512K env:STM32F103RC_bigtree_USB env:STM32F103RC_bigtree_512K_USB
476 476
 #elif MB(BTT_SKR_MINI_E3_V1_2)
477
-  #include "stm32/pins_BTT_SKR_MINI_E3_V1_2.h"  // STM32F1                                env:STM32F103RC_bigtree env:STM32F103RC_bigtree_512K env:STM32F103RC_bigtree_NOUSB env:STM32F103RC_bigtree_512K_NOUSB
477
+  #include "stm32/pins_BTT_SKR_MINI_E3_V1_2.h"  // STM32F1                                env:STM32F103RC_bigtree env:STM32F103RC_bigtree_512K env:STM32F103RC_bigtree_USB env:STM32F103RC_bigtree_512K_USB
478 478
 #elif MB(BIGTREE_SKR_E3_DIP)
479
-  #include "stm32/pins_BTT_SKR_E3_DIP.h"        // STM32F1                                env:STM32F103RE_bigtree env:STM32F103RE_bigtree_NOUSB env:STM32F103RC_bigtree env:STM32F103RC_bigtree_512K env:STM32F103RC_bigtree_NOUSB env:STM32F103RC_bigtree_512K_NOUSB
479
+  #include "stm32/pins_BTT_SKR_E3_DIP.h"        // STM32F1                                env:STM32F103RE_bigtree env:STM32F103RE_bigtree_USB env:STM32F103RC_bigtree env:STM32F103RC_bigtree_512K env:STM32F103RC_bigtree_USB env:STM32F103RC_bigtree_512K_USB
480 480
 #elif MB(JGAURORA_A5S_A1)
481 481
   #include "stm32/pins_JGAURORA_A5S_A1.h"       // STM32F1                                env:jgaurora_a5s_a1
482 482
 #elif MB(FYSETC_AIO_II)

+ 2
- 2
buildroot/share/atom/auto_build.py View File

@@ -609,9 +609,9 @@ def get_env(board_name, ver_Marlin):
609 609
         get_answer(board_name, 'RCT6 Flash Size?', '512K', '256K')
610 610
         if 1 == get_answer_val:
611 611
           target_env += '_512K'
612
-      get_answer(board_name, 'USB Support?', 'No USB', 'USB')
612
+      get_answer(board_name, 'USB Support?', 'USB', 'No USB')
613 613
       if 1 == get_answer_val:
614
-        target_env += '_NOUSB'
614
+        target_env += '_USB'
615 615
     else:
616 616
       invalid_board()
617 617
 

+ 3
- 3
buildroot/share/tests/STM32F103RC_bigtree-tests View File

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

buildroot/share/tests/STM32F103RC_bigtree_NOUSB-tests → buildroot/share/tests/STM32F103RC_bigtree_USB-tests View File

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

+ 15
- 15
platformio.ini View File

@@ -280,12 +280,12 @@ upload_protocol   = serial
280 280
 #
281 281
 # BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
282 282
 #
283
-#   STM32F103RC_bigtree .............. RCT6 with 256K
284
-#   STM32F103RC_bigtree_NOUSB ........ RCT6 with 256K (no USB)
285
-#   STM32F103RC_bigtree_512K.......... RCT6 with 512K
286
-#   STM32F103RC_bigtree_512K_NOUSB ... RCT6 with 512K (no USB)
287
-#   STM32F103RE_bigtree .............. RET6
288
-#   STM32F103RE_bigtree_NOUSB ........ RET6 (no USB)
283
+#   STM32F103RC_bigtree ............. RCT6 with 256K
284
+#   STM32F103RC_bigtree_USB ......... RCT6 with 256K (USB)
285
+#   STM32F103RC_bigtree_512K ........ RCT6 with 512K
286
+#   STM32F103RC_bigtree_512K_USB .... RCT6 with 512K (USB)
287
+#   STM32F103RE_bigtree ............. RET6
288
+#   STM32F103RE_bigtree_USB ......... RET6 (USB)
289 289
 #
290 290
 
291 291
 [env:STM32F103RC_bigtree]
@@ -295,7 +295,7 @@ board             = genericSTM32F103RC
295 295
 platform_packages = tool-stm32duino
296 296
 extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
297 297
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
298
-  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=256
298
+  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
299 299
 build_unflags     = -std=gnu++11
300 300
 lib_deps          = ${common.lib_deps}
301 301
   SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
@@ -303,14 +303,14 @@ lib_ignore        = Adafruit NeoPixel, SPI
303 303
 src_filter        = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
304 304
 monitor_speed     = 115200
305 305
 
306
-[env:STM32F103RC_bigtree_NOUSB]
306
+[env:STM32F103RC_bigtree_USB]
307 307
 platform          = ststm32
308 308
 framework         = arduino
309 309
 board             = genericSTM32F103RC
310 310
 platform_packages = tool-stm32duino
311 311
 extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
312 312
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
313
-  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
313
+  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4
314 314
 build_unflags     = -std=gnu++11
315 315
 lib_deps          = ${common.lib_deps}
316 316
   SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
@@ -326,7 +326,7 @@ board_upload.maximum_size=524288
326 326
 platform_packages = tool-stm32duino
327 327
 extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
328 328
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
329
-  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512
329
+  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512
330 330
 build_unflags     = -std=gnu++11
331 331
 lib_deps          = ${common.lib_deps}
332 332
   SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
@@ -334,7 +334,7 @@ lib_ignore        = Adafruit NeoPixel, SPI
334 334
 src_filter        = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
335 335
 monitor_speed     = 115200
336 336
 
337
-[env:STM32F103RC_bigtree_512K_NOUSB]
337
+[env:STM32F103RC_bigtree_512K_USB]
338 338
 platform          = ststm32
339 339
 framework         = arduino
340 340
 board             = genericSTM32F103RC
@@ -342,7 +342,7 @@ board_upload.maximum_size=524288
342 342
 platform_packages = tool-stm32duino
343 343
 extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
344 344
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
345
-  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512
345
+  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512
346 346
 build_unflags     = -std=gnu++11
347 347
 lib_deps          = ${common.lib_deps}
348 348
   SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
@@ -358,7 +358,7 @@ board_upload.maximum_size=524288
358 358
 platform_packages = tool-stm32duino
359 359
 extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
360 360
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
361
-  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4
361
+  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
362 362
 build_unflags     = -std=gnu++11
363 363
 lib_deps          = ${common.lib_deps}
364 364
   SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
@@ -366,7 +366,7 @@ lib_ignore        = Adafruit NeoPixel, SPI
366 366
 src_filter        = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
367 367
 monitor_speed     = 115200
368 368
 
369
-[env:STM32F103RE_bigtree_NOUSB]
369
+[env:STM32F103RE_bigtree_USB]
370 370
 platform          = ststm32
371 371
 framework         = arduino
372 372
 board             = genericSTM32F103RE
@@ -374,7 +374,7 @@ board_upload.maximum_size=524288
374 374
 platform_packages = tool-stm32duino
375 375
 extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py
376 376
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
377
-  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
377
+  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE -DHAVE_SW_SERIAL -DSS_TIMER=4
378 378
 build_unflags     = -std=gnu++11
379 379
 lib_deps          = ${common.lib_deps}
380 380
   SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip

Loading…
Cancel
Save