I found the Platform IDE will give me some errors with it and I fixed it last after I searched a lot.
This post refers to this website and thanks for this article
The website I founded and it is useful:
https://reprap.org/forum/read.php?415,874307,874307
Well, here we go:
What error did I get?
1.Llibmaple/stm32.h: No such file or directory
Code: Select all
Marlin\src\HAL\STM32F1\sdio.cpp:26:10: fatal error: libmaple/stm32.h: No such file or directory
Marlin\src\HAL\STM32F1\dogm\../../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory
So I try to search on Google and I am so lucky and find the solution:
The cause is the stSTM32 framework was updated to version 7. Marlin was built on version 6.
The fix is up update your platformio.ini file
Find and replace the line "platform = ststm32" with "platform = ststm32@<6.2.0" 2. Adafruit BusIO error
Code: Select all
.pio\libdeps\ERYONE_MINI_STM32F103V\Adafruit BusIO\Adafruit_SPIDevice.cpp:119:31: error: no matching function for call to 'SPIClass::transfer(uint8_t*&, size_t&)'
The author also gives the solution:
Any errors that mention Adafruit BusIO
The fix is up update your platformio.ini file
Find the line "Adafruit_MAX31865=https://github.com/adafruit/Adafruit_MA ... master.zip" and replace it with
"Adafruit MAX31865 library@~1.1.0" At last, it success compline and no problem.
If you are not using the Ery mini32 motherboard but another brand 32bit stm motherboard. You can also refer to this and it would fix this problem.
Well, Hope you have a nice day~