🔧 Octopus SPI display pins, fix USB build env (#22412)
This commit is contained in:
parent
15cf97f0d5
commit
8d34a99d8f
|
@ -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
|
||||||
//
|
//
|
||||||
|
|
|
@ -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…
Reference in a new issue