Skip to content

Commit

Permalink
Misc. pio cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 18, 2021
1 parent 5d8727a commit c508c22
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 19 deletions.
16 changes: 13 additions & 3 deletions ini/stm32f0.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#
#################################

#
Expand Down
16 changes: 13 additions & 3 deletions ini/stm32f1.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#
#################################

#
Expand Down
16 changes: 13 additions & 3 deletions ini/stm32f4.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#
#################################

#
Expand Down
16 changes: 13 additions & 3 deletions ini/stm32f7.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#
#################################

#
Expand Down
13 changes: 6 additions & 7 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
# Automatic targets - enable auto-uploading
#targets = upload

#
# By default platformio build will abort after 5 errors.
# Remove '-fmax-errors=5' from build_flags below to see all.
#

[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
Expand All @@ -35,10 +30,14 @@ extra_configs =
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]
build_flags = -fmax-errors=5 -g3 -D__MARLIN_FIRMWARE__ -fmerge-constants
build_flags = -g3 -D__MARLIN_FIRMWARE__ -fmerge-constants
-fmax-errors=5
extra_scripts =
pre:buildroot/share/PlatformIO/scripts/common-dependencies.py
pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
Expand Down

0 comments on commit c508c22

Please sign in to comment.