How do you open and read *.mpkg files in Window 10 ?

Beta Testing discussion on mikroC PRO for PIC.
Post Reply
Author
Message
pic32boy
Posts: 11
Joined: 06 Feb 2019 03:02

How do you open and read *.mpkg files in Window 10 ?

#1 Post by pic32boy » 06 Feb 2019 04:11

This is my first post for this Forum.

I bought MP3 Click of MikroElektronika and I downloaded 1522851764_mp3_click_mikroc_pic32.mpkg as sample software. I tried to open and read this file but cannot. I use Windows 10 as PC OS. For the first time, I encounterd "mpkg" as the file extension. It seems that "mpkg" file comes from Mac OS.

How do you open and read *.mpkg files in Windows 10 ?

or

Can I download 1522851764_mp3_click_mikroc_pic32.zip from somewhere ?


Any advice make me pleaed

diode_blade
Posts: 172
Joined: 24 Aug 2014 17:55
Location: Sheffield

Re: How do you open and read *.mpkg files in Window 10 ?

#2 Post by diode_blade » 06 Feb 2019 10:31

Download and install this


https://www.mikroe.com/package-manager

You will then be able to open and install the mp3 click library into the Mikroc C IDE, you can also make your own mpkg packages for a piece of hardware that interfaces with a MCU and share it with others.
Dave
"When the bugs strike it's no good bashing your head against a brick wall, you might damage the wall"

pic32boy
Posts: 11
Joined: 06 Feb 2019 03:02

Re: How do you open and read *.mpkg files in Window 10 ?

#3 Post by pic32boy » 07 Feb 2019 09:23

Dear Dave

Thank you very much for quick and excellent advice. I could open 1522851764_mp3_click_mikroc_pic32.mpkg and MP3.mcp32 project. I bought and installed MicroC Pro for PIC 32, though I use Microchip Harmony and X32 compiler.
I have one question.
It seems that in sourc files there are some functions, whose declaration are not shown by the short cut menu called "find declaration". Please see attched Screen shot. These functions are , for example, SPI3_Init_Advanced(), TFT_Fill_Screen(),Delay_ms() etc., which are maybe declared outside MP3.mcp32 project. How do you find the declaration of these functions ?

Any advice make me pleaed.

Best regards

pic32boy
Attachments
find declaration.jpg
find declaration.jpg (149.15 KiB) Viewed 7220 times

diode_blade
Posts: 172
Joined: 24 Aug 2014 17:55
Location: Sheffield

Re: How do you open and read *.mpkg files in Window 10 ?

#4 Post by diode_blade » 07 Feb 2019 13:07

Someone will correct me if i'm wrong...the SPI3_Init_Advanced function is part of the Mikro C inbuilt library so won't show in the C file but you should find it in the listing if you open up the list file in the IDE, I could be wrong.
Dave
"When the bugs strike it's no good bashing your head against a brick wall, you might damage the wall"

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: How do you open and read *.mpkg files in Window 10 ?

#5 Post by janni » 07 Feb 2019 16:14

pic32boy wrote:It seems that in sourc files there are some functions, whose declaration are not shown by the short cut menu called "find declaration". Please see attched Screen shot. These functions are , for example, SPI3_Init_Advanced(), TFT_Fill_Screen(),Delay_ms() etc., which are maybe declared outside MP3.mcp32 project. How do you find the declaration of these functions ?
"find declaration" works only on source files and mE libraries usually do not have sources available. Delay_ms(), on the other hand, is an inline function added to final code in assembly so there's no C source.

pic32boy
Posts: 11
Joined: 06 Feb 2019 03:02

Re: How do you open and read *.mpkg files in Window 10 ?

#6 Post by pic32boy » 08 Feb 2019 07:42

Dear diode_blade and janni

Thank you very much for advice.
I will study Micro C a little bit more.

Best regards

pic32boy

Post Reply

Return to “mikroC PRO for PIC Beta Testing”