Library for All MCUs

Discuss with MikroElektronika software developers about current library development.
Post Reply
Author
Message
borris
Posts: 219
Joined: 22 Aug 2011 07:13

Library for All MCUs

#1 Post by borris » 23 Dec 2012 06:24

If I wanted to develop a library for multiple MCUs in both model and make. Where can I find the definitions for make : AVR, PIC, ARM?

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: Library for All MCUs

#2 Post by dejan.odabasic » 24 Dec 2012 17:36

Hello,

I suggest that you take a look at our free software Package Manager:
http://www.mikroe.com/package-manager/

It enables you to easily integrate your libraries into all MikroElektronika Compilers.

Best regards.

borris
Posts: 219
Joined: 22 Aug 2011 07:13

Re: Library for All MCUs

#3 Post by borris » 24 Dec 2012 17:50

What I need is some set of defines so that I can configure pins and registers based on mcu selection:

#ifdef atmega32
Pin this
Port that
#endif


I am assuming you have something pre defined in MikroC that would allow for this but I don't seem to find a list of such definitions.

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: Library for All MCUs

#4 Post by dejan.odabasic » 25 Dec 2012 14:17

Hello,

Please take a look at Predefined Globals and Constants section of compiler help file.

Best regards.

Post Reply

Return to “Library Development Discussion”