Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from Marlin\src\HAL\STM32\tft\xpt2046.cpp:31:
- Marlin\src\HAL\STM32\tft\xpt2046.h:35:4: error: #error "TOUCH_MISO_PIN is not defined."
- 35 | #error "TOUCH_MISO_PIN is not defined."
- | ^~~~~
- In file included from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:31:
- Marlin\src\HAL\STM32\tft\tft_fsmc.h:55:12: error: 'SRAM_HandleTypeDef' does not name a type; did you mean 'SAI_HandleTypeDef'?
- 55 | static SRAM_HandleTypeDef SRAMx;
- | ^~~~~~~~~~~~~~~~~~
- | SAI_HandleTypeDef
- In file included from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:31:
- Marlin\src\HAL\STM32\tft\tft_fsmc.h:100:12: error: 'FSMC_NORSRAM_DEVICE' was not declared in this scope; did you mean 'FSMC_NORSRAM_TYPEDEF'?
- 100 | {PD_14, FSMC_NORSRAM_DEVICE, FSMC_PIN_DATA}, // FSMC_D00
- | ^~~~~~~~~~~~~~~~~~~
- | FSMC_NORSRAM_TYPEDEF
- In file included from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNames.h:4,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/pinmap.h:22,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PeripheralPins.h:34,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/analog.h:44,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/board.h:8,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/wiring.h:41,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:36,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/../shared/Marduino.h:36,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/HAL.h:28,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/HAL.h:30,
- from Marlin\src\HAL\STM32\tft\../../../inc/MarlinConfig.h:31,
- from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:27:
- Marlin\src\HAL\STM32\tft\tft_fsmc.h:90:69: error: 'GPIO_AF12_FSMC' was not declared in this scope; did you mean 'GPIO_AF12_FMC'?
- 90 | #define FSMC_PIN_DATA STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_FSMC)
- | ^~~~~~~~~~~~~~
- C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNamesTypes.h:93:29: note: in definition of macro 'STM_PIN_DEFINE'
- 93 | ((AFNUM & STM_PIN_AFNUM_MASK) << STM_PIN_AFNUM_SHIFT))
- | ^~~~~
- Marlin\src\HAL\STM32\tft\tft_fsmc.h:90:27: note: in expansion of macro 'STM_PIN_DATA'
- 90 | #define FSMC_PIN_DATA STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_FSMC)
- | ^~~~~~~~~~~~
- Marlin\src\HAL\STM32\tft\tft_fsmc.h:100:33: note: in expansion of macro 'FSMC_PIN_DATA'
- 100 | {PD_14, FSMC_NORSRAM_DEVICE, FSMC_PIN_DATA}, // FSMC_D00
- | ^~~~~~~~~~~~~
- In file included from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:31:
- Marlin\src\HAL\STM32\tft\tft_fsmc.h:101:12: error: 'FSMC_NORSRAM_DEVICE' was not declared in this scope; did you mean 'FSMC_NORSRAM_TYPEDEF'?
- 101 | {PD_15, FSMC_NORSRAM_DEVICE, FSMC_PIN_DATA}, // FSMC_D01
- | ^~~~~~~~~~~~~~~~~~~
- | FSMC_NORSRAM_TYPEDEF
- In file included from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNames.h:4,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/pinmap.h:22,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PeripheralPins.h:34,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/analog.h:44,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/board.h:8,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/wiring.h:41,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:36,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/../shared/Marduino.h:36,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/HAL.h:28,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/HAL.h:30,
- from Marlin\src\HAL\STM32\tft\../../../inc/MarlinConfig.h:31,
- from Marlin\src\HAL\STM32\tft\tft_fsmc.cpp:27:
- Marlin\src\HAL\STM32\tft\tft_fsmc.h:90:69: error: 'GPIO_AF12_FSMC' was not declared in this scope; did you mean 'GPIO_AF12_FMC'?
- 90 | #define FSMC_PIN_DATA STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_FSMC)
- | ^~~~~~~~~~~~~~
- C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNamesTypes.h:93:29: note: in definition of macro 'STM_PIN_DEFINE'
- 93 | ((AFNUM & STM_PIN_AFNUM_MASK) << STM_PIN_AFNUM_SHIFT))
- | ^~~~~
- Marlin\src\HAL\STM32\tft\tft_fsmc.h:90:27: note: in expansion of macro 'STM_PIN_DATA'
- 90 | #define FSMC_PIN_DATA STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF12_FSMC)
- | ^~~~~~~~~~~~
- Marlin\src\HAL\STM32\tft\tft_fsmc.h:101:33: note: in expansion of macro 'FSMC_PIN_DATA'
- 101 | {PD_15, FSMC_NORSRAM_DEVICE, FSMC_PIN_DATA}, // FSMC_D01
- | ^~~~~~~~~~~~~
- compilation terminated due to -fmax-errors=5.
- Compiling .pio\build\BIGTREE_SKR_2_F429\src\src\HAL\shared\backtrace\unwarm.cpp.o
- *** [.pio\build\BIGTREE_SKR_2_F429\src\src\HAL\STM32\tft\tft_fsmc.cpp.o] Error 1
- In file included from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNames.h:4,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/pinmap.h:22,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PeripheralPins.h:34,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/analog.h:44,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/board.h:8,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/wiring.h:41,
- from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:36,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/../shared/Marduino.h:36,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/HAL.h:28,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/HAL.h:30,
- from Marlin\src\HAL\STM32\tft\../../../inc/MarlinConfig.h:31,
- from Marlin\src\HAL\STM32\tft\xpt2046.cpp:27:
- Marlin\src\HAL\STM32\tft\xpt2046.h: In static member function 'static void XPT2046::DataTransferBegin()':
- Marlin\src\HAL\STM32\tft\xpt2046.h:72:94: error: 'TOUCH_CS_PIN' was not declared in this scope; did you mean 'TOUCH_INT_PIN'?
- 72 | static inline void DataTransferBegin() { if (SPIx.Instance) { HAL_SPI_Init(&SPIx); } WRITE(TOUCH_CS_PIN, LOW); };
- | ^~~~~~~~~~~~
- C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNamesTypes.h:129:34: note: in definition of macro 'STM_PORT'
- 129 | #define STM_PORT(X) (((uint32_t)(X) >> 4) & 0xF)
- | ^
- Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/fastio.h:59:49: note: in expansion of macro 'digitalPinToPinName'
- 59 | #define _WRITE(IO, V) (FastIOPortMap[STM_PORT(digitalPinToPinName(IO))]->BSRR = _BV32(STM_PIN(digitalPinToPinName(IO)) + ((V) ? 0 : 16)))
- | ^~~~~~~~~~~~~~~~~~~
- Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/fastio.h:70:33: note: in expansion of macro '_WRITE'
- 70 | #define WRITE(IO,V) _WRITE(IO,V)
- | ^~~~~~
- Marlin\src\HAL\STM32\tft\xpt2046.h:72:88: note: in expansion of macro 'WRITE'
- 72 | static inline void DataTransferBegin() { if (SPIx.Instance) { HAL_SPI_Init(&SPIx); } WRITE(TOUCH_CS_PIN, LOW); };
- | ^~~~~
- Marlin\src\HAL\STM32\tft\xpt2046.h: In static member function 'static void XPT2046::DataTransferEnd()':
- Marlin\src\HAL\STM32\tft\xpt2046.h:73:48: error: 'TOUCH_CS_PIN' was not declared in this scope; did you mean 'TOUCH_INT_PIN'?
- 73 | static inline void DataTransferEnd() { WRITE(TOUCH_CS_PIN, HIGH); };
- | ^~~~~~~~~~~~
- C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32/PinNamesTypes.h:129:34: note: in definition of macro 'STM_PORT'
- 129 | #define STM_PORT(X) (((uint32_t)(X) >> 4) & 0xF)
- | ^
- Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/fastio.h:59:49: note: in expansion of macro 'digitalPinToPinName'
- 59 | #define _WRITE(IO, V) (FastIOPortMap[STM_PORT(digitalPinToPinName(IO))]->BSRR = _BV32(STM_PIN(digitalPinToPinName(IO)) + ((V) ? 0 : 16)))
- | ^~~~~~~~~~~~~~~~~~~
- Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/fastio.h:70:33: note: in expansion of macro '_WRITE'
- 70 | #define WRITE(IO,V) _WRITE(IO,V)
- | ^~~~~~
- Marlin\src\HAL\STM32\tft\xpt2046.h:73:42: note: in expansion of macro 'WRITE'
- 73 | static inline void DataTransferEnd() { WRITE(TOUCH_CS_PIN, HIGH); };
- | ^~~~~
- In file included from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/HAL.h:31,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/HAL.h:30,
- from Marlin\src\HAL\STM32\tft\../../../inc/MarlinConfig.h:31,
- from Marlin\src\HAL\STM32\tft\xpt2046.cpp:27:
- Marlin\src\HAL\STM32\tft\xpt2046.cpp: In static member function 'static void XPT2046::Init()':
- Marlin\src\HAL\STM32\tft\xpt2046.cpp:41:13: error: 'TOUCH_CS_PIN' was not declared in this scope; did you mean 'TOUCH_INT_PIN'?
- 41 | OUT_WRITE(TOUCH_CS_PIN, HIGH);
- | ^~~~~~~~~~~~
- Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/fastio.h:67:41: note: in definition of macro '_SET_OUTPUT'
- 67 | #define _SET_OUTPUT(IO) pinMode(IO, OUTPUT) //!< Output Push Pull Mode & GPIO_NOPULL
- | ^~
- Marlin\src\HAL\STM32\tft\xpt2046.cpp:41:3: note: in expansion of macro 'OUT_WRITE'
- 41 | OUT_WRITE(TOUCH_CS_PIN, HIGH);
- | ^~~~~~~~~
- In file included from C:\Users\josh1\.platformio\packages\framework-arduinoststm32\cores\arduino/Arduino.h:56,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/../shared/Marduino.h:36,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/./STM32/HAL.h:28,
- from Marlin\src\HAL\STM32\tft\../../../inc/../HAL/HAL.h:30,
- from Marlin\src\HAL\STM32\tft\../../../inc/MarlinConfig.h:31,
- from Marlin\src\HAL\STM32\tft\xpt2046.cpp:27:
- Marlin\src\HAL\STM32\tft\xpt2046.cpp:48:75: error: 'TOUCH_SCK_PIN' was not declared in this scope; did you mean 'TOUCH_INT_PIN'?
- 48 | spiInstance = (SPI_TypeDef *)pinmap_peripheral(digitalPinToPinName(TOUCH_SCK_PIN), PinMap_SPI_SCLK);
- | ^~~~~~~~~~~~~
- 251 | #define digitalPinToPinName(p) (((uint32_t)p < NUM_DIGITAL_PINS) ? digitalPin[p] : \
- | ^
- compilation terminated due to -fmax-errors=5.
- *** [.pio\build\BIGTREE_SKR_2_F429\src\src\HAL\STM32\tft\xpt2046.cpp.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement