__HAL_AFIO_REMAP_SWJ_ENABLE(); missing definition for L1 and F3
Hoel opened this issue · comments
Hoel commented
Apparently the definition for __HAL_AFIO_REMAP_SWJ_ENABLE is missing for L1 and F3, i added some boards based on L151C8 and F303CC and as soon as i compile it throws this error, when i compile for F103 no problem because for F1 the definition is in PinAF_STM32F1.h, also the USB VCP callbacks were missing or F3 (i added them manually from a cubemx project)
...STM32/cores/arduino/main.cpp:55:37: error: '__HAL_AFIO_REMAP_SWJ_ENABLE' was not declared in this scope __HAL_AFIO_REMAP_SWJ_ENABLE();