mikromedia 7 for STM32F4 sample code has too many errors

Post Reply
Author
Message
XLupo
Posts: 106
Joined: 24 Jun 2011 13:09

mikromedia 7 for STM32F4 sample code has too many errors

#1 Post by XLupo » 11 Dec 2019 20:40

Hi, I recently purchased a mikromedia 7 for STM32F4 and i'm trying to compile the sample code that is currently on the board. The name of the code is Mikromedia_7 and it seems not to compile. I attached it. It has too many errors. Please can you provide a working copy or direct me in how to make it compile. I'm not sure if all the libraries are checked or need to down load other. Either ways the sample code was downloaded from the website. thanks

XLupo
Attachments
1310_mikromedia_7_for_stm32_v1.0.0.0.zip
(7.67 MiB) Downloaded 119 times

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: mikromedia 7 for STM32F4 sample code has too many errors

#2 Post by jovana.medakovic » 24 Dec 2019 17:12

Hello,

Please find the example in the attachment.

Make sure to install Net WiFi, USB Host and Net Ethernet libraries from LibStock and include search paths for these libraries.

Kind regards,
Jovana
Attachments
mikromedia 7 for STM32 Examples.zip
(11.26 MiB) Downloaded 145 times

XLupo
Posts: 106
Joined: 24 Jun 2011 13:09

Re: mikromedia 7 for STM32F4 sample code has too many errors

#3 Post by XLupo » 24 Dec 2019 21:14

Hi Jovana,

Thank you again for the post, however I still can't compile this without any errors. I'm using the latest mikroe pro for arm compiler from your website and it is properly licensed,as i have been using for quite sometime with no problem. I have no problem compiling any other example and uploading it as well . I have installed the necessary libraries as you have stated and checked them as needed. the libraries are installed under the library section of the compiler under mikroSDK Libraries /mikroBUS BDF API. Do I still need to include the paths as you have suggested? I never had to do that before since the libraries are listed in the library section of the compiler. As I stated I have checked the check boxes necessary but I still get errors specically for those libraries components. Please provide any further assistance / instructions since I'm stuck still with this. Thank you very much! Happy holidays

XLupo

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: mikromedia 7 for STM32F4 sample code has too many errors

#4 Post by jovana.medakovic » 25 Dec 2019 08:58

Hi XLupo,

Please, send me a screenshot of the errors which you got?

Kind regards,
Jovana

XLupo
Posts: 106
Joined: 24 Jun 2011 13:09

Re: mikromedia 7 for STM32F4 sample code has too many errors

#5 Post by XLupo » 25 Dec 2019 14:11

Hi Jovana,

Please see attached error codes screen captures.
Thanks

XLupo
Attachments
ERRORS.docx
(831.11 KiB) Downloaded 121 times

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: mikromedia 7 for STM32F4 sample code has too many errors

#6 Post by jovana.medakovic » 25 Dec 2019 14:23

Hi XLupo,

You need to include search paths for these libraries.
Go to Project -> Edit Search Path and add paths:
\Mikroelektronika\mikroC PRO for ARM\Packages\USB_Host_ARM\Uses
\Mikroelektronika\mikroC PRO for ARM\Packages\Network_WiFi_ARM\Uses
\Mikroelektronika\mikroC PRO for ARM\Packages\Network_Ethernet_ARM\Uses

Kind regards,
Jovana

gzoino
Posts: 141
Joined: 05 Sep 2009 15:48

Re: mikromedia 7 for STM32F4 sample code has too many errors

#7 Post by gzoino » 26 Dec 2019 19:10

Hi Jovana,

Thanks again I have set all the paths to the packages, but now getting a different error please see attached. Thanks

XLupo
Attachments
error.jpg
error.jpg (556.27 KiB) Viewed 3929 times

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: mikromedia 7 for STM32F4 sample code has too many errors

#8 Post by jovana.medakovic » 27 Dec 2019 09:30

Hi XLupo,

You need include Network Wifi and Network Ethernet library. Please, see the picture from the attachment.

Kind regards,
Jovana
Attachments
Untitled.png
Untitled.png (7.68 KiB) Viewed 3905 times

XLupo
Posts: 106
Joined: 24 Jun 2011 13:09

Re: mikromedia 7 for STM32F4 sample code has too many errors

#9 Post by XLupo » 20 Jan 2020 18:14

Hi Jovana,

Sorry I've been trying to compile this example that you also posted here but can't seem to compile this without 10 thousand errors every time. Please see the attached photo with one of many other error. I have been doing everything right and still errors all the time. Has anybody compiled this without errors? :evil: Please give step to step instructions . I'm out of Ideas.

Thanks
Attachments
Illegal pointer conversion_error.jpg
Illegal pointer conversion_error.jpg (470.06 KiB) Viewed 3623 times

XLupo
Posts: 106
Joined: 24 Jun 2011 13:09

Re: mikromedia 7 for STM32F4 sample code has too many errors

#10 Post by XLupo » 20 Jan 2020 18:21

Please

see these errors as well I have included the paths as you advised and still getting errors on these devices?

Xlupo
Attachments
more errors.jpg
more errors.jpg (638.91 KiB) Viewed 3623 times

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: mikromedia 7 for STM32F4 sample code has too many errors

#11 Post by filip.grujcic » 21 Jan 2020 14:45

Hello,

In order to fix the "illegal pointer conversion" error from your first screenshot, go to the following location:
\Mikroelektronika\mikroC PRO for ARM\Packages\FAT32 Library\Uses
and copy the file called __Lib_FAT32.h and paste it to the folder where your project file is (overwrite the existing file).

As for the second error you didn't add the correct paths. Simply remove them from the list, rebuild the project (Alt + F9) and then add them one by one as explained earlier.

Regards,
Filip Grujcic

Post Reply

Return to “Mikromedia”