瀏覽代碼

Misc. pio cleanup

Scott Lahteine 3 年之前
父節點
當前提交
c508c2213e
共有 5 個文件被更改,包括 58 次插入19 次删除
  1. 13
    3
      ini/stm32f0.ini
  2. 13
    3
      ini/stm32f1.ini
  3. 13
    3
      ini/stm32f4.ini
  4. 13
    3
      ini/stm32f7.ini
  5. 6
    7
      platformio.ini

+ 13
- 3
ini/stm32f0.ini 查看文件

@@ -4,9 +4,19 @@
4 4
 #
5 5
 
6 6
 #################################
7
-#                               #
8
-#     STM32F0 Architecture      #
9
-#                               #
7
+#
8
+# STM32F0 Architecture
9
+#
10
+# Naming Example: STM32F070CBT6
11
+#
12
+#   F : Foundation
13
+#   0 : Cortex M0 core
14
+#  70 : Line/Features
15
+#   C : 48 pins  (R:64 or 66, F:20)
16
+#   B : 128KB Flash-memory  (C:256KB, D:384KB, E:512KB, G:1024KB)
17
+#   T : LQFP package
18
+#   6 : -40...85°C   (7: ...105°C)
19
+#
10 20
 #################################
11 21
 
12 22
 #

+ 13
- 3
ini/stm32f1.ini 查看文件

@@ -4,9 +4,19 @@
4 4
 #
5 5
 
6 6
 #################################
7
-#                               #
8
-#     STM32F1 Architecture      #
9
-#                               #
7
+#
8
+# STM32F1 Architecture
9
+#
10
+# Naming Example: STM32F103RCT6
11
+#
12
+#   F : Foundation (sometimes High Performance F2/F4)
13
+#   1 : Cortex M1 core
14
+#  03 : Line/Features
15
+#   R : 64 or 66 pins  (V:100, Z:144, I:176)
16
+#   C : 256KB Flash-memory  (D:384KB, E:512KB, G:1024KB)
17
+#   T : LQFP package
18
+#   6 : -40...85°C   (7: ...105°C)
19
+#
10 20
 #################################
11 21
 
12 22
 #

+ 13
- 3
ini/stm32f4.ini 查看文件

@@ -4,9 +4,19 @@
4 4
 #
5 5
 
6 6
 #################################
7
-#                               #
8
-#     STM32F4 Architecture      #
9
-#                               #
7
+#
8
+# STM32F4 Architecture
9
+#
10
+# Naming Example: STM32F401RGT6
11
+#
12
+#   F : Foundation (sometimes High Performance F2/F4)
13
+#   4 : Cortex M4 core
14
+#  01 : Line/Features
15
+#   R : 64 or 66 pins  (V:100, Z:144, I:176)
16
+#   G : 1024KB Flash-memory  (C:256KB, D:384KB, E:512KB)
17
+#   T : LQFP package
18
+#   6 : -40...85°C   (7: ...105°C)
19
+#
10 20
 #################################
11 21
 
12 22
 #

+ 13
- 3
ini/stm32f7.ini 查看文件

@@ -4,9 +4,19 @@
4 4
 #
5 5
 
6 6
 #################################
7
-#                               #
8
-#     STM32F7 Architecture      #
9
-#                               #
7
+#
8
+# STM32F7 Architecture
9
+#
10
+# Naming Example: STM32F767ZIT6
11
+#
12
+#   F : Foundation (sometimes High Performance F2/F4)
13
+#   7 : Cortex M7 core
14
+#  67 : Line/Features
15
+#   Z : 144 pins
16
+#   I : 4096KB Flash-memory
17
+#   T : LQFP package
18
+#   6 : -40...85°C   (7: ...105°C)
19
+#
10 20
 #################################
11 21
 
12 22
 #

+ 6
- 7
platformio.ini 查看文件

@@ -10,11 +10,6 @@
10 10
 # Automatic targets - enable auto-uploading
11 11
 #targets = upload
12 12
 
13
-#
14
-# By default platformio build will abort after 5 errors.
15
-# Remove '-fmax-errors=5' from build_flags below to see all.
16
-#
17
-
18 13
 [platformio]
19 14
 src_dir      = Marlin
20 15
 boards_dir   = buildroot/share/PlatformIO/boards
@@ -35,10 +30,14 @@ extra_configs =
35 30
     ini/teensy.ini
36 31
 
37 32
 #
38
-# The 'common' values are used for most Marlin builds
33
+# The 'common' section applies to most Marlin builds.
34
+#
35
+# By default platformio build will abort after 5 errors.
36
+# Remove '-fmax-errors=5' from build_flags below to see all.
39 37
 #
40 38
 [common]
41
-build_flags        = -fmax-errors=5 -g3 -D__MARLIN_FIRMWARE__ -fmerge-constants
39
+build_flags        = -g3 -D__MARLIN_FIRMWARE__ -fmerge-constants
40
+                     -fmax-errors=5
42 41
 extra_scripts      =
43 42
   pre:buildroot/share/PlatformIO/scripts/common-dependencies.py
44 43
   pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py

Loading…
取消
儲存