Dear friends, I want to make two different library ( .mcl file) for two different MCUs by giving a same library Alias and want to put in to a same Package (as libraries provided by MikroC).
For example I want to put two files "Lib_ADC_1.mcl" and "Lib_ADC_2.mcl" for P12f683 and P18F2550 respectively with a same library alias "ADC" under the package named " My_ custom" and want to install in to MikroC IDE with the tool Package manager for displaying same alias name "ADC" in the Library manager window under the package node "My_ custom" in MikroC IDE for the both MCUs .
But problem aeries is that the Package Manager do not allow to include both ".mcl" file in to a single library. If I will make two different library for both ".mcl" file in the same package, the Package Manager do not allow to give same alias name for both library.
If I will make two different library by giving two different alias in the same package for the different selected MCUs and install in to MikroC IDE the Library Alias chances at the package " My_ custom" sub node in the Library manager window, when I change the MCU in Project Settings window. Then how it is possible that these two libraries have the same Library Alias (ADC).
If it is not possible, how all libraries provided by MikroC with same alias for different MCUs.
You can create in Library Manager one library for more MCUs: when you create new library in "NewLib" -> Device, you should check for which MCU this library will be supported.
Like you already mentioned, you cannot have two libraries (.mcl) files with the same name. Our libraries which can be found on LibStock Website are "generic" and can be used for example for more PIC18 MCUs. If you take a look at for example Network WiFi Library you can see 3 different libraries: - Net_Wireless_MCW1001_16 (for PIC16) - Net_Wireless_MCW1001_16E (for Enhanced PIC16) - Net_Wireless_MCW1001_18 (for PIC18)
Users browsing this forum: No registered users and 2 guests
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 post attachments in this forum