It is currently 23 Feb 2019 13:57

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 
Offline

Joined: 16 Jan 2019 10:57
Posts: 1
Hi,

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 !! =)


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

Joined: 18 Dec 2018 10:30
Posts: 129
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).
Attachment:
Screenshot_1.png
Screenshot_1.png [ 7.71 KiB | Viewed 92 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ć


Top
 Profile  
 
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 1 guest


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: