🏗️ Define HAL_STM32 for HAL/STM32 (#22537)

This commit is contained in:
Scott Lahteine
2021-08-08 21:31:10 -05:00
parent e3c294dc9b
commit a668a9d302
34 changed files with 105 additions and 57 deletions

View File

@ -31,7 +31,7 @@ LIB_INTERNAL_MAX31865 = src_filter=+<src/libs/MAX31865.cpp>
NEOPIXEL_LED = adafruit/Adafruit NeoPixel@~1.8.0
src_filter=+<src/feature/leds/neopixel.cpp>
I2C_AMMETER = peterus/INA226Lib@1.1.2
USES_LIQUIDCRYSTAL = fmalpartida/LiquidCrystal@1.5.0
USES_LIQUIDCRYSTAL = LiquidCrystal=https://github.com/MarlinFirmware/New-LiquidCrystal/archive/1.5.1.zip
USES_LIQUIDCRYSTAL_I2C = marcoschwartz/LiquidCrystal_I2C@1.1.4
USES_LIQUIDTWI2 = LiquidTWI2@1.2.7
HAS_WIRED_LCD = src_filter=+<src/lcd/lcdprint.cpp>

View File

@ -13,7 +13,7 @@
platform = ststm32@~12.1
board_build.core = stm32
build_flags = ${common.build_flags}
-std=gnu++14
-std=gnu++14 -DHAL_STM32
-DUSBCON -DUSBD_USE_CDC
-DTIM_IRQ_PRIO=13
-DADC_RESOLUTION=12

View File

@ -10,7 +10,7 @@
# Naming Example: STM32F070CBT6
#
# F : Foundation
# 0 : Cortex M0 core
# 0 : Cortex M0 core (0:M0, 1-2:M3, 3-4:M4, 7:M7)
# 70 : Line/Features
# C : 48 pins (R:64 or 66, F:20)
# B : 128KB Flash-memory (C:256KB, D:384KB, E:512KB, G:1024KB)

View File

@ -10,7 +10,7 @@
# Naming Example: STM32F103RCT6
#
# F : Foundation (sometimes High Performance F2/F4)
# 1 : Cortex M1 core
# 1 : Cortex M3 core (0:M0, 1-2:M3, 3-4:M4, 7:M7)
# 03 : Line/Features
# R : 64 or 66 pins (V:100, Z:144, I:176)
# C : 256KB Flash-memory (D:384KB, E:512KB, G:1024KB)

View File

@ -10,7 +10,7 @@
# Naming Example: STM32F103RCT6
#
# F : Foundation (sometimes High Performance F2/F4)
# 1 : Cortex M3 core
# 1 : Cortex M3 core (0:M0, 1-2:M3, 3-4:M4, 7:M7)
# 03 : Line/Features
# R : 64 or 66 pins (T:36, C:48, V:100, Z:144, I:176)
# C : 256KB Flash-memory (B: 128KB, D:384KB, E:512KB, G:1024KB)

View File

@ -10,7 +10,7 @@
# Naming Example: STM32F401RGT6
#
# F : Foundation (sometimes High Performance F2/F4)
# 4 : Cortex M4 core
# 4 : Cortex M4 core (0:M0, 1-2:M3, 3-4:M4, 7:M7)
# 01 : Line/Features
# R : 64 or 66 pins (T:36, C:48 or 49, M:81, V:100, Z:144, I:176)
# G : 1024KB Flash-memory (B:128KB, C:256KB, D:384KB, E:512KB)

View File

@ -10,7 +10,7 @@
# Naming Example: STM32F767ZIT6
#
# F : Foundation (sometimes High Performance F2/F4)
# 7 : Cortex M7 core
# 7 : Cortex M7 core (0:M0, 1-2:M3, 3-4:M4, 7:M7)
# 67 : Line/Features
# Z : 144 pins
# I : 4096KB Flash-memory

View File

@ -10,7 +10,7 @@
# Naming Example: STM32H743IIT6
#
# H : High Performance
# 7 : Cortex M7 core
# 7 : Cortex M7 core (0:M0, 1-2:M3, 3-4:M4, 7:M7)
# 43 : Line/Features
# I : 176 pins
# I : 2048KB Flash-memory