It is currently 23 Apr 2019 21:09

All times are UTC + 1 hour

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: MikroSDk Library
PostPosted: 16 Jan 2019 11:42 

Joined: 16 Jan 2019 10:57
Posts: 4

I have the MikroMedia + for PIC32MX7 with the shield for the MikroBus socket.

I would use the library MikroSDK, but when I build, only the function for GPIO work, but UART, SPI etc no.
I have see in the help file that compilation of the module can be switched using ENABLE_UART macro, but when I define it, it still doesn't work.

I don't understand what I need to do.

I'm a bit newbie in this compiler and PIC32 programming, and when I have to configure something, I'm lost. If somebody can save me !! =)

Screen_mikrosdk.png [ 234.81 KiB | Viewed 140 times ]
 Post subject: Re: MikroSDk Library
PostPosted: 17 Jan 2019 10:27 
mikroElektronika team
User avatar

Joined: 18 Dec 2018 10:30
Posts: 223
Hi Quentin,

Welcome to the mikroE forum.

You should add these lines to the Project Level Defines file.
To do that properly, please follow these steps:
-Right click on the Project Level Defines from the Project Manager and click on Add New File
-Paste there these two lines as shown in the figure below.
-Include UART and mikroSDK library from the Library Manager
-Do Rebuild All Sources (Alt+F9).
Screenshot_1.png [ 7.71 KiB | Viewed 125 times ]

Also, I do not recommend including all libraries from the Library Manager at the same time.
Some libraries contain the same functions and including them together will cause errors in project compiling.

Kind regards,

Stefan Filipović

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: No registered users and 3 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

Search for:
Jump to: