Enable use of SERIAL_PORT_2 on HAL_STM32 (#12197)
This commit is contained in:
parent
46360f18b4
commit
aa72884a6e
|
@ -29,6 +29,8 @@
|
||||||
|
|
||||||
#include "HAL.h"
|
#include "HAL.h"
|
||||||
|
|
||||||
|
#include "../../inc/MarlinConfig.h"
|
||||||
|
|
||||||
#if ENABLED(EEPROM_EMULATED_WITH_SRAM)
|
#if ENABLED(EEPROM_EMULATED_WITH_SRAM)
|
||||||
#if STM32F7xx
|
#if STM32F7xx
|
||||||
#include "stm32f7xx_ll_pwr.h"
|
#include "stm32f7xx_ll_pwr.h"
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
#include <USBSerial.h>
|
#include <USBSerial.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "../../inc/MarlinConfigPre.h"
|
||||||
#include "../shared/math_32bit.h"
|
#include "../shared/math_32bit.h"
|
||||||
#include "../shared/HAL_SPI.h"
|
#include "../shared/HAL_SPI.h"
|
||||||
#include "fastio_STM32.h"
|
#include "fastio_STM32.h"
|
||||||
|
|
|
@ -21,7 +21,5 @@
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../../inc/MarlinConfig.h"
|
|
||||||
|
|
||||||
void watchdog_init();
|
void watchdog_init();
|
||||||
void watchdog_reset();
|
void watchdog_reset();
|
||||||
|
|
Loading…
Reference in a new issue