recipe.preproc.macros pattern is missing error
Posted: Sat Nov 05, 2022 2:54 pm
Hi,
I am getting the following error when attempting to compile for the STMicroelectronics-stm32 library on A.IDE 1.8.19:
recipe.preproc.macros pattern is missing
Error compiling for board Generic STM32F1 series.
This error shows up without any other information when compilation is attempted.
I was using this library as the code I wrote needs printf for HardwareSerial support; it alone worked well at last use (sometime very early in the year) on the IDE1.8.xx.
I have not attempted to revert to an earlier version of the IDE, although I have completely uninstalled and re-installed, and tried various libraries(below).
I also get an error on the much preferred IDE2.0.1, with the following showing without fail:
Request getBoardDetails failed with message: 14 UNAVAILABLE: No connection established when trying to compile - at which point I do not expect to have to be connected!
If anyone can point me at a library that will provide the needed printf support for the STM32F103C8T6 (Blue Pill) I would be really grateful.
Fi
Libraries I have tried (as well as the "(Arduino STM32)(included in sketchbook)" option which will not support printf for HardwareSerial) :
https://raw.githubusercontent.com/stm32 ... index.json,
https://github.com/stm32duino/BoardMana ... index.json
I am getting the following error when attempting to compile for the STMicroelectronics-stm32 library on A.IDE 1.8.19:
recipe.preproc.macros pattern is missing
Error compiling for board Generic STM32F1 series.

This error shows up without any other information when compilation is attempted.
I was using this library as the code I wrote needs printf for HardwareSerial support; it alone worked well at last use (sometime very early in the year) on the IDE1.8.xx.
I have not attempted to revert to an earlier version of the IDE, although I have completely uninstalled and re-installed, and tried various libraries(below).

Request getBoardDetails failed with message: 14 UNAVAILABLE: No connection established when trying to compile - at which point I do not expect to have to be connected!
If anyone can point me at a library that will provide the needed printf support for the STM32F103C8T6 (Blue Pill) I would be really grateful.
Fi
Libraries I have tried (as well as the "(Arduino STM32)(included in sketchbook)" option which will not support printf for HardwareSerial) :
https://raw.githubusercontent.com/stm32 ... index.json,
https://github.com/stm32duino/BoardMana ... index.json