I have problem with building the project. I tried PlatformIO in Atom and Visual Studio Code. All the time the same error. Please help.
In file included from Marlin\src\HAL\HAL_STM32F1\HAL.cpp:30:0:
Marlin\src\HAL\HAL_STM32F1\HAL.h:73:4: error: #error "Serial port 0 does not exist"
#error "Serial port 0 does not exist"
^~~~~
In file included from c:\m\marlin\src\pins\pins.h:69:0,
from c:\m\marlin\src\inc\marlinconfig.h:32,
from Marlin\src\HAL\HAL_STM32F1\HAL.cpp:31:
c:\m\marlin\src\pins\ramps/pins_RAMPS.h:51:4: error: #error "Oops! Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
#error "Oops! Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
^~~~~