Browse Source

🔧 Octopus SPI display pins, fix USB build env (#22412)

vanilla_fb_2.0.x
Luke Harrison 3 years ago
committed by Scott Lahteine
parent
commit
8d34a99d8f
  1. 18
      Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h
  2. 1
      ini/stm32f4.ini

18
Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h

@ -500,6 +500,24 @@
#endif #endif
#endif #endif
#if HAS_SPI_TFT
#define TFT_CS_PIN EXP2_07_PIN
#define TFT_A0_PIN EXP2_04_PIN
#define TFT_SCK_PIN EXP2_09_PIN
#define TFT_MISO_PIN EXP2_10_PIN
#define TFT_MOSI_PIN EXP2_05_PIN
#define TOUCH_INT_PIN EXP1_04_PIN
#define TOUCH_MISO_PIN EXP1_05_PIN
#define TOUCH_MOSI_PIN EXP1_08_PIN
#define TOUCH_SCK_PIN EXP1_06_PIN
#define TOUCH_CS_PIN EXP1_07_PIN
#define BTN_EN1 EXP2_08_PIN
#define BTN_EN2 EXP2_06_PIN
#define BTN_ENC EXP1_09_PIN
#endif
// //
// WIFI // WIFI
// //

1
ini/stm32f4.ini

@ -235,6 +235,7 @@ build_flags = ${stm32_variant.build_flags}
platform = ${common_stm32.platform} platform = ${common_stm32.platform}
extends = env:BIGTREE_OCTOPUS_V1 extends = env:BIGTREE_OCTOPUS_V1
platform_packages = ${stm_flash_drive.platform_packages} platform_packages = ${stm_flash_drive.platform_packages}
build_unflags = -DUSBD_USE_CDC
build_flags = ${stm_flash_drive.build_flags} build_flags = ${stm_flash_drive.build_flags}
-DSTM32F446_5VX -DUSE_USB_HS_IN_FS -DSTM32F446_5VX -DUSE_USB_HS_IN_FS
-DUSE_USBHOST_HS -DUSBD_IRQ_PRIO=5 -DUSE_USBHOST_HS -DUSBD_IRQ_PRIO=5

Loading…
Cancel
Save