You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's quite easy to fix this, you just need to change 2 lines in ./Libraries/STM8_StdPeriph_Driver/Makefile like this:
Line 25: from AR = sdcc to AR = sdar
and line 84 from: $(AR) -a $(TARGET) $^ to: $(AR) -rc $(TARGET) $^
I know how to change it to call sdar and that was my workaround, but you missed my last sentence where I said it should be conditional on the SDCC version so that it just works no matter which SDCC version is used.
Instead of
sdcclib -a archive files
it should now be
sdar -rc archive files
But I don't know how to make the Makefile rules conditional on SDCC version.
The text was updated successfully, but these errors were encountered: