Browse Source

Misc. pio cleanup

Scott Lahteine 3 years ago
parent
commit
c508c2213e
5 changed files with 58 additions and 19 deletions
  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 View File

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 View File

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 View File

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 View File

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 View File

10
 # Automatic targets - enable auto-uploading
10
 # Automatic targets - enable auto-uploading
11
 #targets = upload
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
 [platformio]
13
 [platformio]
19
 src_dir      = Marlin
14
 src_dir      = Marlin
20
 boards_dir   = buildroot/share/PlatformIO/boards
15
 boards_dir   = buildroot/share/PlatformIO/boards
35
     ini/teensy.ini
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
 [common]
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
 extra_scripts      =
41
 extra_scripts      =
43
   pre:buildroot/share/PlatformIO/scripts/common-dependencies.py
42
   pre:buildroot/share/PlatformIO/scripts/common-dependencies.py
44
   pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
43
   pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py

Loading…
Cancel
Save