Dear All,

thank you for your comments. You were all right: I did not pass the STM8
lib as an argument and it wasn't in the current folder. I tried to link
against the lib which came with the SDCC 3.4.0 (win32) install but it did
not work (same errors). I managed to compile the two STM8 libraries
(discovery + periph-driver; again slightly adapting the src), put them into
one binary and were able to compile my main.c without warnings. I think
this did the trick. I did not have the time to test this out but I hope I
will in the future. Thank you again for answering.

FYI: I could not find any information about Storage Class Language
Extensions for the STM8 in the doc so I removed the "@near" / "@far"
extensions used by the COSMIC compiler (instead of replacing them with
SDCC's version). I am not sure whether the code will still work.

@Maarten: I am not sure where the STM8 discovery + periph-driver src comes
from. I did not create the project initially.

@Philip: Thank you for clarifying about ihx format + MCU damaging.

Best,
Rolf
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to