CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

mikroe library

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
aaronik19



Joined: 25 Apr 2011
Posts: 296

View user's profile Send private message

mikroe library
PostPosted: Sun Sep 16, 2018 1:25 am     Reply with quote

Dear Friends,

is it possible to use mikroe device library to CCS?

thanks
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Sun Sep 16, 2018 3:19 am     Reply with quote

If you have this compiled, with an entry address, a function can be called by the CCS code, but if you have it as an object file, no.
temtronic



Joined: 01 Jul 2010
Posts: 9096
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Sep 16, 2018 4:47 am     Reply with quote

Assuming you have the source, you could recode into CCS C. I did that for their PS2 KBD a very long time ago as CCS didn't have that 'driver'.
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Sun Sep 16, 2018 5:14 am     Reply with quote

Yes. I assumed from the word 'library' that it was a pre-compiled object library. If there is code, then translate. Smile
temtronic



Joined: 01 Jul 2010
Posts: 9096
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Sep 16, 2018 5:37 am     Reply with quote

update... a quick look on the Web and the sources (C code) for the libraries are NOT available, so code a small MikRoe C program with the desired library, compile, then dump the listing and 'decompile' or reverse engineer. You'll get real good and understanding PIC ASM this way !
What I don't know is if a 'library' contains say 4 functions, if ALL of the functions are compiled or only the one you call. That's your homework.

Jay
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group