🔨 Fix BTT EBB42 V1.1 compile with -flto (#25849)

This commit is contained in:
alextrical 2023-05-22 02:38:28 +01:00 committed by GitHub
parent 8cd2b0976a
commit 9ceecefae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -125,7 +125,8 @@
//
// Heaters / Fans
//
#define HEATER_0_PIN PA2 // "HE"
#define HEATER_0_PIN PA2 // "HE" V1.1
#define HEATER_1_PIN PB13 // "HE" V1.2
#define FAN0_PIN PA0 // "FAN0"
#define FAN1_PIN PA1 // "FAN1"

View file

@ -33,6 +33,7 @@ build_flags = -DPIN_WIRE_SCL=PB3 -DPIN_WIRE_SDA=PB4
extends = stm32_variant
platform = ststm32@~14.1.0
platform_packages = framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
toolchain-gccarmnoneeabi@1.100301.220327
board = marlin_BTT_EBB42_V1_1
board_build.offset = 0x0000
board_upload.offset_address = 0x08000000