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
mikromedia 7 for STM32F4 sample code has too many errors
mikromedia 7 for STM32F4 sample code has too many errors
- Attachments
-
- 1310_mikromedia_7_for_stm32_v1.0.0.0.zip
- (7.67 MiB) Downloaded 119 times
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: mikromedia 7 for STM32F4 sample code has too many errors
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
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
Re: mikromedia 7 for STM32F4 sample code has too many errors
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
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
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: mikromedia 7 for STM32F4 sample code has too many errors
Hi XLupo,
Please, send me a screenshot of the errors which you got?
Kind regards,
Jovana
Please, send me a screenshot of the errors which you got?
Kind regards,
Jovana
Re: mikromedia 7 for STM32F4 sample code has too many errors
Hi Jovana,
Please see attached error codes screen captures.
Thanks
XLupo
Please see attached error codes screen captures.
Thanks
XLupo
- Attachments
-
- ERRORS.docx
- (831.11 KiB) Downloaded 121 times
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: mikromedia 7 for STM32F4 sample code has too many errors
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
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
Re: mikromedia 7 for STM32F4 sample code has too many errors
Hi Jovana,
Thanks again I have set all the paths to the packages, but now getting a different error please see attached. Thanks
XLupo
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 (556.27 KiB) Viewed 3929 times
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: mikromedia 7 for STM32F4 sample code has too many errors
Hi XLupo,
You need include Network Wifi and Network Ethernet library. Please, see the picture from the attachment.
Kind regards,
Jovana
You need include Network Wifi and Network Ethernet library. Please, see the picture from the attachment.
Kind regards,
Jovana
- Attachments
-
- Untitled.png (7.68 KiB) Viewed 3905 times
Re: mikromedia 7 for STM32F4 sample code has too many errors
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? Please give step to step instructions . I'm out of Ideas.
Thanks
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? Please give step to step instructions . I'm out of Ideas.
Thanks
- Attachments
-
- Illegal pointer conversion_error.jpg (470.06 KiB) Viewed 3623 times
Re: mikromedia 7 for STM32F4 sample code has too many errors
Please
see these errors as well I have included the paths as you advised and still getting errors on these devices?
Xlupo
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 (638.91 KiB) Viewed 3623 times
- filip.grujcic
- Posts: 822
- Joined: 14 May 2018 08:34
Re: mikromedia 7 for STM32F4 sample code has too many errors
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,
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