Misc. pio cleanup

This commit is contained in:
Scott Lahteine 2021-04-18 14:07:30 -05:00 committed by Scott Lahteine
parent 5d8727a59c
commit c508c2213e
5 changed files with 58 additions and 19 deletions

View File

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

View File

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

View File

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

View File

@ -4,9 +4,19 @@
# #
################################# #################################
# # #
# STM32F7 Architecture # # STM32F7 Architecture
# # #
# Naming Example: STM32F767ZIT6
#
# F : Foundation (sometimes High Performance F2/F4)
# 7 : Cortex M7 core
# 67 : Line/Features
# Z : 144 pins
# I : 4096KB Flash-memory
# T : LQFP package
# 6 : -40...85°C (7: ...105°C)
#
################################# #################################
# #

View File

@ -10,11 +10,6 @@
# Automatic targets - enable auto-uploading # Automatic targets - enable auto-uploading
#targets = upload #targets = upload
#
# By default platformio build will abort after 5 errors.
# Remove '-fmax-errors=5' from build_flags below to see all.
#
[platformio] [platformio]
src_dir = Marlin src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards boards_dir = buildroot/share/PlatformIO/boards
@ -35,10 +30,14 @@ extra_configs =
ini/teensy.ini ini/teensy.ini
# #
# The 'common' values are used for most Marlin builds # The 'common' section applies to most Marlin builds.
#
# By default platformio build will abort after 5 errors.
# Remove '-fmax-errors=5' from build_flags below to see all.
# #
[common] [common]
build_flags = -fmax-errors=5 -g3 -D__MARLIN_FIRMWARE__ -fmerge-constants build_flags = -g3 -D__MARLIN_FIRMWARE__ -fmerge-constants
-fmax-errors=5
extra_scripts = extra_scripts =
pre:buildroot/share/PlatformIO/scripts/common-dependencies.py pre:buildroot/share/PlatformIO/scripts/common-dependencies.py
pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py